home / skills / mattgierhart / prd-driven-context-engineering / ghm-status-sync
This skill synchronizes the README Command Center with PRD and EPIC state to surface lifecycle, blockers, and metrics.
npx playbooks add skill mattgierhart/prd-driven-context-engineering --skill ghm-status-syncReview the files below or copy the command above to add this skill to your agents.
---
name: ghm-status-sync
description: >
Synchronizes README.md Command Center with current project state.
Triggers on gate changes, EPIC status changes, or explicit `/ghm-status-sync` invocation.
Outputs updated README.md dashboard with current lifecycle stage, blockers, and metrics.
---
# Status Sync
Synchronize the README.md Command Center with the current project state after gate advancement or EPIC status changes.
## Workflow Overview
1. **Load Context** → Read README.md, PRD.md metadata, Active EPIC Section 0
2. **Extract State** → Pull lifecycle stage, blockers, metrics
3. **Update Dashboard** → Sync README sections with current truth
## Core Output Template
| Element | Definition | Evidence |
|---------|------------|----------|
| **Lifecycle Stage** | Current PRD version from PRD.md | `Current Lifecycle Gate: v0.X` |
| **Gate Status** | Visual progress indicators | 🟢 Complete / 🟡 In Progress / ⚪ Pending |
| **Active EPIC** | Current work from EPIC header | `EPIC-XX: Title` |
| **Blockers** | Open blockers from EPIC Section 0 | List with severity |
## Step 1: Load Context
Read these files in order:
1. `README.md` (current state)
2. `PRD.md` (metadata block for lifecycle stage)
3. Active EPIC Section 0 (blockers, progress)
### Checklist
- [ ] README.md loaded
- [ ] PRD.md metadata extracted
- [ ] Active EPIC identified and Section 0 read
## Step 2: Extract Current State
Pull authoritative values:
| Field | Source |
|-------|--------|
| Lifecycle Stage | PRD.md `Current Lifecycle Gate` |
| Gate Progress | PRD.md gate table |
| Active EPIC | README.md `Active Work` section |
| Blockers | EPIC Section 0 |
| Metrics | README.md Truth Table |
## Step 3: Update README Dashboard
Apply synchronization rules:
1. **Lifecycle Stage**: Update header to match PRD.md
2. **Gate Table**:
- 🟢 = Passed gates (all criteria met)
- 🟡 = Current gate (in progress)
- ⚪ = Future gates (not started)
3. **Active EPIC**: Update metadata in Active Work section
4. **Blockers**: Sync from EPIC Section 0
## Quality Gates
### Pass Checklist
- [ ] README lifecycle stage matches PRD.md
- [ ] Gate indicators are accurate (no 🟢 on incomplete gates)
- [ ] Active EPIC reference is current
- [ ] Blockers reflect actual state
### Testability Check
- [ ] Can be validated by comparing README to PRD.md
- [ ] Gate status is traceable to gate criteria
## Anti-Patterns
| Pattern | Example | Fix |
|---------|---------|-----|
| Stale gate status | 🟢 on gate with missing criteria | → Verify all criteria before marking complete |
| Missing blockers | EPIC has blockers, README shows none | → Always sync from EPIC Section 0 |
| Wrong EPIC reference | README points to closed EPIC | → Check EPIC status before updating |
## Boundaries
**DO**:
- Status synchronization
- Link updates
- Gate progression indicators
**DON'T**:
- Content changes to descriptions
- Create new sections
- Modify PRD.md (read-only source)
## Handoff
After status sync completes:
- README.md is current and accurate
- Ready for next work session
- Gate-check skill can validate if advancing
This skill synchronizes the README Command Center with the current project state so the dashboard always reflects the authoritative project truth. It triggers on gate changes, EPIC status changes, or an explicit /ghm-status-sync invocation. The result is an updated README.md with lifecycle stage, gate progress, active EPIC, blockers, and key metrics.
The skill loads context by reading README.md, PRD.md metadata, and the active EPIC Section 0. It extracts authoritative fields — lifecycle stage, gate progress, active EPIC reference, blockers, and metrics — and applies synchronization rules to update the README dashboard. It preserves prose and documentation content while only updating status-related sections and indicators.
What files does the skill read to determine status?
It reads README.md, extracts PRD.md metadata for lifecycle and gate tables, and pulls Active EPIC Section 0 for blockers and progress.
Will this change descriptive content or PRD.md?
No. The skill only updates status-related dashboard sections in README.md and treats PRD.md as read-only.