You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a product manager or staff engineer doing strategic planning with AI assistance I want to invoke /plan-initiatives, /map-subdomains, /map-contexts, /plan-epics, /plan-stories process skills, with how-to files 03-07 thinned to orchestrators So that strategic planning phases from initiative definition through story breakdown are executable, consistent skills
Where: dataset/.skills/process/plan-initiatives/, dataset/.skills/process/map-subdomains/, dataset/.skills/process/map-contexts/, dataset/.skills/process/plan-epics/, dataset/.skills/process/plan-stories/, .pair/knowledge/how-to/03-*.md through 07-*.md
Given a project with a PRD and bootstrap complete When/plan-initiatives is invoked Then the skill follows the initiative creation process: PRD analysis → prioritization (P0/P1/P2) → initiative creation → documentation, composing /write-issue with $type: initiative and initiative-template.md for PM tool integration
Given/plan-initiatives is invoked and some initiatives already exist in the PM tool When the skill evaluates the current state Then it detects existing initiatives, skips them, and creates only missing ones (idempotent execution)
Given initiatives exist When/map-subdomains is invoked Then the skill follows subdomain definition: business capability analysis → DDD classification (core/supporting/generic) → subdomain specification, reading collaboration/templates/subdomain-template.md and producing files in adoption/product/subdomain/ following that template structure
Given/map-subdomains is invoked and some subdomain files already exist When the skill evaluates existing files Then it detects already-defined subdomains, skips them, and defines only missing ones. Offers to update existing subdomains if the developer requests it.
Given subdomains defined When/map-contexts is invoked Then the skill follows bounded context definition: constraint extraction → context catalog → integration pattern validation, reading collaboration/templates/bounded-context-template.md and producing files in adoption/tech/boundedcontext/ following that template structure
Given/map-contexts is invoked and some bounded context files already exist When the skill evaluates existing files Then it detects already-defined contexts, skips them, and defines only missing ones.
Given bounded contexts defined When/plan-epics is invoked Then the skill follows epic breakdown: initiative selection → epic analysis → epic documentation, composing /write-issue with $type: epic and epic-template.md for PM tool
Given/plan-epics is invoked and some epics already exist for the selected initiative When the skill evaluates existing epics in PM tool Then it detects existing epics, skips them, and creates only missing ones.
Given epics defined When/plan-stories is invoked Then the skill follows story breakdown: epic selection → story identification (vertical slicing, INVEST) → story documentation, composing /write-issue with $type: story and user-story-template.md for PM tool
Given/plan-stories is invoked and some stories already exist for the selected epic When the skill evaluates existing stories Then it detects existing stories, skips them, and creates only missing ones.
Given/write-issue is invoked with $type: epic and epic content When the skill executes Then it reads epic-template.md (collaboration/templates/epic-template.md), formats the issue body following that template structure, and creates (no $id) or updates ($id provided) the issue in the adopted PM tool
Given/write-issue is invoked with $type: initiative and initiative content When the skill executes Then it reads initiative-template.md (collaboration/templates/initiative-template.md), formats the issue body following that template structure, and creates (no $id) or updates ($id provided) the issue in the adopted PM tool
Given how-to files 03-07 are thinned When a non-skill assistant reads any of them Then each remains readable with phase flows, HALT conditions, priority frameworks, and selection criteria
Given pair's existing subdomain files in adoption/product/subdomain/ When this story is implemented Then all existing subdomain files are updated to conform to the new subdomain-template.md structure
Given pair's existing bounded context files in adoption/tech/boundedcontext/ When this story is implemented Then all existing bounded context files are updated to conform to the new bounded-context-template.md structure
Business Rules
Idempotent execution (cross-cutting, applies to ALL skills): every step in a skill MUST check current state before acting, and only execute missing actions. Re-invoking a skill on a partially completed workflow resumes from where it left off — never re-does already completed work.
/write-issue extension: this story extends /write-issue (from #101) with two new types:
Both templates already exist in the repo. /write-issue type validation is updated to accept story | task | epic | initiative.
All /write-issue rules apply: $id for create/update, PM tool agnostic (no fallback), template-driven formatting.
Template-driven design artifacts: subdomains and bounded contexts are design/documentation artifacts (not PM tool issues), but they follow the same template-driven pattern:
/map-subdomains reads collaboration/templates/subdomain-template.md → produces files in adoption/product/subdomain/
/map-contexts reads collaboration/templates/bounded-context-template.md → produces files in adoption/tech/boundedcontext/
These skills write adoption files directly (NOT via /write-issue, since these are not PM tool issues).
Templates are created in this story, extracting the structure already defined in the how-to files and existing adoption files.
Pair adoption alignment: existing subdomain and bounded context files in pair's own adoption (adoption/product/subdomain/*.md, adoption/tech/boundedcontext/*.md) MUST be updated to conform to the new templates. This ensures pair's own KB is consistent with the templates it provides.
how-to-07 (308 lines → ~100 lines): keeps HALT gates, INVEST framework, vertical slicing principles; loses story pattern identification, template filling
/plan-initiatives, /plan-epics, /plan-stories compose /write-issue for PM tool integration (with template-driven formatting and duplicate detection)
/map-subdomains and /map-contexts produce adoption files directly following their respective templates
Edge Cases and Error Handling
Prerequisites missing (e.g. no PRD for initiatives, no subdomains for contexts): skill HALTs — inherited from how-to HALT conditions
Partial completion: re-invocation detects existing output and creates only missing items
Output file conflicts: /map-subdomains and /map-contexts detect existing files, offer update on request
PM tool items out of sync: /plan-initiatives, /plan-epics, /plan-stories detect existing issues via /write-issue duplicate detection
Epic/initiative template not found: /write-issue HALTs with error indicating which template is missing
Subdomain/bounded-context template not found: /map-subdomains or /map-contexts HALTs with error indicating which template is missing
Unsupported $type before this story: if /write-issue receives $type: epic or $type: initiative before this story is implemented, it HALTs with "unsupported type" (expected, resolved by this story)
Definition of Done Checklist
Development Completion
5 process SKILL.md files created with valid frontmatter and idempotent checks
/write-issue SKILL.md updated to support epic and initiative types with template references
collaboration/templates/subdomain-template.md created — extracted from how-to-04 and existing subdomain files
collaboration/templates/bounded-context-template.md created — extracted from how-to-05 and existing bounded context files
/map-subdomains reads subdomain-template.md to produce adoption files
/map-contexts reads bounded-context-template.md to produce adoption files
Pair's existing subdomain files (adoption/product/subdomain/*.md) updated to conform to subdomain-template.md
Pair's existing bounded context files (adoption/tech/boundedcontext/*.md) updated to conform to bounded-context-template.md
How-to files 03-07 thinned to orchestration only (~420 total lines)
Every skill step follows check→skip→act→verify pattern (idempotency)
/plan-initiatives composes /write-issue with $type: initiative + initiative-template.md
/plan-epics composes /write-issue with $type: epic + epic-template.md
/plan-stories composes /write-issue with $type: story + user-story-template.md
All 5 thinned how-to files readable as standalone
All 5 skills invocable in Claude Code
Code reviewed and merged
Quality Assurance
Each skill follows established process skill pattern (including idempotency)
Re-invocation of each skill with partial output → creates only missing items
HALT conditions from how-to files preserved
/write-issue $type: epic → issue body follows epic-template.md
/write-issue $type: initiative → issue body follows initiative-template.md
/write-issue existing story and task types still work correctly (no regression)
/map-subdomains produces files following subdomain-template.md
/map-contexts produces files following bounded-context-template.md
Pair's existing subdomain files conform to subdomain-template.md (no content lost)
Pair's existing bounded context files conform to bounded-context-template.md (no content lost)
Thinned how-to files reviewed for standalone readability
Story Sizing and Sprint Readiness
Refined Story Points
Final Story Points: L(5) Confidence Level: High Sizing Justification: 5 SKILL.md + 5 how-to thinnings + /write-issue extension (2 new types) + 2 new templates (subdomain, bounded-context) + pair adoption files update (9 files) + idempotency per skill. Volume is high but pattern is fully established. Templates are extracted from existing structures. Adoption file updates are restructuring, not rewriting.
Sprint Fit Assessment
Sprint Fit: Yes — single sprint Development Estimate: 3-4 days (batch processing, pattern established) Testing Estimate: 1 day (invocation + re-invocation + /write-issue extension + template validation + adoption alignment + standalone readability)
Dependencies and Coordination
Story Dependencies
Prerequisite Stories: #98 (skill infrastructure), #101 (/write-issue for PM integration — this story extends it with epic + initiative types) Dependent Stories: None — these complete the process skill axis
Validation and Testing Strategy
Acceptance Testing
Invoke each of the 5 skills in Claude Code → verify phase process
Re-invoke each skill with partial output already existing → verify creates only missing items
Invoke /plan-initiatives → verify composes /write-issue with $type: initiative, issue body follows initiative-template.md
Invoke /plan-epics → verify composes /write-issue with $type: epic, issue body follows epic-template.md
Invoke /plan-stories → verify composes /write-issue with $type: story, issue body follows user-story-template.md
Invoke /write-issue with $type: epic, no $id → verify creates issue following epic template
Invoke /write-issue with $type: initiative, $id: 10 → verify updates issue following initiative template
Invoke /map-subdomains → verify produces files following subdomain-template.md
Invoke /map-contexts → verify produces files following bounded-context-template.md
Verify pair's subdomain files updated to match subdomain-template.md — all content preserved, structure standardized
Verify pair's bounded context files updated to match bounded-context-template.md — all content preserved, structure standardized
Read all 5 thinned how-to files → verify standalone readability
Verify HALT conditions work (e.g. invoke /map-contexts without subdomains)
Notes
Open questions resolved:
Thin all 5 at once: yes, batch processing (pattern established)
Idempotency: each skill checks existing output before acting. /plan-initiatives checks PM tool, /map-subdomains checks adoption files, etc. All follow check→skip→act→verify pattern.
/write-issue extension: this story adds epic and initiative to /write-issue's supported types. Templates already exist (epic-template.md, initiative-template.md). After this story, /write-issue supports: story | task | epic | initiative.
Subdomain and bounded context templates: new templates created (subdomain-template.md, bounded-context-template.md) extracted from the structure already defined in how-to-04/05 and existing adoption files. /map-subdomains and /map-contexts read these templates directly (not via /write-issue, since these are design artifacts, not PM tool issues).
Pair adoption alignment: existing subdomain (5 files) and bounded context (4 files) files in pair's own adoption are updated to conform to the new templates. Content is preserved, structure is standardized.
These 5 skills complete the process axis — all 11 how-to phases have corresponding skills.
Refinement Date: 2026-02-08 Review and Approval: Approved (2026-02-09)
Technical Analysis
Implementation Approach
Technical Strategy: Write 5 process SKILL.md files + thin 5 how-to files + extend /write-issue with 2 new types + create 2 new templates (subdomain, bounded-context) + update pair's existing adoption files to match new templates. High volume but low complexity — pattern is fully established by Circle 1 (#98-#101). Each skill follows the same structure: check existing output → read context → read template → execute phases for missing items → produce output following template. YAML frontmatter description MUST be single-line (quoted string, no >- multi-line) for VS Code prompts-diagnostics-provider compatibility.
All existing /write-issue behavior unchanged (PM tool agnostic, $id create/update, no fallback)
Supported types after this story: story | task | epic | initiative
New Templates (extracted from existing patterns):
subdomain-template.md: Title + Classification, Business Purpose, Key Capabilities, Strategic Importance, Complexity Assessment, Data Ownership, Dependencies, Team Recommendations, Implementation Priority
bounded-context-template.md: Title + Type, Subdomains Covered, Business Scope and Purpose, Relationships Between Bounded Context and Sub Domains, Integration Patterns, Data Ownership, Team Alignment, Ubiquitous Language, Quality Attributes
Pair Adoption Update:
Existing subdomain files (5 files): update to match subdomain-template.md — fill missing sections, standardize structure
Existing bounded context files (4 files): update to match bounded-context-template.md — fill missing sections, standardize structure
Estimated total lines removed: ~860 lines across 5 how-to files (from ~1280 to ~420)
Technical Risks and Mitigation
Risk
Impact
Probability
Mitigation Strategy
5 how-to thinnings at once = large diff
Low
Medium
Pattern established, each thinning independent, review per file
/map-subdomains and /map-contexts DDD content complex
Medium
Low
Content already well-structured in how-to files
Duplicate detection across PM tools unreliable
Medium
Low
Delegates to /write-issue which already handles duplicate detection (#101)
/write-issue modification introduces regression
Medium
Low
Only adds new types, no change to existing story/task behavior
Existing adoption files may lose content during template alignment
Medium
Low
Preserve all existing content, only restructure to match template sections
Task Breakdown
T-1: Create subdomain + bounded-context templates, conform existing files
T-2: Update /write-issue for epic + initiative types
Summary: Create subdomain-template.md and bounded-context-template.md. Update existing adoption files in adoption/product/subdomain/ and adoption/tech/boundedcontext/ to conform to templates.
Type: Feature Implementation
Description: Two new template files enable /map-subdomains and /map-contexts to produce standardized output. Existing subdomain and BC files must be updated to match the template structure so new files follow the same pattern.
Summary: Thin 5 how-to files (03 through 07) removing operational content moved to skills T-3 through T-7. Keep orchestration, HALT gates, references. ~860 lines removed total.
Type: Refactoring
Description: Thin each how-to file to orchestration-only: phase flow, HALT conditions, approval gates, references, next steps. Operational content (procedures, templates, checklists) moved to corresponding SKILL.md files. Each thinned file must remain standalone readable.
Resolution
Delivered by PR #118 (merged). Board: Done.
feat: strategic planning process skills.
Story Statement
As a product manager or staff engineer doing strategic planning with AI assistance
I want to invoke
/plan-initiatives,/map-subdomains,/map-contexts,/plan-epics,/plan-storiesprocess skills, with how-to files 03-07 thinned to orchestratorsSo that strategic planning phases from initiative definition through story breakdown are executable, consistent skills
Where:
dataset/.skills/process/plan-initiatives/,dataset/.skills/process/map-subdomains/,dataset/.skills/process/map-contexts/,dataset/.skills/process/plan-epics/,dataset/.skills/process/plan-stories/,.pair/knowledge/how-to/03-*.mdthrough07-*.mdEpic Context
Parent Epic: Agent Skills in Knowledge Base #97
Status: Refined
Priority: P1 (Should-Have)
Acceptance Criteria
Functional Requirements
Given a project with a PRD and bootstrap complete
When
/plan-initiativesis invokedThen the skill follows the initiative creation process: PRD analysis → prioritization (P0/P1/P2) → initiative creation → documentation, composing
/write-issuewith$type: initiativeandinitiative-template.mdfor PM tool integrationGiven
/plan-initiativesis invoked and some initiatives already exist in the PM toolWhen the skill evaluates the current state
Then it detects existing initiatives, skips them, and creates only missing ones (idempotent execution)
Given initiatives exist
When
/map-subdomainsis invokedThen the skill follows subdomain definition: business capability analysis → DDD classification (core/supporting/generic) → subdomain specification, reading
collaboration/templates/subdomain-template.mdand producing files inadoption/product/subdomain/following that template structureGiven
/map-subdomainsis invoked and some subdomain files already existWhen the skill evaluates existing files
Then it detects already-defined subdomains, skips them, and defines only missing ones. Offers to update existing subdomains if the developer requests it.
Given subdomains defined
When
/map-contextsis invokedThen the skill follows bounded context definition: constraint extraction → context catalog → integration pattern validation, reading
collaboration/templates/bounded-context-template.mdand producing files inadoption/tech/boundedcontext/following that template structureGiven
/map-contextsis invoked and some bounded context files already existWhen the skill evaluates existing files
Then it detects already-defined contexts, skips them, and defines only missing ones.
Given bounded contexts defined
When
/plan-epicsis invokedThen the skill follows epic breakdown: initiative selection → epic analysis → epic documentation, composing
/write-issuewith$type: epicandepic-template.mdfor PM toolGiven
/plan-epicsis invoked and some epics already exist for the selected initiativeWhen the skill evaluates existing epics in PM tool
Then it detects existing epics, skips them, and creates only missing ones.
Given epics defined
When
/plan-storiesis invokedThen the skill follows story breakdown: epic selection → story identification (vertical slicing, INVEST) → story documentation, composing
/write-issuewith$type: storyanduser-story-template.mdfor PM toolGiven
/plan-storiesis invoked and some stories already exist for the selected epicWhen the skill evaluates existing stories
Then it detects existing stories, skips them, and creates only missing ones.
Given
/write-issueis invoked with$type: epicand epic contentWhen the skill executes
Then it reads
epic-template.md(collaboration/templates/epic-template.md), formats the issue body following that template structure, and creates (no$id) or updates ($idprovided) the issue in the adopted PM toolGiven
/write-issueis invoked with$type: initiativeand initiative contentWhen the skill executes
Then it reads
initiative-template.md(collaboration/templates/initiative-template.md), formats the issue body following that template structure, and creates (no$id) or updates ($idprovided) the issue in the adopted PM toolGiven how-to files 03-07 are thinned
When a non-skill assistant reads any of them
Then each remains readable with phase flows, HALT conditions, priority frameworks, and selection criteria
Given pair's existing subdomain files in
adoption/product/subdomain/When this story is implemented
Then all existing subdomain files are updated to conform to the new
subdomain-template.mdstructureGiven pair's existing bounded context files in
adoption/tech/boundedcontext/When this story is implemented
Then all existing bounded context files are updated to conform to the new
bounded-context-template.mdstructureBusiness Rules
$type: epic→ readscollaboration/templates/epic-template.md$type: initiative→ readscollaboration/templates/initiative-template.mdstory | task | epic | initiative.$idfor create/update, PM tool agnostic (no fallback), template-driven formatting.collaboration/templates/subdomain-template.md→ produces files inadoption/product/subdomain/collaboration/templates/bounded-context-template.md→ produces files inadoption/tech/boundedcontext/adoption/product/subdomain/*.md,adoption/tech/boundedcontext/*.md) MUST be updated to conform to the new templates. This ensures pair's own KB is consistent with the templates it provides.adoption/product/subdomain/for existing filesadoption/tech/boundedcontext/for existing files/write-issuefor PM tool integration (with template-driven formatting and duplicate detection)Edge Cases and Error Handling
$typebefore this story: if /write-issue receives$type: epicor$type: initiativebefore this story is implemented, it HALTs with "unsupported type" (expected, resolved by this story)Definition of Done Checklist
Development Completion
epicandinitiativetypes with template referencescollaboration/templates/subdomain-template.mdcreated — extracted from how-to-04 and existing subdomain filescollaboration/templates/bounded-context-template.mdcreated — extracted from how-to-05 and existing bounded context filessubdomain-template.mdto produce adoption filesbounded-context-template.mdto produce adoption filesadoption/product/subdomain/*.md) updated to conform tosubdomain-template.mdadoption/tech/boundedcontext/*.md) updated to conform tobounded-context-template.md$type: initiative+initiative-template.md$type: epic+epic-template.md$type: story+user-story-template.mdQuality Assurance
$type: epic→ issue body followsepic-template.md$type: initiative→ issue body followsinitiative-template.mdstoryandtasktypes still work correctly (no regression)subdomain-template.mdbounded-context-template.mdsubdomain-template.md(no content lost)bounded-context-template.md(no content lost)Story Sizing and Sprint Readiness
Refined Story Points
Final Story Points: L(5)
Confidence Level: High
Sizing Justification: 5 SKILL.md + 5 how-to thinnings + /write-issue extension (2 new types) + 2 new templates (subdomain, bounded-context) + pair adoption files update (9 files) + idempotency per skill. Volume is high but pattern is fully established. Templates are extracted from existing structures. Adoption file updates are restructuring, not rewriting.
Sprint Fit Assessment
Sprint Fit: Yes — single sprint
Development Estimate: 3-4 days (batch processing, pattern established)
Testing Estimate: 1 day (invocation + re-invocation + /write-issue extension + template validation + adoption alignment + standalone readability)
Dependencies and Coordination
Story Dependencies
Prerequisite Stories: #98 (skill infrastructure), #101 (/write-issue for PM integration — this story extends it with epic + initiative types)
Dependent Stories: None — these complete the process skill axis
Validation and Testing Strategy
Acceptance Testing
/plan-initiatives→ verify composes /write-issue with$type: initiative, issue body followsinitiative-template.md/plan-epics→ verify composes /write-issue with$type: epic, issue body followsepic-template.md/plan-stories→ verify composes /write-issue with$type: story, issue body followsuser-story-template.md/write-issuewith$type: epic, no$id→ verify creates issue following epic template/write-issuewith$type: initiative,$id: 10→ verify updates issue following initiative template/map-subdomains→ verify produces files followingsubdomain-template.md/map-contexts→ verify produces files followingbounded-context-template.mdsubdomain-template.md— all content preserved, structure standardizedbounded-context-template.md— all content preserved, structure standardizedNotes
Open questions resolved:
epicandinitiativeto /write-issue's supported types. Templates already exist (epic-template.md,initiative-template.md). After this story, /write-issue supports:story | task | epic | initiative.subdomain-template.md,bounded-context-template.md) extracted from the structure already defined in how-to-04/05 and existing adoption files. /map-subdomains and /map-contexts read these templates directly (not via /write-issue, since these are design artifacts, not PM tool issues).These 5 skills complete the process axis — all 11 how-to phases have corresponding skills.
Design reference:
docs/design/skills-in-knowledge-base.mdsections 1, 2Refinement Date: 2026-02-08
Review and Approval: Approved (2026-02-09)
Technical Analysis
Implementation Approach
Technical Strategy: Write 5 process SKILL.md files + thin 5 how-to files + extend /write-issue with 2 new types + create 2 new templates (subdomain, bounded-context) + update pair's existing adoption files to match new templates. High volume but low complexity — pattern is fully established by Circle 1 (#98-#101). Each skill follows the same structure: check existing output → read context → read template → execute phases for missing items → produce output following template. YAML frontmatter description MUST be single-line (quoted string, no >- multi-line) for VS Code prompts-diagnostics-provider compatibility.
Key Files Modified/Created:
dataset/.skills/process/plan-initiatives/SKILL.md(idempotent: checks existing initiatives)dataset/.skills/process/map-subdomains/SKILL.md(idempotent: checks existing subdomain files, template-driven)dataset/.skills/process/map-contexts/SKILL.md(idempotent: checks existing context files, template-driven)dataset/.skills/process/plan-epics/SKILL.md(idempotent: checks existing epics)dataset/.skills/process/plan-stories/SKILL.md(idempotent: checks existing stories)dataset/.skills/capability/write-issue/SKILL.md— updated to addepicandinitiativetypes with their template referencesdataset/.pair/knowledge/guidelines/collaboration/templates/subdomain-template.md— new, extracted from how-to-04 Phase 3 structure and existing subdomain filesdataset/.pair/knowledge/guidelines/collaboration/templates/bounded-context-template.md— new, extracted from how-to-05 Phase 3 structure and existing bounded context filesdataset/.pair/adoption/product/subdomain/*.md— updated to conform tosubdomain-template.mddataset/.pair/adoption/tech/boundedcontext/*.md— updated to conform tobounded-context-template.md/write-issue Extension:
epicandinitiativeto supported$typevalues$type: epic→collaboration/templates/epic-template.md$type: initiative→collaboration/templates/initiative-template.md$idcreate/update, no fallback)story | task | epic | initiativeNew Templates (extracted from existing patterns):
subdomain-template.md: Title + Classification, Business Purpose, Key Capabilities, Strategic Importance, Complexity Assessment, Data Ownership, Dependencies, Team Recommendations, Implementation Prioritybounded-context-template.md: Title + Type, Subdomains Covered, Business Scope and Purpose, Relationships Between Bounded Context and Sub Domains, Integration Patterns, Data Ownership, Team Alignment, Ubiquitous Language, Quality AttributesPair Adoption Update:
subdomain-template.md— fill missing sections, standardize structurebounded-context-template.md— fill missing sections, standardize structureEstimated total lines removed: ~860 lines across 5 how-to files (from ~1280 to ~420)
Technical Risks and Mitigation
Task Breakdown
Dependency Graph
AC Coverage
T-1: Create subdomain + bounded-context templates, conform existing files
Priority: P0 | Estimated Hours: 3h | Bounded Context: KB Management
Summary: Create
subdomain-template.mdandbounded-context-template.md. Update existing adoption files inadoption/product/subdomain/andadoption/tech/boundedcontext/to conform to templates.Type: Feature Implementation
Description: Two new template files enable /map-subdomains and /map-contexts to produce standardized output. Existing subdomain and BC files must be updated to match the template structure so new files follow the same pattern.
Acceptance Criteria:
guidelines/collaboration/templates/Implementation Approach:
dataset/.pair/knowledge/guidelines/collaboration/templates/subdomain-template.md— newdataset/.pair/knowledge/guidelines/collaboration/templates/bounded-context-template.md— newdataset/.pair/adoption/product/subdomain/*.md— update to conformdataset/.pair/adoption/tech/boundedcontext/*.md— update to conformDependencies:
Implementation Steps:
Testing Strategy:
T-2: Update /write-issue for epic + initiative types
Priority: P0 | Estimated Hours: 2h | Bounded Context: KB Management
Summary: Extend /write-issue to support
$type: epicand$type: initiativein addition to existingstoryandtask.Type: Feature Implementation
Description: Update
dataset/.skills/capability/write-issue/SKILL.mdStep 1 validation and Step 3 template resolution to acceptepicandinitiativetypes. Create corresponding templates if needed, or reference existing PM tool implementation guide conventions.Acceptance Criteria:
$type: epicand$type: initiativeImplementation Approach:
dataset/.skills/capability/write-issue/SKILL.md— update (add epic, initiative types)dataset/.pair/knowledge/guidelines/collaboration/templates/epic-template.md— new (if needed)dataset/.pair/knowledge/guidelines/collaboration/templates/initiative-template.md— new (if needed)Dependencies:
Implementation Steps:
epicandinitiativeto Step 1 supported typesTesting Strategy:
T-3: Create /plan-initiatives SKILL.md
Priority: P0 | Estimated Hours: 3h | Bounded Context: KB Management
Summary: Write the /plan-initiatives process skill. Composes /write-issue for PM tool integration. Idempotent: detects existing initiatives.
Type: Feature Implementation
Description: Create
dataset/.skills/process/plan-initiatives/SKILL.md. Extracts operational content from how-to-03. Guides strategic initiative creation from PRD goals. Composes /write-issue with$type: initiative. Idempotent: detects existing initiatives in PM tool, skips already-created ones.Acceptance Criteria:
dataset/.skills/process/plan-initiatives/SKILL.mdwith valid frontmatterImplementation Approach:
dataset/.skills/process/plan-initiatives/SKILL.md— newDependencies:
Implementation Steps:
Testing Strategy:
T-4: Create /map-subdomains SKILL.md
Priority: P0 | Estimated Hours: 3h | Bounded Context: KB Management
Summary: Write the /map-subdomains process skill. Reads subdomain template, produces subdomain files. Idempotent: detects existing subdomain definitions.
Type: Feature Implementation
Description: Create
dataset/.skills/process/map-subdomains/SKILL.md. Extracts operational content from how-to-04. Guides domain decomposition producing subdomain catalog files inadoption/product/subdomain/. Uses subdomain-template.md from T-1. Idempotent: detects existing files, offers update.Acceptance Criteria:
dataset/.skills/process/map-subdomains/SKILL.mdwith valid frontmatterImplementation Approach:
dataset/.skills/process/map-subdomains/SKILL.md— newDependencies:
Implementation Steps:
Testing Strategy:
T-5: Create /map-contexts SKILL.md
Priority: P0 | Estimated Hours: 3h | Bounded Context: KB Management
Summary: Write the /map-contexts process skill. Reads bounded-context template, produces BC files. Idempotent: detects existing BC definitions.
Type: Feature Implementation
Description: Create
dataset/.skills/process/map-contexts/SKILL.md. Extracts operational content from how-to-05. Guides bounded context definition from subdomain catalog. Uses bounded-context-template.md from T-1. Idempotent: detects existing files, offers update.Acceptance Criteria:
dataset/.skills/process/map-contexts/SKILL.mdwith valid frontmatterImplementation Approach:
dataset/.skills/process/map-contexts/SKILL.md— newDependencies:
Implementation Steps:
Testing Strategy:
T-6: Create /plan-epics SKILL.md
Priority: P0 | Estimated Hours: 3h | Bounded Context: KB Management
Summary: Write the /plan-epics process skill. Composes /write-issue for PM tool integration. Idempotent: detects existing epics.
Type: Feature Implementation
Description: Create
dataset/.skills/process/plan-epics/SKILL.md. Extracts operational content from how-to-06. Guides epic breakdown from initiatives. Composes /write-issue with$type: epic. Idempotent: detects existing epics, skips already-created ones.Acceptance Criteria:
dataset/.skills/process/plan-epics/SKILL.mdwith valid frontmatterImplementation Approach:
dataset/.skills/process/plan-epics/SKILL.md— newDependencies:
Implementation Steps:
Testing Strategy:
T-7: Create /plan-stories SKILL.md
Priority: P0 | Estimated Hours: 3h | Bounded Context: KB Management
Summary: Write the /plan-stories process skill. Composes /write-issue for PM tool integration. Idempotent: detects existing stories.
Type: Feature Implementation
Description: Create
dataset/.skills/process/plan-stories/SKILL.md. Extracts operational content from how-to-07. Guides story breakdown from epics with INVEST validation. Composes /write-issue with$type: story. Idempotent: detects existing stories, skips already-created ones.Acceptance Criteria:
dataset/.skills/process/plan-stories/SKILL.mdwith valid frontmatterImplementation Approach:
dataset/.skills/process/plan-stories/SKILL.md— newDependencies:
Implementation Steps:
Testing Strategy:
T-8: Thin how-to files 03-07
Priority: P0 | Estimated Hours: 4h | Bounded Context: KB Management
Summary: Thin 5 how-to files (03 through 07) removing operational content moved to skills T-3 through T-7. Keep orchestration, HALT gates, references. ~860 lines removed total.
Type: Refactoring
Description: Thin each how-to file to orchestration-only: phase flow, HALT conditions, approval gates, references, next steps. Operational content (procedures, templates, checklists) moved to corresponding SKILL.md files. Each thinned file must remain standalone readable.
Acceptance Criteria:
Implementation Approach:
dataset/.pair/knowledge/how-to/03-how-to-create-and-prioritize-initiatives.mddataset/.pair/knowledge/how-to/04-how-to-define-subdomains.mddataset/.pair/knowledge/how-to/05-how-to-define-bounded-contexts.mddataset/.pair/knowledge/how-to/06-how-to-breakdown-epics.mddataset/.pair/knowledge/how-to/07-how-to-breakdown-user-stories.mdDependencies:
Implementation Steps:
Testing Strategy: