Agent Skills

Repo Metadata Health — description, topics, Pages, community health

Use this skill to audit and update a repository’s metadata and community health: description, topics, GitHub Pages link, homepage in About, and the Community Standards percentage. Keeps the GitHub page accurate after major changes.

When to use

Do NOT use

Files

Description and topics

Set via gh api:

# Description (UI limit ~350 chars) — list ALL key components
gh repo edit --description "<full description with keywords>"

# Topics (array via -f 'names[]=...') — PUT only, full list replacement
gh api -X PUT repos/<owner>/<repo>/topics \
  -f 'names[]=python' -f 'names[]=markdown' -f 'names[]=documentation' \
  -f 'names[]=agents' -f 'names[]=skills' -f 'names[]=opencode'

Topic rules:

GitHub Pages

If Pages is enabled (gh api repos/<owner>/<repo>/pages):

Community health audit

The 16-point checklist (files → metadata → community health → releases → final) with check commands: references/community-checklist.md.

Automated run:

python3 scripts/validate_repo.py            # auto-detect from git remote
python3 scripts/validate_repo.py owner/repo # explicit repository

The canonical baseline is the GitHub Community Profile API (GET /repos/{owner}/{repo}/community/profile, metric health_percentage; reference repo github/docs = 100%). See references/community-checklist.md for the full file checklist and the canonical analogues (org-level default health files, gh CLI, GitHub REST API endpoints).

Anti-patterns

Boundaries

Evidence and completion gate

Run the documented command against the user’s actual input. Report the command, exit status, files changed or produced, and relevant stdout/stderr. Separate blocked or pre-existing failures from failures introduced by the current work. Do not call the result complete when the script was only described or when an artifact was not reopened and checked.