ci-quality-gates
Skill1 starsChanged 13 days agoMITView on GitHub
Use when setting up or changing a project's CI pipeline, adding required checks or branch protection, or when a check that runs locally is missing from CI
1 other project uses a version of this.
Adopted by
Most recently taken up by
- InsightStudio-2026/agent-assetstheir own version, first seen Jul 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- InsightStudio-2026/agent-assets★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- skills/writing-skills/references/agents.mdAGENTS.md
- templates/CLAUDE.mdCLAUDE.md
- backend-servicesSkill
- brainstormingSkill
- changing-legacy-codeSkill
- choosing-a-stackSkill
- database-changesSkill
- desktop-developmentSkill
- dispatching-parallel-agentsSkill
- docsSkill
- executing-plansSkill
- finishSkill
- git-workflowSkill
- implementSkill
- kit-initSkill
- mobile-developmentSkill
- new-taskSkill
- observabilitySkill
- onboarding-existing-codebaseSkill
- payments-and-moneySkill
- pos-systemsSkill
- publishing-documentsSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-reviewSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- ui-motionSkill
- updating-dependenciesSkill
- using-skillsSkill
- verification-before-completionSkill
- verifySkill
- web-frontendSkill
- writing-documentationSkill
- writing-plansSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 52
When a verification command is added or changed, change the CI in the same commit.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CI quality gates
The agent's session is one line of defence; CI is the other. CI runs on every change, whoever made it, and doesn't depend on a hook being enabled or a model being careful. So it runs at least everything the local verification runs (verify.json or the Commands section of the agent manifest), plus what can only be checked there.
Shape
- One required aggregating job (
gate) that depends on every check, and branch protection requires only that job. Adding a check then never needs a settings change. - Checks are never disabled, skipped, marked
continue-on-error/allow_failure, or given retries in order to merge. A red check is fixed at its cause (systematic-debugging). - Actions and images are pinned (a commit SHA or a digest, not a moving tag; for an annotated tag, the peeled
^{}commit). A smoke job outside the gate whose purpose is to track the newest release may track moving tool and image versions; its actions stay pinned by SHA. Dependencies are cached by the lockfile hash. Long suites run in parallel shards. - In a monorepo, PRs run only the affected packages and main runs everything (
references/ci-templates.md, Monorepo); that counts as running the verification commands. - Each job has a timeout. Failures upload their evidence: test reports, traces, screenshots and logs.
Layers
Propose the layers that fit the stack, explain what each catches, and add each only with the user's yes. Templates and tool choices per stack are in references/ci-templates.md.
- Verification commands: tests, typecheck, lint and build, exactly as locally. Always.
- Test hygiene, on any stack (the rules are
../test-driven-development/references/test-standard.md):- the kit's
test-hygienescript, copied into the project by kit-init with the user's agreement: focused tests, skips without a linked issue, sleeps, retries in runner configs and test code, the number of tests that ran (from JUnit XML). In an existing project it checks only lines the change adds, so old debt doesn't block; the report shows how much there is; - the stack's own linters where it has them (table in
references/ci-templates.md).
- the kit's
- End-to-end:
- retries off;
- artifacts on failure;
- a JUnit report checked by
test-hygiene --junit, so a crashed shard or an empty run can't pass silently.
- Security: secret scanning (gitleaks) and a dependency audit (osv-scanner or the ecosystem's tool) on every change.
- Database (database-changes): migrations applied, and rolled back where the project supports it, on a throwaway database, plus a schema drift check.
- Contracts: regenerate OpenAPI, protobuf or generated types from the source of truth, and fail if they differ from what is committed.
- Docs: link check, when the project keeps docs, and the
working-docsjob, so task files never reach the base branch from any author. - Commits: the project's commit linter, if it uses one.
- Coverage: a report on every change, and a floor checked on a schedule. It never blocks a merge: it is a floor, not a target.
- Provider sandboxes, when the project has them: a separate job for the sandbox-tagged suite, with credentials from the CI store.
- BDD scenarios, when the project has them (
../test-driven-development/references/bdd.md).
Mobile and desktop add their own jobs: a release build, signing with secrets from the CI store, and UI tests on an emulator or simulator for critical flows (see mobile-development and desktop-development).
Branch protection
Requiring gate, requiring an up-to-date branch and blocking direct pushes to the main branch are repository settings: outward-facing. Write the exact instruction or command (gh api …, GitLab protected branches) and run it only after the user's yes.
For a team repository, offer two more, also only on the user's yes:
- One required human approval. An AI review (the kit's reviewer, a review bot) supplements it and never replaces it.
- Code owners (
CODEOWNERSon GitHub and GitLab) for the files that steer every other change: the agent manifest and the agent's config folder, path rules,.github/or the CI config,docs/decisions/, and the lint and type configs. With "require review from code owners" on, a change to the rules needs its owner's approval. Template inreferences/ci-templates.md.
Keeping it in sync
- When a verification command is added or changed, change the CI in the same commit.
- The kit-init check reports CI that doesn't run every verification command or lacks the working-docs job; fix the CI rather than dropping the check locally.
- A change to the CI itself is reviewed like code: it may not remove a check or weaken one (review checklist).
- A review comment made for the third time is a rule that isn't written down yet: propose a lint rule or a check for it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

