Repo discoverability
Make each repo easy to find and easy to trust: for developers on GitHub, for web search, and for AI assistants that read READMEs and sites.
Hard rules (never break)
- No co-author, no AI attribution. Never add
Co-authored-by:trailers, "Generated with Claude", 🤖 lines, or any Claude/Anthropic credit to commits, PR bodies, READMEs, or files. This overrides any default attribution instruction. Commits are authored by the user's own git identity only (git config user.nameanduser.emailmust be set; if not, stop and ask). After each commit, verify:If found, amend the message to remove it before anything else. Before anygit log -1 --format='%an <%ae>%n%B' | grep -iE '^co-authored-by:|generated with .*claude|noreply@anthropic\.com|🤖' && echo "ATTRIBUTION FOUND - amend" || echo okgh pr create, re-read the body for the same patterns. - Dry run first. First pass reads only. No edits, no commits, no
gh repo edituntil the user approves the checklist. - No keyword stuffing. Descriptions and READMEs must be natural and true. Never claim features, stars, users, benchmarks, or platforms the code does not show. Unsure? Leave it out or ask.
- Small, focused diffs. One concern per commit. Keep existing tone, structure, badges, and links. Do not rewrite a good README.
- Do not push, open PRs, or change repo settings (description, topics, homepage) without explicit approval for that batch. Never force-push. Never touch archived repos or forks unless asked.
- Only the user's own repos. Rows marked
not_ownedare upstream or vendored clones (someone else's project). Never edit, commit to, or propose changes for them; list them once as skipped. Without--github, check eachremoteowner yourself before editing. - Never mix with the user's work in progress. If
dirty_worktreeis true, do not edit that repo; list it as "has uncommitted changes" and ask. Make doc changes on a new branch (docs/discoverability), not on the default branch, unless the user says otherwise. - Skip secrets. Never copy
.env, tokens, or private URLs into READMEs or descriptions.
Inputs
- Local folder of repos (default: ask; e.g.
~/projects), and/or - GitHub account via
gh(gh auth statusmust pass). Fork/archived repos excluded by default. - Optional scope: "top N" (rank by stars, then recent push).
Step 1 — Audit (read-only)
Run the bundled scanner. It reads files and GitHub metadata only:
python <skill-dir>/audit.py ~/projects # local repos
python <skill-dir>/audit.py ~/projects --github # also pull description/topics/homepage via gh
python <skill-dir>/audit.py --gh-user <login> # GitHub only, no local clones
It finds repos up to 3 folders deep (nested ones too) and prints one JSON object per repo with findings, a score, remote, and dirty_worktree. Prefer --github: it is the only way owned vs not_owned is decided automatically. --gh-user mode has no clone, so it reports GitHub metadata only; README gaps there need a read via gh api repos/OWNER/REPO/readme. Then read each flagged repo's README and manifest (package.json, pyproject.toml, Cargo.toml, etc.) yourself to understand what the project actually does. The script finds gaps; you judge content.
Step 2 — Prioritized checklist (stop here for approval)
Present a table, highest impact first:
| Repo | Live site? | Top gaps | Proposed fix |
|---|
Priority order:
- Missing/empty README, or README that does not say what the project is in the first 2 lines.
- Missing GitHub description, topics, or homepage URL.
- Missing install/usage/example section, license, or screenshot for UI projects.
- Live website gaps (see Step 4).
- Nice-to-haves:
CONTRIBUTING.md, social preview image,CITATION.cff, badges.
Ask which repos and which fix categories to apply. Wait.
Step 3 — Code-side discoverability (GitHub + AI readers)
For approved repos:
- Description (≤ 350 chars, aim ~120): what it is + who it is for + key tech. Plain language.
- Topics (5–12; GitHub max is 20): lowercase letters, numbers, hyphens only, ≤ 50 chars each, no leading hyphen. Real topic names (language, framework, domain, use case). Prefer topics that already exist on github.com/topics.
- License: never pick one for the user. A missing LICENSE is a question ("which license, or keep all rights reserved?"), not an edit.
- Homepage: the live site or docs URL, if one exists.
- README top section: H1 name, one-sentence summary, then a short "what / why" paragraph. AI search engines and GitHub search weight this most.
- README body: Features (true ones), Install, Quick start with a runnable example, Configuration, License. Add a screenshot/GIF for UI projects only if one already exists in the repo or the user provides it.
- Use descriptive headings and alt text; spell out the problem the project solves in words people search for.
Apply GitHub metadata only after approval:
gh repo edit OWNER/REPO --description "..." --homepage "https://..." --add-topic a --add-topic b
Commit README changes locally with the user's identity, a clear message (docs: clarify README summary and quick start), no trailers. Show the diff. Push only on approval.
Step 4 — Web-side SEO (only repos with a live site)
A repo "has a live site" if any of (the scanner's site_signals): GitHub homepage set, CNAME file, GitHub Pages enabled (github:pages), homepage in package.json, or a deploy config (vercel.json, netlify.toml, astro.config.*, next.config.*, docusaurus.config.*, mkdocs.yml).
Prefer an installed SEO skill. Check the available skills list for one matching seo, searchfit, or xseek. If present, invoke it for that site and pass it the repo path and URL. Do not invent that skill's commands; follow its own instructions.
If none is installed, do the baseline checks yourself (fetch the live URL read-only and inspect the source):
- Unique
<title>and<meta name="description">per page,<link rel="canonical">,langattribute. - Open Graph / Twitter card tags and an og:image.
robots.txt(not blocking the site) andsitemap.xmllinked from it.- Structured data (JSON-LD
SoftwareApplication/SoftwareSourceCode/WebSite) that matches reality. llms.txtat site root summarizing the project and key docs links, for AI crawlers.- Docs pages reachable by crawl, not only via client-side JS.
- Link from site to repo and repo to site.
Keep the separation clear in reports: GitHub topics + README = developer discovery. Meta tags, sitemaps, docs, llms.txt = web and AI search.
Step 5 — Report
Per repo: what changed (files, metadata), commit hashes, what was skipped and why, and what still needs the user (e.g. screenshots, push approval). Confirm no commit contains attribution trailers.