quality-gates
Skill6 starsChanged 8 months agoMITView on GitHub
Graduated pre-commit quality checks that scale with project complexity and user tier. Level 0 for Builder-tier small projects, up to Level 4 for enterprise codebases. Thresholds configurable in architecture.md.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- linchpin/skillstheir own version, first seen Oct 2, 2026
- sampleXbro/agentsmeshtheir own version, first seen Sep 1, 2026
- Mesteriis/Engineering-Bible-AItheir own version, first seen Jun 28, 2026
- OlliTapio/claude_skillstheir own version, first seen Jun 12, 2026
- kienbui1995/magic-powerstheir own version, first seen Apr 10, 2026
- thebiglaskowski/claude-sentienttheir own version, first seen Apr 7, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- NikiforovAll/lazyclaude★ 42same name
- devsforge/orchestrator★ 38same name
- sampleXbro/agentsmesh★ 25same name
- wpank/ai★ 11same name
- supportersimulator/3-surgeons★ 2same name
- thebiglaskowski/claude-sentient★ 2same name
- linchpin/skills★ 1same name
- mmondora/claude-skills★ 1same name
- kienbui1995/magic-powers★ 0same name
- Mesteriis/Engineering-Bible-AI★ 0same name
1 more not listed
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 repository64 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-backward-compatibilitySkill
- api-design-standardsSkill
- api-versioningSkill
- database-designSkill
- distributed-systemsSkill
- observability-by-defaultSkill
- performance-budgetsSkill
- resilience-patternsSkill
- twelve-factor-appSkill
- codex-cross-reviewSkill
- dispatching-parallel-agentsSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- subagent-driven-developmentSkill
- architecture-awarenessSkill
- intent-to-specSkill
- project-diagnosisSkill
- using-shipworthySkill
- systematic-debuggingSkill
- documentation-as-codeSkill
- accessibilitySkill
- frontend-standardsSkill
- retrospectiveSkill
- writing-skillsSkill
- ci-cd-awarenessSkill
- context-managerSkill
- environment-setupSkill
- feature-flag-disciplineSkill
- finishing-a-development-branchSkill
- guardrail-audit-logSkill
- incident-responseSkill
- mcp-integrationSkill
- migration-strategiesSkill
- production-readinessSkill
- scope-creep-detectionSkill
- session-memorySkill
- slo-sli-definitionSkill
- tech-debt-trackingSkill
- using-git-worktreesSkill
- zero-downtime-migrationsSkill
- brainstormingSkill
- decision-frameworksSkill
- design-documentsSkill
- executing-plansSkill
- writing-plansSkill
- code-complexitySkill
- confidence-based-strictnessSkill
- error-handling-patternsSkill
- feedback-driven-adaptationSkill
- response-schema-validationSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- adaptive-securitySkill
- bias-detectionSkill
- compliance-awarenessSkill
- container-securitySkill
- dependency-managementSkill
- pii-detectionSkill
- secrets-managementSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
5
Distinctive
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 26
When graduation happens, inform the user: "Your project is growing — I'm going to start checking for a few more things before commits to …
- Distinctive: line 29
Every project that's past the prototype stage:
- Distinctive: line 92
When this skill activates:
- Distinctive: line 94
Check user tier (Builder-tier can be Level 0.
- Distinctive: line 95
Run through the applicable checklist
“Common” is measured: kept by at least 6 in 10 of the 10 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
Quality Gates
Graduated Levels
Quality checks scale with project maturity and user tier. The plugin detects the project's current level based on file count and user tier, then adjusts expectations accordingly.
Level 0: Just Ship It (Builder-Tier, <5 Source Files)
For Builder-tier users with small projects. The goal is momentum, not perfection. Two checks:
- Build succeeds (the code runs without crashing)
- No hardcoded secrets, API keys, or credentials in source files
That's it. No lint rules, no coverage thresholds, no architectural purity tests. The project has 4 files — it doesn't need governance, it needs to exist.
Automatic Graduation: Level 0 automatically graduates to Level 1 when either condition is met:
- The project has its first successful deployment (it's real now, treat it that way)
- The project reaches 5+ source files (complexity is emerging, basic hygiene matters)
When graduation happens, inform the user: "Your project is growing — I'm going to start checking for a few more things before commits to keep things solid. Nothing heavy, just making sure tests pass and the code is clean."
Level 1: Foundation (5+ Source Files, Always Active for Engineer-Tier)
Every project that's past the prototype stage:
- All existing tests pass
- No TypeScript/lint errors (if applicable)
- No
console.login production code — use a structured logger (pino, winston). Install one if none exists. - No hardcoded secrets, API keys, or credentials
- New code has corresponding tests
- Build completes successfully
- Linter configured and passing — set up ESLint (TypeScript/JS), Ruff (Python), or golangci-lint (Go) if not present
- Input validation uses a schema library (Zod, Pydantic) — not manual if/else
- Test coverage tooling configured (vitest --coverage, pytest-cov, go test -cover)
Level 2: Growing (10+ Source Files)
Building discipline:
- All Level 1 checks
- Test coverage for new code above threshold (default: 70%)
- No
TODOwithout a ticket number or date - No
anytype in TypeScript strict mode projects - No unused imports or variables
- Error handling on all async operations
Level 3: Maturing (50+ Source Files)
Architectural integrity:
- All Level 2 checks
- No circular imports (verify with dependency analysis)
- Bundle size within budget (if frontend)
- API contracts validated against types
- Database migrations are reversible
- No direct database queries outside the data layer
- All public functions have JSDoc/docstrings
Level 4: Production (100+ Source Files)
Enterprise readiness:
- All Level 3 checks
- Performance benchmarks pass
- Accessibility audit passes (if frontend)
- Security scan clean (no known vulnerabilities in dependencies)
- API documentation synchronized with implementation
- Error tracking integration verified
- Health check endpoints respond correctly
Level Selection Logic
if user_tier == "Builder" AND source_files < 5:
level = 0
elif source_files < 10:
level = 1
elif source_files < 50:
level = 2
elif source_files < 100:
level = 3
else:
level = 4
# Override: Engineer-tier always starts at Level 1 minimum
if user_tier == "Engineer" AND level == 0:
level = 1How to Run
When this skill activates:
- Count source files to determine the project's level
- Check user tier (Builder-tier can be Level 0; Engineer-tier starts at Level 1)
- Run through the applicable checklist
- Report results as: PASS / FAIL / ADVISORY
- FAIL = must fix before committing
- ADVISORY = should fix, but non-blocking
For Builder-tier users at Level 0-1: Report simply. "Everything looks good, ready to commit" or "Found a potential API key in the code — let me move that to an environment variable first."
For Engineer-tier users or Level 2+: Report the full checklist with details on any failures.
Configuration
Quality gate thresholds can be customized in .shipworthy/architecture.md:
## Quality Gate Levels
Level 0 (builder, <5 files): [build, no secrets]
Level 1 (always): [custom checks]
Level 2 (15+ files): [custom threshold]
Level 3 (75+ files): [custom checks]
Level 4 (150+ files): [custom checks]
Coverage threshold: 80%
Bundle size limit: 250KBRationalization Pressure Test
These are excuses you might generate to skip quality gates. Each one is wrong.
| Rationalization | Why It's Wrong | What To Do Instead |
| "The user just wants to commit quickly" | A fast commit with bugs is slower than a 2-minute quality check | Run the gates. They take less time than fixing a broken deploy |
| "This is a WIP commit" | WIP commits become permanent commits. Standards apply always | At minimum, run Level 0 (build + no secrets). Always |
| "Quality gates are too strict for this project" | The gates are graduated — Level 0 has only 2 checks. That's not strict | Apply the level that matches the project. Don't skip entirely |
| "I already checked manually" | Manual checks miss things. That's why automated gates exist | Run the automated checks. Trust the output over your memory |
| "This is just documentation" | Docs can contain secrets, broken links, and incorrect information | Run Level 0 at minimum. Secrets scanners catch credentials in any file |
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.

