Gate check

From tranhieutt/software_development_department · View interactive version

Gate check is an AI agent skill from the GitHub repository tranhieutt/software_development_department. Validates a software product, service, 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.

How to use this skill

Skill file

Phase Gate Validation

This skill validates whether the software project is ready to advance to the

next delivery phase. It checks for required artifacts, quality standards, and

operational 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).

Production Stages (7)

The project progresses through these stages:

  1. Concept - Problem framing, product concept document
  2. Systems Design - Requirements, workflows, architecture boundaries
  3. Technical Setup - Stack selection, CI/CD, environments, architecture decisions
  4. Pre-Production - Spikes, prototypes, acceptance criteria, delivery planning
  5. Production - Feature development and integration work
  6. Polish - Stabilization, QA hardening, performance, operational readiness
  7. Release - Go-live prep, support readiness, rollback and communication planning

When a gate passes, write the new stage name to production/stage.txt

(single line, e.g. Production). This updates the status line immediately.


1. Parse Arguments

/project-stage-detect, then validate the NEXT phase transition


2. Phase Gate Definitions

Gate: Concept -> Systems Design

Required Artifacts:

Quality Checks:


Gate: Systems Design -> Technical Setup

Required Artifacts:

Quality Checks:


Gate: Technical Setup -> Pre-Production

Required Artifacts:

Quality Checks:


Gate: Pre-Production -> Production

Required Artifacts:

Quality Checks:


Gate: Production -> Polish

Required Artifacts:

Quality Checks:


Gate: Polish -> Release

Required Artifacts:

Quality Checks:


3. Run the Gate Check

For each item in the target gate:

Artifact Checks

Quality Checks

profiling data in tests/performance/ or recent /perf-profile output

Cross-Reference Checks


4. Collaborative Assessment

For items that can't be automatically verified, ask the user:

Never assume PASS for unverifiable items. Mark them as MANUAL CHECK NEEDED.


5. Output the Verdict

## 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/)
- [?] QA sign-off - MANUAL CHECK NEEDED

### Blockers
1. **No Architecture Decision Records** - Create an ADR 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

6. Update Stage on PASS

When the verdict is PASS and the user confirms they want to advance:

  1. Write the new stage name to production/stage.txt (single line, no trailing newline)
  2. This immediately updates the status line for all future sessions

Always ask before writing: "Gate passed. May I update production/stage.txt to 'Production'?"


Protocol

Output

Deliver exactly:


7. Follow-Up Actions

Based on the verdict, suggest specific next steps:


Collaborative Protocol

This skill follows the collaborative design principle:

  1. Scan first: Check all artifacts and quality gates
  2. Ask about unknowns: Don't assume PASS for things you can't verify
  3. Present findings: Show the full checklist with status
  4. User decides: The verdict is a recommendation - the user makes the final call
  5. Get approval: "May I write this gate check report to production/gate-checks/?"

Never block a user from advancing - the verdict is advisory. Document the

risks and let the user decide whether to proceed despite concerns.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.