build-check
Skill65 starsChanged 2 months agoApache-2.0View on GitHub
Run the project's objective quality gates — typecheck, lint, tests, and a production build, whatever this project actually uses — then diagnose any failure down to the file and root cause. Use before committing, opening a PR, or declaring work done, and whenever asked whether the code compiles, typechecks, lints, tests, or builds.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- mrieck/snipkiwi-design-extracttheir own version, first seen Oct 11, 2026
- EmeaAppGbb/spec2cloudtheir own version, first seen Oct 9, 2026
- crgarcia12/Liliputtheir own version, first seen Jul 14, 2026
- TheophilusChinomona/idevtheir own version, first seen Jun 12, 2026
- IjonTychy/brain-iostheir own version, first seen Mar 28, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- EmeaAppGbb/spec2cloud★ 100same name
- crgarcia12/Liliput★ 4same name
- IjonTychy/brain-ios★ 1same name
- mrieck/snipkiwi-design-extract★ 1same name
- TheophilusChinomona/idev★ 0same 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 repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- a11y-auditSkill
- ai-adversarial-loopSkill
- ai-agents-mdSkill
- ai-architectSkill
- ai-audit-codeSkill
- ai-audit-designSkill
- ai-audit-docsSkill
- ai-brainstormSkill
- ai-codegraphSkill
- ai-config-to-projectSkill
- ai-debugSkill
- ai-design-md-plannerSkill
- ai-exploreSkill
- ai-git-cleanupSkill
- ai-issue-reportSkill
- ai-noteSkill
- ai-orchestratorSkill
- ai-prototypeSkill
- ai-prSkill
- ai-read-docsSkill
- ai-researchSkill
- ai-review-uiSkill
- ai-securitySkill
- ai-stress-testSkill
- ai-test-plannerSkill
- ai-triageSkill
- ai-verifySkill
- ai-visual-recapSkill
- ai-writeSkill
- ai-writing-behaviorSkill
- code-auditSkill
- design-checkSkill
- feature-verifySkill
- full-reviewSkill
- perf-auditSkill
- review-routerSkill
- second-opinionSkill
- security-auditSkill
- spec-extractSkill
- verify-featureSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read .claude/review/CONVENTIONS.md first — §1 for stack detection, §3 for scope (you need it to tell a pre-existing failure from one this …
- Distinctive: line 23
Do not run commands from memory or from a template.
- Distinctive: line 26
Read the project's own definition of its gates, in this order:
- Very specific: line 39
Use the project's package manager, detected from its lockfile — pnpm-lock.yaml → pnpm, yarn.lock → yarn, bun.lockb → bun, otherwise npm.
- Distinctive: line 58
Do not stop at the first failure: Run every gate that can still run and report the complete picture — one root cause often lights up …
- Very specific: line 73
Run from the project root.
- Very specific: line 131
If everything passes, say so in two lines and stop.
- Distinctive: line 144
Read by: the human, full-review Dies: after the gate sequence Next: ai-verify
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Build check
The machine's verdict, not an opinion. Everything here either passes or fails, and a failure is never a judgment call. Run this before the reasoning-based reviews — reviewing code that does not compile wastes effort on a file that is about to change.
Fast, deterministic, and the highest-value-per-token check in the set.
Read .claude/review/CONVENTIONS.md first — §1 for stack detection, §3 for scope
(you need it to tell a pre-existing failure from one this change introduced), and
§6 for where the report goes. Your report format differs from the other skills'
by design: this one reports gates and failures, not severity-ranked findings.
1. Discover the gates — never assume them
Do not run commands from memory or from a template. A guessed command that does not exist wastes a minute and produces a scary error that is not a finding.
Read the project's own definition of its gates, in this order:
CLAUDE.md/AGENTS.md— if the commands are written down, use exactly those and skip the rest of this discovery.- The manifest's script block —
package.jsonscripts,Makefiletargets,pyproject.toml[tool.*]sections,Cargo.toml,composer.jsonscripts,Taskfile.yml,justfile. - CI config —
.github/workflows/*.yml,.gitlab-ci.yml,Jenkinsfile. This is the most reliable source there is: it is the exact set of gates the project already enforces on every push, in the order it enforces them. - Config files as evidence a tool is configured — a
tsconfig.json, an eslint config,.ruff.toml,.golangci.yml,pytest.ini.
Use the project's package manager, detected from its lockfile — pnpm-lock.yaml
→ pnpm, yarn.lock → yarn, bun.lockb → bun, otherwise npm. Running
npm in a pnpm workspace produces failures that belong to you, not the code.
Typical shapes, as a reference for what to look for — not a list to run:
| Ecosystem | Types | Lint | Test | Build |
| Node/TS | tsc --noEmit | eslint . / biome check | vitest run, jest | framework build script |
| Python | mypy, pyright | ruff check | pytest | python -m build |
| Go | go vet | golangci-lint run | go test ./... | go build ./... |
| Rust | — | cargo clippy | cargo test | cargo build --release |
| JVM | compiler | spotbugs, checkstyle | mvn test | mvn package |
2. Run them
From the project root, in order: types → lint → tests → build. Cheapest and most localizing first.
Do not stop at the first failure. Run every gate that can still run and report the complete picture — one root cause often lights up several gates, and the user wants the whole list, not the first symptom.
Rules that keep the result honest:
- A gate the project does not have is not a failure. Report it as
not configuredand move on. Never invent one, and never run a tool the project has not set up — a first-evermypyrun on an untyped codebase emits hundreds of errors that are noise, not findings. - If dependencies are not installed, install them with the detected package manager's clean-install command first, and say that you did.
- Allow real time for the build gate. It is usually the slowest and the most valuable, because it catches whole-program errors — bad exports, boundary violations, missing assets — that a typechecker alone will not.
- Run from the project root; do not
cdelsewhere mid-command. In a monorepo, run from the affected package's root and say which package.
3. Diagnose, don't paste
A wall of compiler output is not a report. For each distinct failure:
- Read the file at the reported line. The error message names a symptom; the cause is often a few lines up, or in an imported type.
- Group by root cause. Twenty errors from one bad type export are one finding, not twenty. Say which errors collapse into it.
- Distinguish an error introduced by the current change from a pre-existing
one — check
git diffto see if the line is new. Pre-existing failures on an untouched file are still reported, but flagged as pre-existing so the user knows the change did not cause them. - Give the fix, specifically. Not "fix the type error" — name the change.
For any failure that mentions a framework or library API, apply the
installed-version rule from .claude/review/CONVENTIONS.md before
diagnosing. The fix for an error in the installed version is frequently not the
fix you remember from an older one, and a confidently wrong fix here costs more
than no fix at all.
4. Report
Short and factual. Write to .claude/reviews/build-check-<stamp>.md and print
the path.
# Build check
**Verdict:** PASS | FAIL
**Stack:** <language, framework + version, package manager>
| Gate | Command | Result | Detail |
|------|---------|--------|--------|
| types | `<cmd>` | ✅ PASS | 0 errors |
| lint | `<cmd>` | ❌ FAIL | 3 errors, 1 warning |
| tests | — | — | not configured |
| build | `<cmd>` | ⏭️ NOT RUN | blocked by lint failure |
## Failures
### `<lint cmd>` — 3 errors, all from one cause
- **Where:** `src/components/Gallery.tsx:12`
- **Cause:** <the actual root cause; the rule fires once per usage at lines 12, 19, 24>
- **Fix:** <the specific change>
- **Introduced by:** this change | pre-existingRules: any gate failing → FAIL. If you skip a gate because an earlier one
blocked it, mark it NOT RUN with the reason — never leave it implied. A gate
the project does not have is not configured, which is neither a pass nor a
fail.
Record the exact commands you ran. It is what makes the result reproducible, and it lets the user correct your discovery if you picked the wrong ones.
If everything passes, say so in two lines and stop. A green build does not need
commentary, and this skill does not offer code opinions — that is code-audit.
5. Fixing
This skill diagnoses. Apply fixes only if the user asks — then re-run the full gate sequence afterward and report the new state, since fixes routinely surface the next error behind the one they cleared.
Lifecycle
Lane: standard, full Writes: the build and quality-gate report Read by: the human, full-review Dies: after the gate sequence Next: ai-verify
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.

