SKILL_TEMPLATE
[1-2 sentence description of what this skill does]. Triggers on [specific phrases/contexts that should activate this skill]. Outputs [what the skill produces].
Transform v0.6 specifications into context-window-sized work packages (EPICs) during PRD v0.7 Build Execution. Triggers on requests to create epics, scope work, break down implementation, or when user asks "create epics", "scope work", "break down work", "context window sizing",
$ npx -y skills add mattgierhart/PRD-driven-context-engineering --skill prd-v07-epic-scoping --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/prd-v07-epic-scopingContext preview
The summary Claude sees to decide when to auto-load this skill.
Transform v0.6 specifications into context-window-sized work packages (EPICs) during PRD v0.7 Build Execution. Triggers on requests to create epics, scope work, break down implementation, or when user asks "create epics", "scope work", "break down work", "context window sizing",
name: prd-v07-epic-scoping description: Transform v0.6 specifications into context-window-sized work packages (EPICs) during PRD v0.7 Build Execution. Triggers on requests to create epics, scope work, break down implementation, or when user asks "create epics", "scope work", "break down work", "context window sizing", "what to build first?", "implementation planning", "epic breakdown". Consumes API-, DBT-, FEA-, ARC-. Outputs EPIC- entries with objectives, ID references, dependencies, and context windows. Feeds v0.7 Test Planning. context: fork allowed-tools: - Read - Write - Edit - Glob - Grep - Bash
Position in workflow: v0.6 Technical Specification → **v0.7 Epic Scoping** → v0.7 Test Planning
This skill requires prior work from v0.6 Technical Specification:
This skill assumes v0.6 Technical Specification is complete with API-/DBT- entries providing implementation contracts.
This skill creates/updates:
All EPIC- entries are **work package specifications**, not confidence-based. They are:
Example EPIC- entry (Auth Infrastructure):
EPIC-01: User Authentication State: Planned Lifecycle: v0.7 Build Execution Branch: epic/EPIC-01-auth ## 0. Context Capsule ### Resource Envelope | Dimension | Target | Notes | |-----------|--------|-------| | Pre-load Context | ~40k tokens | Auth SoT + API-001–005 specs + DBT-010/011 schema | | Working Room | ~160k tokens | Plenty of space for implementation | | Session Goal | Checkpoint C1 | Database schema complete | ### Dependencies | Type | Items | Status | |------|-------|--------| | Requires | None | First EPIC — foundation | | External | Supabase project created | Ready | | Enables | EPIC-02 (reports), EPIC-03 (data sources) | Blocked until auth completes | ### Pre-load Checklist - [ ] SoT/SoT.BUSINESS_RULES.md — IDs: BR-001, BR-002 (auth rules) - [ ] SoT/SoT.API_CONTRACTS.md — IDs: API-001–005 (auth endpoints) - [ ] SoT/SoT.TECHNICAL_DECISIONS.md — IDs: TECH-003 (Clerk), ARC-003 (JWT strategy) ## 2. Objective & Scope Goal: Enable users to authenticate with email/password, manage sessions, and maintain security. Deliverables: - [ ] User registration with email/password (API-001) - [ ] Login/logout functionality (API-002, API-003) - [ ] Session management with refresh tokens (API-004) - [ ] Password reset flow (API-005) - [ ] Users and sessions schema (DBT-010, DBT-011) Out of Scope: Social auth (EPIC-02), team invites (EPIC-05), admin user management (EPIC-07) ## 3. Context & IDs | Type | IDs | |------|-----| | Business Rules | BR-001 (email uniqueness), BR-002 (password requirements), BR-010 (auth workflow) | | User Journeys | UJ-000 (onboarding), UJ-010 (login) | | APIs | API-001 to API-005 | | Data Models | DBT-010 (users), DBT-011 (sessions) | | Architecture | ARC-003 (JWT strategy), TECH-003 (Clerk) | | Features | FEA-010 (signup), FEA-011 (login) — both in MVP-SCOPE | | Tests | TEST-001 to TEST-015 (auth test suite) | ## 4. Execution Plan (5 Phases) [Phase structure from skill as is] Related IDs: TECH-003, ARC-003, FEA-010/011, API-001–005, DBT-010/011, BR-001/002/010
> An EPIC is not a "big user story." It is a **cognitive boundary**—a scope of work that fits in working memory (human or AI). The goal is to load exactly what's needed to complete a focused task without distraction.
**The question is not** "How long will this take?" but **"Can an agent complete this without needing more context than fits in a session?"**
| Size | Characteristics | Action | |------|-----------------|--------| | **Right-sized** | 3-5 API endpoints, 2-4 DBT tables, 1-2 UJ flows | Good fit ✓ | | **Too big** | >10 APIs, >5 tables, multiple unrelated features | Split by domain | | **Too small** | Single endpoint, no meaningful deliverable | Merge with related |
**Rule of thumb**: If you can't describe the EPIC's goal in one sentence, it's too big.
EPICs are **context capsules** — work units sized for AI agent handoffs.
| Dimension | Target | Rationale | |-----------|--------|-----------| | **Pre-load context** | <100k tokens | SoT files + EPIC + code references | | **Working room** | >100k tokens | Space for tool outputs, debugging, iteration | | **Session goal** | 1 checkpoint | Clear "done" state per ses
PRD-Led Context Engineering — Memory as Infrastructure. An ontology layer for product teams building products that solve real problems — with AI agents that remember. Gated PRD, typed IDs, markdown knowledge graph, Claude Code skills & hooks.
Repo: mattgierhart/PRD-driven-context-engineering
[1-2 sentence description of what this skill does]. Triggers on [specific phrases/contexts that should activate this skill]. Outputs [what the skill produces].
Validates gate criteria before PRD lifecycle advancement by delegating to the readiness scoring pipeline (scripts/readiness.py). Returns a graduated PASS /…
Extracts durable insights from temp/ files to SoT during EPIC Phase E. Triggers at EPIC completion or explicit `/ghm-harvest` invocation. Outputs new SoT…
Validates and registers new SoT IDs with cross-reference integrity. Triggers when creating BR-XXX, UJ-XXX, API-XXX, or CFD-XXX entries. Outputs formatted SoT…
Install the PRD-Driven Context Engineering methodology into a fresh OR existing repository — the subscription-native alternative to forking the whole repo.…
Creates new Source of Truth (SoT) files when existing templates don't fit your needs. Triggers on requests to create a new SoT file, add a new artifact type,…