Audits all your GitHub repos for CI health, security alerts, hygiene (README, LICENSE, .gitignore), and staleness. Outputs a sorted table plus critical/warning sections with actionable next commands.
Ships in recipe-commands. Installing the plugin adds it to Claude Code.
Audit every repository I own for health, hygiene, and security problems.
Scope: my own non-fork repositories. Include private repos only if $ARGUMENTS says so; otherwise stick to public ones.
gh repo list --no-archived --source --limit 200 \
--json name,visibility,pushedAt,isFork,licenseInfo,description
For every repo, collect these four signals. Skip a check rather than guessing when the API returns 403 or 404, and say which checks were skipped.
CI status -- latest workflow run conclusion:
gh run list --repo {owner}/{repo} --limit 1 --json conclusion,name,createdAt
A repo with no workflows is "none", not "failing".
Security -- open Dependabot alerts by severity:
gh api repos/{owner}/{repo}/dependabot/alerts --jq '[.[] | select(.state=="open") | .security_advisory.severity] | group_by(.) | map({severity: .[0], count: length})'
Hygiene -- which of README.md, LICENSE, .gitignore are missing:
gh api repos/{owner}/{repo}/contents --jq '[.[].name]'
Staleness -- last push date from step 1, plus open bot PRs:
gh pr list --repo {owner}/{repo} --author "app/dependabot" --json number,title
gh pr list --repo {owner}/{repo} --author "app/renovate" --json number,title
Output one table sorted worst-first:
| Repo | Last Push | CI | Security | Missing Files | Open Bot PRs |
Then a Critical section listing, with the repo name and the exact next command to run:
Then a Warnings section for missing README or .gitignore, and repos with no push in over 6 months.
Read only. Do not open PRs, change settings, or dismiss alerts.
What the command file sets; muted values are Claude Code's defaults
sonnet7-day visitors to each command page
15 commands in this plugin
/api-genStep 1 -- Understand the RequirementsGenerate REST API endpoints with routes, validation, error handling, and tests/check-all-prsStep 1 -- Find the PRsCheck all your open PRs across GitHub repos for CI, reviews, and merge readiness/code-reviewStep 1 -- Gather the DiffReview staged git changes for bugs, security issues, and style violations/commit-messageStep 1 -- Get the Staged DiffGenerate a conventional commit message from staged changes/component-genStep 1 -- Parse the RequestGenerate React or Vue components with prop types, styling, accessibility, and tests/debugPhase 1 -- Understand the Bug ReportSystematic debugging -- reproduce, isolate, fix, verify, and add regression test/recipe-commands:audit-reposfrom recipe-commands
npx claudepluginhub sagargupta16/claude-code-recipes --plugin recipe-commands