Creates MADR-format ADR files and design specs with cross-links, optional feature branches, and verification for ITP workflow preflight phase.
From itpnpx claudepluginhub terrylica/cc-skills --plugin itpThis skill is limited to using the following tools:
references/adr-template.mdreferences/claude-code-ephemeral-context.mdreferences/evolution-log.mdreferences/perspectives-taxonomy.mdreferences/workflow-steps.mdscripts/preflight_validator.pySearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides idea refinement into designs: explores context, asks questions one-by-one, proposes approaches, presents sections for approval, writes/review specs before coding.
Execute the Preflight phase of the /itp:go workflow. Creates ADR and Design Spec artifacts with proper cross-linking and verification.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
/itp:go command during Preflight phaseP.1: Create Feature Branch (if -b flag)
│
▼
P.2: Create ADR File (MADR 4.0)
│
▼
P.3: Create Design Spec (from global plan)
│
▼
P.4: Verify Checkpoint (MANDATORY)
CRITICAL: Do NOT proceed to Phase 1 implementation until ALL preflight steps are complete and verified.
YYYY-MM-DD-slug
Example: 2025-12-01-clickhouse-aws-ohlcv-ingestion
| Artifact | Path |
|---|---|
| ADR | /docs/adr/$ADR_ID.md |
| Design Spec | /docs/design/$ADR_ID/spec.md |
| Global Plan | ~/.claude/plans/<adj-verb-noun>.md |
In ADR header:
**Design Spec**: [Implementation Spec](/docs/design/YYYY-MM-DD-slug/spec.md)
In spec.md header:
**ADR**: [Feature Name ADR](/docs/adr/YYYY-MM-DD-slug.md)
Only if -b flag specified. See Workflow Steps for details.
/docs/adr/$ADR_ID.mdadr-graph-easy-architect for diagramsmkdir -p docs/design/$ADR_IDcp ~/.claude/plans/<adj-verb-noun>.md docs/design/$ADR_ID/spec.mdRun validator or manual checklist:
uv run scripts/preflight_validator.py $ADR_ID
Checklist (ALL must be true):
/docs/adr/$ADR_ID.md**Design Spec**: link in header/docs/design/$ADR_ID/spec.md**ADR**: backlink in headerIf any item is missing: Create it now. Do NOT proceed to Phase 1.
---
status: proposed
date: YYYY-MM-DD
decision-maker: [User Name]
consulted: [Agent-1, Agent-2]
research-method: single-agent
clarification-iterations: N
perspectives: [Perspective1, Perspective2]
---
See ADR Template for full field descriptions.
⛔ MANDATORY: Every ADR must include EXACTLY 2 diagrams:
| Diagram | Location | Purpose |
|---|---|---|
| Before/After | Context section | Shows system state change |
| Architecture | Architecture section | Shows component relationships |
SKILL INVOCATION: Invoke adr-graph-easy-architect skill NOW to create BOTH diagrams.
BLOCKING GATE: Do NOT proceed to design spec until BOTH diagrams are embedded in ADR.
# Verify preflight artifacts
uv run scripts/preflight_validator.py <adr-id>
# Example
uv run scripts/preflight_validator.py 2025-12-01-my-feature
| Issue | Cause | Solution |
|---|---|---|
| Validator fails | Missing ADR or spec | Create both files before running validator |
| Frontmatter invalid | Missing required fields | Check all 7 ADR fields and 5 spec fields |
| Diagram not rendering | graph-easy not installed | Run brew install graph-easy |
| Spec phase mismatch | Wrong phase value | Use: preflight, phase-1, phase-2, or phase-3 |
| ADR status wrong | Manual status edit | Let workflow manage status transitions |
| Design folder missing | Wrong path structure | Use docs/design/YYYY-MM-DD-slug/spec.md |
After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.