sync-github-repo-metadata
Installation
SKILL.md
Sync GitHub Repo Metadata
Use the repository and its configuration as the source of truth. Treat the current README, docs, and existing GitHub metadata as weak hints unless they still match the codebase.
Workflow
- Gather repo facts.
- Read the current remote metadata with:
gh repo view --json nameWithOwner,description,repositoryTopics,homepageUrl,url
- Infer:
- one concise repository description
- a focused topic set based on actual language, framework, domain, and tooling
- Preview the current values, proposed values, and the exact
gh repo editcommand. - Apply changes only after explicit confirmation.