architect-analyze
Use when validating generated or refined architecture artifacts, before feature development, during architecture review, or…
Use when accepted PDRs exist and PRD.md must be generated or updated.
$ npx -y skills add tikalk/adlc-team-skills --skill product-implement --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/product-implementContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when accepted PDRs exist and PRD.md must be generated or updated.
name: product-implement description: Use when accepted PDRs exist and PRD.md must be generated or updated. disable-model-invocation: true
Transforms **accepted PDRs** into a comprehensive, self-contained `PRD.md` using a **three-phase DAG**:
1. **Plan Agent**: Analyze PDRs, detect feature-areas, generate customized DAG, get user approval 2. **Execute Agent**: Generate sections per feature-area with **mandatory checkpoint after Requirements** 3. **Summarize Agent**: Aggregate sections, resolve conflicts, produce unified `PRD.md`
**Output**:
**Before starting, verify prerequisites:**
1. **Check PDRs exist**: `{REPO_ROOT}/.adlc/drafts/pdr/PDR-*.md` 2. **Check for Accepted PDRs**: Count files with status "Accepted"
Cannot proceed: No Accepted PDRs found.
Run /product-clarify to review and approve PDRs first.┌─────────────────────────────────────────────────────────┐
│ PHASE 1: PLAN (Plan Agent) │
│ Load PDRs → Detect Feature-Areas → Generate DAG → Approve│
└─────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────┐
│ PHASE 2: EXECUTE (Execute Agent) │
│ Overview → Problem → Goals → Metrics → Personas │
│ → [REQUIREMENTS CHECKPOINT] ← MANDATORY USER APPROVAL │
│ → NFRs → Out-of-Scope → Risks → Roadmap → PDR-Summary │
└─────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────┐
│ PHASE 3: SUMMARIZE (Summarize Agent) │
│ Read sections → Detect conflicts → Resolve → PRD.md │
└─────────────────────────────────────────────────────────┘**Step 1.1: Load and Analyze PDRs**
1. Read all `PDR-*.md` files from `.adlc/drafts/pdr/` 2. Filter to **Accepted** status only 3. Parse feature-area from each PDR 4. Group PDRs by feature-area
**Step 1.2: Detect Feature-Area Characteristics**
| Characteristic | Detection Pattern | DAG Customization | |---------------|-------------------|-------------------| | B2B SaaS | Enterprise, admin, SSO | Include compliance sections | | Consumer App | Mobile, freemium, social | Simplify requirements | | Platform | API, integrations, developer | Expand NFRs | | Marketplace | Multi-sided, transaction | Add business model sections |
**Step 1.3: Generate Customized DAG**
**Default DAG** (all 15 sections):
Document Information → Executive Summary → Overview → Problem → Market Opportunity → Goals → Metrics → Personas → [CHECKPOINT: Requirements] → NFRs → Out-of-Scope → Risks → Investment → Roadmap → Go-to-Market → PDR-Summary
**Section numbering** (fixed):
**Step 1.4: Present Plan for Approval**
## DAG Execution Plan **Feature-Areas detected**: 3 **Total sections**: 15 **Feature-Area: Core** **PDRs**: PDR-001, PDR-005, PDR-008 **DAG**: Document Info → Executive Summary → Overview → Problem → Market Opportunity → Goals → Metrics → Personas → [Requirements Checkpoint] → NFRs → Out-of-Scope → Risks → Investment → Roadmap → GTM → PDR-Summary **Approve this plan?** [Yes/Modify/Cancel]
**Step 1.5: Write state.json**
{
"version": "1.0",
"phase": "plan_approved",
"feature_areas": [
{
"id": "core",
"name": "Core",
"pdrs": ["PDR-001", "PDR-005"],
"dag": ["document-info", "executive-summary", "overview", "problem", ...],
"progress": {}
}
],
"checkpoint": {
"enabled": true,
"after_section": "requirements",
"status": "pending"
}
}For each section in the DAG:
1. **Check dependencies** — ensure all prerequisites completed 2. **Load section template** — `../templates/sections/{section}.md` 3. **Generate content** — fill template with PDR-derived content 4. **Write section file** — `.adlc/product/sections/{feature-area}/{section}.md` 5. **Validate** — run `scripts/bash/validate-prd.sh {section}.md` 6. **Update state.json** — mark section as "completed"
**Section template usage** (MANDATORY):
**In-section diagrams** (MANDATORY):
| Section | Diagram Type | Subsection | |---------|-------------|------------| | 2. Overview | Feature Hierarchy (`flowchart TD`) | 2.4 | | 2. Overview | Architecture (`flowchart TB`) | 2.5 | | 6. Personas | User Journey (`journey`) | 6.4 | | 7. Requirements | Req Dependencies (`flowchart LR`) | 7.4 | | 7. Requirements | Feature Dependencies (`flowchart LR`) | 7.5 | | 11. Roadmap | Gantt Chart (`gantt`) | 11.1 |
**Requiremen
Agent skills that give coding agents your team's context at session start, so they stop working like strangers.
Use when validating generated or refined architecture artifacts, before feature development, during architecture review, or…
Use when architecture work starts or a tech-stack or pattern decision emerges — injects the project ADR index…
Use when ADRs need review, gaps need filling, or ADR status must be approved as Accepted before architecture generation.
Use when accepted ADRs exist and AD.md must be produced or updated as unified architecture documentation.
Use when bootstrapping architecture documentation for a brownfield project by reverse-engineering ADRs from an existing codebase.
Use when you want guided trade-off analysis, multi-option comparison, or structured architectural decision facilitation before…