.claude/skills/gate-check/SKILL.md
Validates a project or feature against readiness gates before advancing to the next delivery phase. Use when planning a phase transition or when the user mentions gate check, phase review, or readiness validation.
npx skillsauth add tranhieutt/software_development_department gate-checkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill validates whether the project is ready to advance to the next development phase. It checks for required artifacts, quality standards, and blockers.
Distinct from /project-stage-detect: That skill is diagnostic ("where are we?").
This skill is prescriptive ("are we ready to advance?" with a formal verdict).
The project progresses through these stages:
When a gate passes, write the new stage name to production/stage.txt
(single line, e.g. Production). This updates the status line immediately.
/gate-check production — validate readiness for that specific phase/project-stage-detect, then validate the NEXT phase transitionRequired Artifacts:
design/docs/product-concept.md exists and has contentdesign/docs/product-pillars.md)Quality Checks:
/design-review verdict not MAJOR REVISION NEEDED)Required Artifacts:
design/docs/systems-index.md with at least MVP systems enumerateddesign/docs/ (beyond product-concept.md and systems-index.md)Quality Checks:
Required Artifacts:
[CHOOSE]).claude/docs/technical-preferences.md populated)docs/architecture/docs/engine-reference/Quality Checks:
Required Artifacts:
prototypes/ with a READMEproduction/sprints/Quality Checks:
Required Artifacts:
src/ has active code organized into subsystemsdesign/docs/ with src/)tests//playtest-report has been run)Quality Checks:
Required Artifacts:
src/)/balance-check run)/release-checklist or /launch-checklist run)Quality Checks:
qa-leadFor each item in the target gate:
Glob and Read to verify files exist and have meaningful contentBash if a test runner is configuredRead the PRD and check for the 8 required sectionsRead technical-preferences.md and compare against any
profiling data in tests/performance/ or recent /perf-profile outputGrep for hardcoded strings in src/design/docs/ documents against src/ implementationsFor items that can't be automatically verified, ask the user:
/perf-profile?"Never assume PASS for unverifiable items. Mark them as MANUAL CHECK NEEDED.
## Gate Check: [Current Phase] → [Target Phase]
**Date**: [date]
**Checked by**: gate-check skill
### Required Artifacts: [X/Y present]
- [x] design/docs/product-concept.md — exists, 2.4KB
- [ ] docs/architecture/ — MISSING (no ADRs found)
- [x] production/sprints/ — exists, 1 sprint plan
### Quality Checks: [X/Y passing]
- [x] PRD has 8/8 required sections
- [ ] Tests — FAILED (3 failures in tests/unit/)
- [?] Core loop playtested — MANUAL CHECK NEEDED
### Blockers
1. **No Architecture Decision Records** — Run `/architecture-decision` to create one
covering core system architecture before entering production.
2. **3 test failures** — Fix failing tests in tests/unit/ before advancing.
### Recommendations
- [Priority actions to resolve blockers]
- [Optional improvements that aren't blocking]
### Verdict: [PASS / CONCERNS / FAIL]
- **PASS**: All required artifacts present, all quality checks passing
- **CONCERNS**: Minor gaps exist but can be addressed during the next phase
- **FAIL**: Critical blockers must be resolved before advancing
When the verdict is PASS and the user confirms they want to advance:
production/stage.txt (single line, no trailing newline)Example: if passing the "Pre-Production → Production" gate:
echo -n "Production" > production/stage.txt
Always ask before writing: "Gate passed. May I update production/stage.txt to 'Production'?"
production/stage.txt to '[new-stage]'?" — only on PASS + user confirmationDeliver exactly:
[Current Phase] → [Target Phase]PASS / CONCERNS / FAILBased on the verdict, suggest specific next steps:
/brainstorm to create one/map-systems to decompose the concept into systems/reverse-document or delegate to product-manager/architecture-decisionlead-programmer or qa-tester/playtest-report/perf-profile/localize/launch-checklistThis skill follows the collaborative design principle:
Never block a user from advancing — the verdict is advisory. Document the risks and let the user decide whether to proceed despite concerns.
testing
Generates high-fidelity architecture diagrams, sequence flows, and component maps for SDD projects. Use when finalizing a design phase, documenting system architecture, or visualizing agentic workflows. Default style: Style 6 (Claude Official).
data-ai
Provides vector database and semantic search patterns for Pinecone, Weaviate, Qdrant, Milvus, and pgvector in RAG and recommendation systems. Use when implementing vector search or when the user mentions vector database, semantic search, embeddings, or similarity search.
development
Updates docs/technical/CODEMAP.md by scanning the current codebase structure. Run after a significant feature merge, refactor, or when CODEMAP feels stale.
development
Unlocks the codebase after a release freeze or incident freeze period to resume normal development. Use when a freeze period ends or when the user mentions unfreezing or lifting the code freeze.