Update Repo Meta
Update GitHub repository metadata.
Steps
-
Read current state:
gh repo view --json name,description,homepageUrl,repositoryTopics,visibility -
Determine changes: Based on the user’s argument or conversation context, figure out what to update. Common operations:
- Topics:
gh repo edit --add-topic <topic>or--remove-topic <topic> - Description:
gh repo edit --description "<text>" - Homepage:
gh repo edit --homepage "<url>" - Visibility:
gh repo edit --visibility public|private
- Topics:
-
Apply changes: Run the appropriate
gh repo editcommands. -
Verify: Run
gh repo view --json name,description,homepageUrl,repositoryTopics,visibilityagain and show the updated state.
Rules
- Show the before/after so the user can confirm the changes.
- If no specific instructions are given, show the current metadata and ask what to change.
- Topics should be lowercase, hyphenated (e.g.,
cli-tool,go,mcp-server).