architect-analyze
Use when validating generated or refined architecture artifacts, before feature development, during architecture review, or…
Use when PDRs need refinement, conflict detection, or approval to Accepted status before /product-implement.
$ npx -y skills add tikalk/adlc-team-skills --skill product-clarify --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/product-clarifyContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when PDRs need refinement, conflict detection, or approval to Accepted status before /product-implement.
name: product-clarify description: Use when PDRs need refinement, conflict detection, or approval to Accepted status before /product-implement. disable-model-invocation: true
Reviews existing PDRs for quality gaps, asks targeted clarification questions, and promotes approved PDRs to **Accepted** status. This is the quality gate before PRD generation.
**Input**: Individual `PDR-*.md` files in `.adlc/drafts/pdr/` (status Proposed or Discovered)
**Output**: Updated `PDR-*.md` files (status Accepted where approved), regenerated `pdr.md` index
1. **Run setup script**:
sh: scripts/bash/setup-product-clarify.sh [--json] ps: scripts/powershell/setup-product-clarify.ps1
2. **Read all PDR files** from `{REPO_ROOT}/.adlc/drafts/pdr/PDR-*.md` 3. **Read constitution** from `{REPO_ROOT}/docs/adlc/memory/constitution.md`, falling back to legacy `{REPO_ROOT}/.adlc/memory/constitution.md` (dual-read), if either exists 4. **Build inventory**:
| PDR | Title | Status | Category | |-----|-------|--------|----------| | PDR-001 | Target Market | Proposed | Problem | | PDR-002 | Primary Persona | Proposed | Persona |
Check if the draft being reviewed uses the lightweight draft template (indicated by presence of `type`, `evidence`, `source`, `revisit-when` fields in frontmatter and `## Rejected Alternatives` / `## Reason` body sections without the full formal template sections).
If lightweight: 1. Read the draft's captured fields (Context, Decision, Rejected Alternatives, Reason) 2. Transform to full formal template:
3. Enrich from session context (add details the lightweight draft may have omitted) 4. Present the enriched draft for review
If already full format, proceed with normal review.
Check each PDR against standards:
| Dimension | Check | Severity if Missing | |-----------|-------|---------------------| | Context | Problem clearly stated | MEDIUM | | Decision | Actionable, testable | HIGH | | Consequences | Positive AND negative | HIGH | | Success Metrics | Defined with targets | HIGH | | Alternatives | At least 2 with neutral trade-offs | HIGH | | Constitution | Aligns with vision | CRITICAL |
**Quality checklist**:
1. **Conflicting Decisions**: Same concept, different decisions across PDRs 2. **Missing Dependencies**: PDRs that should reference each other 3. **Terminology Drift**: Same concept named differently 4. **Priority Conflicts**: One PDR says B2B, another assumes B2C
Generate gap report:
## PDR Clarification Report | PDR | Title | Gap Type | Severity | |-----|-------|----------|----------| | PDR-001 | [Title] | Missing alternatives | HIGH | | PDR-002 | [Title] | Incomplete consequences | MEDIUM |
**Severity**:
For each gap, present one clarification at a time:
## Clarification [N]: PDR-XXX — [Gap Type] **Current State**: [Quote current PDR content] **Gap Identified**: [Explain what's missing] **Question**: [Specific question] **Suggested Options**: | Option | Description | |--------|-------------| | A | [Option A] | | B | [Option B] | | C | [Custom response] |
**Rules**:
**For Duplicates**:
## Constitution Duplication Detected **PDR**: PDR-XXX — [Title] **Constitution Principle**: §[Section] — [Principle] **Options**: | Option | Action | |--------|--------| | A | Remove PDR | | B | Convert to Reference | | C | Add Context | | D | Extend |
**For Violations** (⭐ RECOMMENDED: Amend Constitution):
## Constitution Violation Detected ⭐ **⭐ RECOMMENDED: A. Amend Constitution** Update constitution §[Section] to accommodate this decision. **Alternatives**: B. Override in PDR — Document justification C. Revise PDR — Change decision to comply D. Remove PDR — Delete and follow constitution
1. **Apply clarifications** per-file 2. **Update status** where applicable 3. **Update "Last Updated"** timestamps 4. **Regenerate `pdr/pdr.md` index** — call `generate_pdr_index drafts` fro
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…