dawn840705/codex-code-studios/gate-check
Claude Code and agent skill by dawn840705/codex-code-studios
- community
Checking that the SKILL.md file is still in the repository.
Validate readiness to advance between development phases, on either track. Produces a PASS/CONCERNS/FAIL verdict with specific blockers and required artifacts. Use when user says 'are we ready to move to X', 'can we advance to production', 'check if we can start the next phase', 'pass the gate'.
Install
npx vskill@latest install dawn840705/codex-code-studios/gate-checkSKILL.md
The same SKILL.md was published earlier as dawn840705/codex-code-studios/gate-check.
Phase Gate Validation
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).
Stages — two tracks
Resolve the track first. The detect-project-type.sh hook prints PROJECT_TYPE. game → game track. web/mobile/service → product track. unknown → ask the user before running any gate. Phase names are not interchangeable between tracks, and the two tracks are not 1:1 — product discovery covers game concept + systems-design, and product build covers pre-production + production. Never translate a phase name by position.
Game track (7):
- Concept — Brainstorming, game concept document
- Systems Design — Mapping systems, writing GDDs
- Technical Setup — Engine config, architecture decisions
- Pre-Production — Prototyping, vertical slice validation
- Production — Feature development (Epic/Feature/Task tracking active)
- Polish — Performance, playtesting, bug fixing
- Release — Launch prep, certification
Product track (6):
- Discovery — Product concept, feature PRDs, UX specs
- Architecture — Stack pinned, ADRs, accessibility tier
- Build — Epics, stories, sprints, implementation
- Hardening — QA, regression, security, performance
- Ship — Release and launch checklists
- Growth — Metrics, milestone reviews, feature viability
live-ops is not a gate target on either track — it is post_release in agent-packs.yaml, entered by human judgement, and check_phase.py never returns it.
When a gate passes, write the new stage name to production/stage.txt (single line, e.g. Production or Hardening). This updates the status line immediately.
1. Parse Arguments
Track first. Read PROJECT_TYPE from the session-start hook output, or run ../../hooks/detect-project-type.sh. game → game gates. web/mobile/ service → product gates. unknown → ask which the project is with a direct user question before doing anything else, and do not guess from the directory layout — a product project that happens to have a design/ folder would be misrouted into the game gates.
If the target phase names a phase from the other track (e.g. $gate-check polish on a service project), do not translate it. Say which track the project is on, list that track's gate targets, and ask.
Target phase: the first invocation argument (blank = auto-detect current stage, then validate next transition)
Also resolve the review mode (once, store for all gate spawns this run):
- If
--review [full|lean|solo]was passed → use that - Else read
production/review-mode.txt→ use that value - Else → default to
lean
Note: in solo mode, director spawns (CD-PHASE-GATE, TD-PHASE-GATE, PR-PHASE-GATE, AD-PHASE-GATE) are skipped — gate-check becomes artifact-existence checks only. In lean mode, all four directors still run (phase gates are the purpose of lean mode).
- With argument:
$gate-check production— validate readiness for that specific phase - No argument: Auto-detect current stage using the same heuristics as
$project-stage-detect, then confirm with the user before running:
Ask the user directly:
- Prompt: "Detected stage: [current stage]. Running gate for [Current] → [Next] transition. Is this correct?"
- Options:
[A] Yes — run this gate[B] No — pick a different gate(if selected, show a second widget listing the gate options for the resolved track only —
game: Concept → Systems Design, Systems Design → Technical Setup, Technical Setup → Pre-Production, Pre-Production → Production, Production → Polish, Polish → Release; product: Discovery → Architecture, Architecture → Build, Build → Hardening, Hardening → Ship, Ship → Growth)
Do not skip this confirmation step when no argument is provided.
2. Phase Gate Definitions
Use only the gates for the resolved track. Running a game gate on a product project produces a FAIL made entirely of artifacts that project was never supposed to have.
Game Track Gates
Gate: Concept → Systems Design
Required Artifacts:
- [ ]
design/gdd/game-concept.mdexists and has content - [ ] Game pillars defined (in concept doc or
design/gdd/game-pillars.md) - [ ] Visual Identity Anchor section exists in
design/gdd/game-concept.md(from brainstorm Phase 4 art-director output)
Quality Checks:
- [ ] Game concept has been reviewed (
$design-reviewverdict not MAJOR REVISION NEEDED) - [ ] Core loop is described and understood
- [ ] Target audience is identified
- [ ] Visual Identity Anchor contains a one-line visual rule and at least 2 supporting visual principles
Gate: Systems Design → Technical Setup
Required Artifacts:
- [ ] Systems index exists at
design/gdd/systems-index.mdwith at least MVP systems enumerated - [ ] All MVP-tier GDDs exist in
design/gdd/and individually pass$design-review - [ ] A cross-GDD review report exists in
design/gdd/(from$review-all-gdds)
Quality Checks:
- [ ] All MVP GDDs pass individual design review (8 required sections, no MAJOR REVISION NEEDED verdict)
- [ ]
$review-all-gddsverdict is not FAIL (cross-GDD consistency and design theory checks pass) - [ ] All cross-GDD consistency issues flagged by
$review-all-gddsare resolved or explicitly accepted - [ ] System dependencies are mapped in the systems index and are bidirectionally consistent
- [ ] MVP priority tier is defined
- [ ] No stale GDD references flagged (older GDDs updated to reflect decisions made in later GDDs)
Gate: Technical Setup → Pre-Production
Required Artifacts:
- [ ] Engine chosen (AGENTS.md Technology Stack is not
[CHOOSE]) - [ ] Technical preferences configured (
.codex/studio/technical-preferences.mdpopulated) - [ ] Art bible exists at
design/art/art-bible.mdwith at least Sections 1–4 (Visual Identity Foundation) - [ ] At least 3 Architecture Decision Records in
docs/architecture/covering
Foundation-layer systems (scene management, event architecture, save/load)
- [ ] Engine reference docs exist in
docs/engine-reference/[engine]/ - [ ] Test framework initialized:
tests/unit/andtests/integration/directories exist - [ ] CI/CD test workflow exists at
.github/workflows/tests.yml(or equivalent) - [ ] At least one example test file exists to confirm the framework is functional
- [ ] Master architecture document exists at
docs/architecture/architecture.md - [ ] Architecture traceability index exists at
docs/architecture/architecture-traceability.md - [ ]
$architecture-reviewhas been run (a review report file exists indocs/architecture/) - [ ]
design/accessibility-requirements.mdexists with accessibility tier committed - [ ]
design/ux/interaction-patterns.mdexists (pattern library initialized, even if minimal)
Quality Checks:
- [ ] Architecture decisions cover core systems (rendering, input, state management)
- [ ] Technical preferences have naming conventions and performance budgets set
- [ ] Accessibility tier is defined and documented (even "Basic" is acceptable — undefined is not)
- [ ] At least one screen's UX spec started (often the main menu or core HUD is designed during Technical Setup)
- [ ] All ADRs have an Engine Compatibility section with engine version stamped
- [ ] All ADRs have a GDD Requirements Addressed section with explicit GDD linkage
- [ ] No ADR references APIs listed in
docs/engine-reference/[engine]/deprecated-apis.md - [ ] All HIGH RISK engine domains (per VERSION.md) have been explicitly addressed
in the architecture document or flagged as open questions
- [ ] Architecture traceability matrix has zero Foundation layer gaps
(all Foundation requirements must have ADR coverage before Pre-Production)
ADR Circular Dependency Check: For all ADRs in docs/architecture/, read each ADR's "ADR Dependencies" / "Depends On" section. Build a dependency graph (ADR-A → ADR-B means A depends on B). If any cycle is detected (e.g. A→B→A, or A→B→C→A):
- Flag as FAIL: "Circular ADR dependency: [ADR-X] → [ADR-Y] → [ADR-X].
Neither can reach Accepted while the cycle exists. Remove one 'Depends On' edge to break the cycle."
Engine Validation (read docs/engine-reference/[engine]/VERSION.md first):
- [ ] ADRs that touch post-cutoff engine APIs are flagged with Knowledge Risk: HIGH/MEDIUM
- [ ]
$architecture-reviewengine audit shows no deprecated API usage - [ ] All ADRs agree on the same engine version (no stale version references)
Gate: Pre-Production → Production
Required Artifacts:
- [ ] At least 1 prototype in
prototypes/with a README - [ ] First sprint plan exists in
production/sprints/ - [ ] Art bible is complete (all 9 sections) and AD-ART-BIBLE sign-off verdict is recorded in
design/art/art-bible.md - [ ] Character visual profiles exist for key characters referenced in narrative docs
- [ ] All MVP-tier GDDs from systems index are complete
- [ ] Master architecture document exists at
docs/architecture/architecture.md - [ ] At least 3 ADRs covering Foundation-layer decisions exist in
docs/architecture/ - [ ] Control manifest exists at
docs/architecture/control-manifest.md
(generated by $create-control-manifest from Accepted ADRs)
- [ ] Epics defined in
production/epics/with at least Foundation and Core
layer epics present (use $create-epics layer: foundation and $create-epics layer: core to create them, then $create-stories [epic-slug] for each epic)
- [ ] Vertical Slice build exists and is playable (not just scope-defined)
- [ ] Vertical Slice has been playtested with at least 3 sessions (internal OK)
- [ ] Vertical Slice playtest report exists at
production/playtests/or equivalent - [ ] UX specs exist for key screens: main menu, core gameplay HUD (at
design/ux/), pause menu - [ ] HUD design document exists at
design/ux/hud.md(if game has in-game HUD) - [ ] All key screen UX specs have passed
$ux-review(verdict APPROVED or NEEDS REVISION accepted)
Quality Checks:
- [ ] Core loop fun is validated — playtest data confirms the central mechanic is enjoyable, not just functional. Explicitly check the Vertical Slice playtest report.
- [ ] UX specs cover all UI Requirements sections from MVP-tier GDDs
- [ ] Interaction pattern library documents patterns used in key screens
- [ ] Accessibility tier from
design/accessibility-requirements.mdis addressed in all key screen UX specs - [ ] Sprint plan references real story file paths from
production/epics/
(not just GDDs — stories must embed GDD req ID + ADR reference)
- [ ] Vertical Slice is COMPLETE, not just scoped — the build demonstrates the full core loop end-to-end. At least one complete [start → challenge → resolution] cycle works.
- [ ] Architecture document has no unresolved open questions in Foundation or Core layers
- [ ] All ADRs have Engine Compatibility sections stamped with the engine version
- [ ] All ADRs have ADR Dependencies sections (even if all fields are "None")
- [ ] Manual validation confirms GDDs + architecture + epics are coherent
(run $review-all-gdds and $architecture-review if not done recently)
- [ ] Core fantasy is delivered — at least one playtester independently described an experience that matches the Player Fantasy section of the core system GDDs (without being prompted).
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gate-check/SKILL.md
Popularity
- Repository stars
- 17
- Repository forks
- 2
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dawn840705/codex-code-studios/gate-check)