pre-deployment
Skill2 starsChanged 8 months agoMITView on GitHub
Pre-deployment quality gate — runs all blocking audit agents before merging to main or deploying to production.
In this repository11 other files it gives its agents.
- global/CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- audit-runnerSkill
- auto-fixSkill
- brainstormSkill
- compliance-checkSkill
- contract-lookupSkill
- monthly-reviewSkill
- new-featureSkill
- project-setupSkill
- risk-scoreSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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 26
Run first. If this fails, deployment is blocked — no exceptions.
- Distinctive: line 45
Observable truth: All blocking checks in AUDIT-DEPLOYMENT.md return PASS.
- Distinctive: line 75
If deploying to European users:
- Distinctive: line 96
Observable truth: All items above checked. Ready to merge.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
/pre-deployment — Pre-Deployment Quality Gate
Usage: /pre-deployment
Runs the complete pre-deployment checklist. Invoke this before any merge to main or production deployment.
Step 1 — Security Gate (BLOCKING)
Run first. If this fails, deployment is blocked — no exceptions.
Ask Claude: "Run agents/AGENT-SECURITY-AUDIT.md"Blocking threshold: Score < 70/100 = BLOCKED Observable truth: Security audit report with score ≥ 70/100.
Step 2 — Deployment Gate (BLOCKING)
Ask Claude: "Run agents/AGENT-DEPLOYMENT-GATE.md"Checks: TypeScript strict, ESLint 0 errors, build passes, env vars documented, migrations safe.
Observable truth: All blocking checks in AUDIT-DEPLOYMENT.md return PASS.
Step 3 — Code Quality
Ask Claude: "Run agents/AGENT-CODE-QUALITY-AUDIT.md"Recommended threshold: Score ≥ 75/100 Observable truth: Code quality audit report with score ≥ 75/100.
Step 4 — Performance
Ask Claude: "Run agents/AGENT-PERFORMANCE-AUDIT.md"Recommended threshold: Score ≥ 70/100 Focus: LCP ≤2.5s, INP ≤200ms, CLS ≤0.1 (Google Core Web Vitals)
Observable truth: Performance audit report with score ≥ 70/100.
Step 5 — EU Compliance (if applicable)
If deploying to European users:
Ask Claude: "Run agents/AGENT-ACCESSIBILITY-AUDIT.md"Legal threshold: Score ≥ 80/100 (European Accessibility Act, enforceable June 2025)
Observable truth: Accessibility audit report with score ≥ 80/100.
Completion Checklist
- CHANGELOG.md updated with release version and date
- All migrations are additive (no column renames or drops without expand-contract)
- Feature flags set correctly for this release
- Monitoring/alerting in place for new functionality
- Rollback plan documented
touch .sqwr-last-auditto mark audit complete
Observable truth: All items above checked. Ready to merge.
Reference
Full workflow: workflows/WORKFLOW-PRE-DEPLOYMENT.md
Audit weightings: audits/AUDIT-INDEX.md
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.

