mh-cto-sdlc-phase2-gate
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-05-13
- Stars
- ★ 2
- Forks
- 0
02 资源文件 4
- 参考文档agents/gate-review-agent.md6.2 KB
- 参考文档checklist.md2.9 KB
- 其他customize.toml837 B
- 参考文档mh-skill-manifest.yaml651 B
03 SKILL.md 正文
Phase 2 Gate Review
Gate weight: CRITICAL. Phase 2 is the most expensive gate to fail late — a weak PRD or inconsistent stories propagate errors through UX, architecture, and implementation. A Conditional Pass here is normal. A Fail sends you back to a specific skill. A Phase 0 Re-Entry here means the product definition has revealed a problem the problem statement got wrong.
You are the orchestrator. You do not assess — the gate-review agent does. You facilitate and then write the verdict.
Step 1 — Artifact Load
Confirm all Phase 2 artifacts exist:
- PRD (
prd.md) ✓ / ✗ - PRD Validation (
prd-validation.md) ✓ / ✗ — must be "Clean" or with all BLOCKING findings resolved - Epic Map (
epic-map.md) ✓ / ✗ - Stories — at least one stories file per epic ✓ / ✗
- Acceptance Criteria — at least one AC file per epic ✓ / ✗
Also confirm Phase 1 artifacts are accessible via persistent_facts (gate agent needs them for traceability checks).
If any required artifact is missing: "The gate cannot proceed without [artifact]. Run /mh-cto-sdlc-{skill} first."
If PRD Validation shows unresolved BLOCKING findings: "Cannot proceed. The PRD has unresolved BLOCKING issues. Resolve them in prd-validate first."
Once all artifacts are confirmed: "I have [N] Phase 2 artifacts loaded. Running gap interview."
Step 2 — Gap Interview (4 Questions)
Ask these four questions one at a time. A vague answer warrants one follow-up probe.
Q1 — PRD confidence "Looking at the PRD's Must-priority features: are you confident each one has evidence from Phase 1, or are there features you added because they seemed obvious? Name the feature you're least confident about and why it's in the Must tier."
Record the feature they name and their reasoning.
Q2 — Story quality stress test "Pick the story you think is hardest to implement and walk me through it. Is there anything in that story that would require a developer to make a significant assumption — something the story doesn't tell them? Is there any behavior the story implies but doesn't state?"
Listen for: "we'd figure that out in implementation" — that's a red flag. Stories should not leave behavioral decisions to developers.
Q3 — AC testability "Pick one story and its ACs. Can those ACs be run as automated tests? What would a developer need to know beyond the AC itself to write the test? If the answer is 'nothing,' the AC is good. If the answer is 'a lot,' the AC is weak."
This surfaces ACs that are vague or implementation-dependent.
Q4 — Scope honesty "Is there a feature you know users need but couldn't figure out how to scope, so you left it in Could-priority or out of the PRD entirely? Name it and tell me what problem it solves."
This surfaces deferred scope that might invalidate the product's core value proposition.
After Q4: "Thank you. Handing to the gate-review agent now."
Step 3 — Spawn Gate-Review Agent
Spawn the gate-review agent (defined in agents/gate-review-agent.md) using the Agent tool.
Pass:
- Full content of all Phase 2 artifacts (PRD, validation report, epic map, all stories files, all AC files)
- Key Phase 1 artifacts for traceability (problem statement, assumption list, domain model, journey map)
- The founder's verbatim answers to the 4 gap interview questions
- The checklist from
checklist.md
Wait for the verdict before proceeding.
Step 4 — Re-Entry Signal Check
Before writing the verdict, check if the gate-review agent flagged a Phase 0 re-entry condition.
Phase 0 re-entry conditions at Phase 2:
- The PRD's Must-priority features collectively do not solve the problem stated in Phase 0
- The stories reveal the named user population cannot actually use the product as designed
- The domain model's invariants contradict the core product behavior in a fundamental way
- The AC coverage reveals the product cannot be meaningfully tested — indicating the problem is not well-understood
If Phase 0 re-entry is warranted:
re-entry-signal:
triggered_by: mh-cto-sdlc-phase2-gate
target_phase: Phase 0 Ideation — problem-statement.md
assumption_broken: {the specific assumption the PRD has revealed as invalid}
evidence: {the specific finding from Phase 2 that contradicts it}
impact_radius: [problem-statement, assumption-list, prd, epic-map, stories, acceptance-criteria]
recommended_action: {reframe the population / reframe the problem / reduce scope to viable core}
blocking: true
Phase 1 re-entry conditions at Phase 2:
- PRD features have no source in any Phase 1 artifact (invented during Phase 2)
- Domain model gaps discovered during story-spec that invalidate domain-model.md
- Journey map coverage holes that make the epic map structurally wrong
If Phase 1 re-entry is warranted, name the specific Phase 1 skill to re-run.
Step 5 — Write Gate Verdict
Save to _mh-output/cto/sdlc/phase2-gate/{YYYY-MM-DD}_{r###}_phase2-gate-verdict.md:
# Phase 2 Gate Verdict
**Date:** {date}
**Verdict:** {Pass | Conditional Pass | Fail | Phase 0 Re-Entry | Phase 1 Re-Entry}
## Artifact Assessment
| Artifact | Completeness | Quality | Status |
| ------------------- | ------------------ | ------------------- | ------------------------- |
| PRD | Complete / Partial | High / Medium / Low | Pass / Conditional / Fail |
| PRD Validation | Complete / Partial | High / Medium / Low | Pass / Conditional / Fail |
| Epic Map | Complete / Partial | High / Medium / Low | Pass / Conditional / Fail |
| Stories | Complete / Partial | High / Medium / Low | Pass / Conditional / Fail |
| Acceptance Criteria | Complete / Partial | High / Medium / Low | Pass / Conditional / Fail |
## Strengths
{From agent output — specific, evidence-based}
## Critical Gaps
{CRITICAL (blocks Phase 3): ...}
{NOTABLE (must address in Phase 3): ...}
{MINOR (log and proceed): ...}
## Gap Interview Summary
{Key findings from the four questions}
## Re-Entry Signal (if applicable)
{Full re-entry signal block if triggered}
## Verdict Rationale
{From agent output — 2-3 sentences}
## Phase 3 Requirements (if Conditional Pass)
{Named requirements — what the UX/design phase must address}
## Remediation (if Fail / Re-Entry)
{What specifically must change, which skill to re-run}
## Next Step
Pass / Conditional Pass: Run `/mh-cto-sdlc-ux-brief` to begin Phase 3 UX/UI Design.
Fail: {specific remediation — which Phase 2 skill to re-run}
Phase 0/1 Re-Entry: {specific re-entry signal}
Step 6 — Present Summary
After saving:
Verdict: {Pass / Conditional Pass / Fail / Re-Entry}
Phase 2 strengths: {2-3 specific strengths}
Gaps requiring action: {tiered list — Critical first}
Next step: {exact command}
04 同仓库更多 Skills
mh-vo-vault-brief
Weekly vault intelligence report — health score, pipeline status, OS alignment, and top issues. Use when the user says vault brief, weekly vault report, vault intelligence, run the vault brief, or weekly review brief.
mh-vo-output-bridge
Scan _mh-output/ for new artifacts and create or update corresponding vault entries. Use when the user says run the bridge, sync outputs to vault, output bridge, create vault entries, sync mh-output to vault, or bridge outputs.
mh-vo-moc-builder
Create or update Maps of Content for vault sections and ensure every note is reachable from a MOC. Use when the user says build MOCs, update MOCs, rebuild maps of content, MOC builder, create maps of content, or update the MOCs.
mh-vo-link-architect
Identify missing vault connections and generate precise link recommendations. Use when the user says recommend links, find missing connections, link architect, what should be connected, or identify missing links.
mh-vo-base-builder
Generate Obsidian Bases (.base files) for live database views of vault data. Use when the user says build base views, create base files, generate bases, build live views, or create database views.
mh-vo-taxonomy-enforcer
Audit vault tags and frontmatter, find drift, and apply corrections. Use when the user says fix the taxonomy, enforce tags, fix frontmatter, clean up tags, taxonomy enforcer, or fix tags.