AgentSkillsCN

ci-gate

使用 run_ci_checks.py 运行本地 CI 门禁,并报告可操作的失败情况。适用于代码风格检查/测试就绪性、提交前检查、CI 一致性检查,以及 PR 强化。

SKILL.md
--- frontmatter
name: ci-gate
description: Run the local CI gate using run_ci_checks.py and report actionable failures. Use for lint/test readiness, pre-commit checks, CI parity checks, and PR hardening.
  1. Detect scope from staged changes by default.
  2. Run python run_ci_checks.py --fix --full.
  3. If failures remain, summarize failing checks and minimal fixes required.
  4. Re-run the same command and report final status.
  5. Report commands, pass/fail evidence, and unresolved risks.