repo-ci
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRepo CI
仓库CI
Set up and audit CI/CD workflows using the CLI against the standards defined in references/standards.md.
repo-ci参考references/standards.md中定义的标准,使用 CLI搭建并审核CI/CD工作流。
repo-ciModes
模式
Audit Mode
审核模式
Triggers: "check CI", "audit repo", "what's missing", "CI gaps", "CI health"
Load and follow references/audit-existing.md.
Run to score the repo across 6 areas, present a scorecard, explain gaps, and offer to fix them.
repo-ci audit --json触发词: "检查CI"、"审核仓库"、"缺失内容"、"CI漏洞"、"CI健康状况"
加载并遵循references/audit-existing.md中的指引。
运行命令,从6个维度为仓库评分,生成评分卡,说明存在的漏洞,并提供修复方案。
repo-ci audit --jsonSetup Mode
搭建模式
Triggers: "set up CI", "add workflows", "new project", "scaffold CI", "add GitHub Actions"
Load and follow references/setup-new.md.
Run first, review with the user, then generate the files and walk through the post-setup checklist.
repo-ci setup --dry-run触发词: "搭建CI"、"添加工作流"、"新项目"、"生成CI模板"、"添加GitHub Actions"
加载并遵循references/setup-new.md中的指引。
先运行命令,与用户确认预览结果后,再生成文件并引导完成搭建后的检查清单。
repo-ci setup --dry-runCLI Reference
CLI参考
| Command | Description |
|---|---|
| Audit CI health (exit 0 = pass, 2 = gaps found) |
| Structured JSON output for parsing |
| Generate workflow files from templates |
| Preview generated files without writing |
| Force Node/TypeScript preset |
| Force Python preset |
| 命令 | 描述 |
|---|---|
| 审核CI健康状况(退出码0=通过,2=发现漏洞) |
| 生成结构化JSON输出用于解析 |
| 从模板生成工作流文件 |
| 预览生成的文件但不写入 |
| 强制使用Node/TypeScript预设 |
| 强制使用Python预设 |
Supported Stacks
支持的技术栈
| Stack | Support level |
|---|---|
| Node/TypeScript | Full — CI + release + coverage + rulesets |
| Python | Basic — CI + release |
Unsupported stack? If outputs an unsupported-stack message (exit 2), follow the exit door handling in references/setup-new.md to scaffold manually and extend the skill.
repo-ci setup| 技术栈 | 支持等级 |
|---|---|
| Node/TypeScript | 完整支持 — CI + 发布 + 覆盖率 + 规则集 |
| Python | 基础支持 — CI + 发布 |
不支持的技术栈? 如果输出不支持技术栈的提示(退出码2),请遵循references/setup-new.md中的退出处理流程,手动生成模板并扩展该技能。
repo-ci setupSource of Truth
权威参考
All standards (triggers, jobs, thresholds, release steps) are documented in references/standards.md. When in doubt, refer there.
所有标准(触发词、任务、阈值、发布步骤)均记录在references/standards.md中。如有疑问,请参考该文档。