github-repo-audit
Installation
SKILL.md
github-repo-audit
运行只读审计脚本,对单个仓库或整个 owner 的非 fork 仓库输出分级问题清单,并按两个范本给出修复建议。
步骤
1. 确认凭据
运行 gh auth status,确认已登录且 gh api 可用;未登录则提示 gh auth login 后停止。
2. 运行审计脚本
单个仓库:bash scripts/audit-repo.sh owner/repo [--strict];整个组织/账号:bash scripts/audit-repo.sh --org <owner>(自动遍历全部非 fork、非 archived 仓库)。
3. 解读输出表
每个仓库一张 | 检查 | 结果 | 说明 | 判定表,末行汇总 owner/repo:🔴 n 🟡 n ⚪ n。🔴 为治理缺口,🟡 为建议补齐,⚪ 为信息项。