ship-gate
Skill123 starsChanged 8 months agoMITView on GitHub
Turn the /ship scorecard into a blocking, config-as-code quality gate. Sets per-category score thresholds, hard-fails on leaked secrets or critical findings, and wires the gate into a pre-push hook and CI so nothing below the bar merges. Use when the user wants a merge gate, CI quality gate, pre-push check, or to enforce ship-readiness.
- Commits and pushes
9 other projects use a version of this.
Adopted by
Most recently taken up by
- hamidettefagh/two-gatestheir own version, first seen Sep 22, 2026
- tderoussel/agent-skillstheir own version, first seen Sep 8, 2026
- sunnybhara/claude-startertheir own version, first seen Aug 14, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
- mahiunfiltered/claude-code-skillstheir own version, first seen Jul 8, 2026
- orkait/hyperstacktheir own version, first seen Jun 14, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- unlearndev/skills★ 76same name
- Hassaan146/claude-skills★ 18same name
- csiddhant796-blip/claude-skills-collection★ 2same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- mahiunfiltered/claude-code-skills★ 1same name
- orkait/hyperstack★ 1same name
- tderoussel/agent-skills★ 1same name
- hamidettefagh/two-gates★ 0same name
- sunnybhara/claude-starter★ 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 repository46 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- a11ySkill
- architectureSkill
- brainstormingSkill
- canarySkill
- clone-patternsSkill
- code-reviewSkill
- competeSkill
- costSkill
- demoSkill
- deploySkill
- dispatching-parallel-agentsSkill
- evalsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- frontend-designSkill
- growSkill
- guardSkill
- index-fixSkill
- investigateSkill
- launchSkill
- learnSkill
- onboardSkill
- pentestSkill
- perf-auditSkill
- receiving-code-reviewSkill
- releaseSkill
- requesting-code-reviewSkill
- rescueSkill
- retroSkill
- revise-claude-mdSkill
- security-auditSkill
- seo-auditSkill
- seo-strategySkill
- sprintSkill
- staying-currentSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
- using-ultrashipSkill
- verification-before-completionSkill
- visual-diffSkill
- writing-plansSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
1
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 53
When the gate fails, report exactly which checks were below the bar, then fix:
“Common” is measured: kept by at least 6 in 10 of the 9 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
Ship-Gate — Deterministic Quality Gate
The 2026 consensus on AI-written code is "did it pass the gates," not "did a senior read every line." This skill promotes the /ship scorecard from advisory to a blocking, deterministic gate: same scoring as /ship (shared tools/lib/ship-scoring.mjs), compared against thresholds in .ultraship/ship-gate.json, exiting non-zero so it can fail a push or a CI job.
When to use
The user wants a merge gate, a CI quality check, a pre-push guard, or to enforce a minimum ship-readiness score before code goes out.
Process
Phase 1: Initialize the config
node ${CLAUDE_PLUGIN_ROOT}/tools/ship-gate.mjs init <project-directory>Writes .ultraship/ship-gate.json:
{
"thresholds": { "overall": 80, "seo": 70, "a11y": 80, "security": 90, "quality": 70, "bundle": 70 },
"hardFail": { "onLeakedSecrets": true, "onCriticalFindings": true },
"skipMissing": true
}- thresholds — minimum score (0–100) per category and overall. Below it = fail.
- hardFail.onLeakedSecrets — any secret finding fails the gate regardless of score.
- hardFail.onCriticalFindings — any
critical-severity finding (any audit) fails the gate. - skipMissing — categories that didn't run (e.g. no HTML → SEO/a11y skipped) are ignored rather than failing. Set
falseto require every category.
Tune thresholds to the project. Sensible starting points: backend API → drop seo/a11y/bundle or rely on skipMissing; marketing site → raise seo/a11y; pre-revenue MVP → lower overall to 70.
Phase 2: Run the gate
node ${CLAUDE_PLUGIN_ROOT}/tools/ship-gate.mjs run <project-directory>
# or, installed: npx ultraship ship-gate .
# machine-readable: ... run <dir> --jsonIt runs all six auditors (seo, a11y, secrets, code-profiler, deps, bundle), scores them, and prints a PASS/FAIL table with a merge-confidence number (the overall score). Exit 0 = pass, exit 1 = fail.
Phase 3: Explain and fix failures
When the gate fails, report exactly which checks were below the bar, then fix:
- Score below a category threshold → run that category's fixer:
/a11y,/secure,/seo,/profileapply fixes. - Leaked secret → remove it, rotate the key, move it to an env var (
/secure). - Critical finding → resolve it before anything else.
Re-run the gate to confirm it now passes. Never lower a threshold just to pass — fix the issue, or change the threshold only with the user's explicit agreement and a reason.
Phase 4: Enforce it (CI + pre-push)
Wire the gate in so it runs automatically:
# GitHub Actions workflow at .github/workflows/ship-gate.yml
node ${CLAUDE_PLUGIN_ROOT}/tools/ship-gate.mjs ci <project-directory>
# Local git pre-push hook (.git/hooks/pre-push) — blocks a push that fails the gate
node ${CLAUDE_PLUGIN_ROOT}/tools/ship-gate.mjs hook <project-directory>Tell the user how to bypass the local hook in an emergency: git push --no-verify. The CI gate has no bypass by design.
Key Principles
- One source of truth. The gate and
/shipshare the same scoring module — the gate can never disagree with the scorecard. - Deterministic. Same input → same verdict. Auditable for SOC2/ISO/HIPAA, unlike an LLM-only "looks fine."
- Fix, don't dodge. Failing the gate means fixing the code, not weakening the threshold.
- Never block on a missing tool. A tool that can't run leaves its category skipped (or fails only if
skipMissing:false), never crashes the gate.
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.

