Installs into .claude/skills of the current project.
Are you the author of Ci Gate?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/haipingshi-ci-gate)
---
name: ci-gate
description: Run the project's available checks (tests, lint, build) before stopping, handing off, or committing finished work.
---
# ci-gate
Use before closeout when a repository has tests, build scripts, CodeRail scripts, or CI workflow files. It includes TDD Gate when available.
## Action
Run:
```bash
python .coderail/coderail.py ci
```
or:
```bash
npm run ci
```
## Rules
- Run CI/CD checks directly instead of asking the user to run them.
- Stop only when the failure needs a decision, forbidden scope, unavailable dependency, or repeated unclear root cause.
- If CI fails with a clear local fix inside S, fix it and rerun.
- Record failure state in closeout only after the agent has exhausted non-decision fixes.