一键导入
roadmap
ROADMAP + tasks generation rules. Single template enforced by Python; one input JSON renders ROADMAP.md and every docs/roadmap/tasks/T###-*.md.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ROADMAP + tasks generation rules. Single template enforced by Python; one input JSON renders ROADMAP.md and every docs/roadmap/tasks/T###-*.md.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | roadmap |
| description | ROADMAP + tasks generation rules. Single template enforced by Python; one input JSON renders ROADMAP.md and every docs/roadmap/tasks/T###-*.md. |
| user-invocable | false |
ROADMAP.md and every docs/roadmap/tasks/T###-{slug}.md are rendered by a deterministic
Python script from a single structured input JSON. The agent's job is to
interview the user, write a complete docs/.harness/roadmap-input.json, and
invoke the script. The script does all markdown formatting, dependency-graph
rendering, validation, and PRD F-ID cross-checking.
Pre-flight (Python)
python3 --version
If python3 is unavailable, STOP and report the blocker verbatim.
Read PRD — docs/PRD.md is the source of feature IDs.
roadmap-input.json references prd_feature_ids per task; the script
parses PRD.md headings (#### F001 — name) and rejects unknown IDs.
Interview — interview-protocol discipline: ambiguity = 0 before
writing. The main agent owns AskUserQuestion; the sub-agent enumerates
ambiguities (Pass 1) and applies answers (Pass 2).
Write input file
Write tool → docs/.harness/roadmap-input.json
Use the Write tool (not Bash heredoc) so JSON formatting stays clean.
Render
python3 "${CLAUDE_PLUGIN_ROOT}/skills/roadmap/scripts/generate_roadmap.py" \
--input docs/.harness/roadmap-input.json \
--roadmap docs/roadmap/ROADMAP.md \
--tasks-dir docs/roadmap/tasks
Handle [REJECT] — script exits non-zero with a single
[REJECT] <reason> line on stderr. Read the reason, fix the JSON, re-run.
Maximum 2 retry attempts; then surface the issue to the user.
Output is fixed:
docs/roadmap/ROADMAP.mdanddocs/roadmap/tasks/T###-{slug}.mdper task. Files whose content actually changes are backed up to<name>.bak.<timestamp>before overwriting; identical re-renders are no-op.
Two distinct flows. Pick by intent.
| Intent | Flow | Script |
|---|---|---|
| Add/remove tasks, change phases, edit any field | Edit JSON → re-render | generate_roadmap.py |
| Mark a task done (Phase 4 doc-sync) | Markdown surgery only | mark_complete.py |
mark_complete.py flips ## DoD checkboxes in the task file, appends a
## Change History row, and switches the ROADMAP entry from - [ ] to
- [x] ... ✅. It does not read the JSON — single-task completion never
requires re-rendering everything.
python3 "${CLAUDE_PLUGIN_ROOT}/skills/roadmap/scripts/mark_complete.py" \
--task T013 \
--change "Phase 2 (T013) 머지" \
--author "TaekyungHa" \
--roadmap docs/roadmap/ROADMAP.md \
--tasks-dir docs/roadmap/tasks
Authoritative source: scripts/generate_roadmap.py dataclasses. Field-by-field outline and the full [REJECT] trigger list live in references/input-schema.md. Top-level keys: meta / overview / phases[] / tasks[] / prd_feature_coverage[] / dependency_graph_render.
Rendered by the script — never written by hand. See references/output-templates.md for the ROADMAP and per-task layouts.
purpose,
io_contract, edge_cases_impl, etc.). Section headings and JSON keys
stay English/ASCII.pipeline.edge_cases_impl is the longest section. List every gotcha you
already see: error classes, fallback policies, page-size caps, role
gates, locale fallbacks, RLS rules, sync semantics. If something is
genuinely unclear, move it to open_questions[] instead of guessing.sequence is plain text, 3-10 numbered lines. It describes
request/response or control flow at a level a human can read aloud,
not pseudocode in TS syntax.dod[] is the AC contract. The Phase 4 doc-sync gate
(pr-create-guard.sh Condition 2c) blocks PR creation if a ROADMAP-marked
task still has unchecked - [ ] items in its body — DoD is the only
[ ]-checklist the body should contain.open_questions[] carries [NEEDS USER] markers for ambiguities
that require user confirmation. The Phase 2 entry block of
pipeline rejects any task that still contains a [NEEDS USER]
marker. Store the question text WITHOUT a [NEEDS USER] prefix — the
renderer auto-prepends [NEEDS USER] when needs_user: true. Adding the
prefix manually produces a duplicated [NEEDS USER] [NEEDS USER] marker.User, Place, Itinerary,
DayItem, AiUsageLedger, ConsentLog, ShareLink, Subscription,
Translation, LocalTip, PushToken — the task MUST cite the
corresponding PRD §7.x subsection in io_contract or
edge_cases_impl. The same rule applies when a task encodes a policy
defined in another PRD section (e.g., quota numbers from §4.4, sync
semantics from §11, privacy from §10, edge cases from §13). Bare entity
names without §-citations cause schema drift over time and break the
PRD-as-SoT contract.phase.task_ids[] ↔ tasks[].phase_idblocked_by ∪ blocksdocs/PRD.mdprd_feature_coverage[].task_ids[] resolution against tasks[].idCompleted task ⇒ all DoD checked AND change_history populatedPRD generation rules and unified template enforced by a Python script. Single 14-section structure for Web, Backend, Mobile, and multi-platform projects.
ADR (Architecture Decision Record) generation + supersession rules. Immutable per-file under docs/adr/ (Status line is the only mutable surface). Bootstrap enumerates from PRD; standalone `/blueprint adr` adds or supersedes. Python-backed renderer.
Shared memory-management guidance for subagents. Preload via the subagent's skills frontmatter field so every agent follows the same rules about what to save, when to save, and when to retrieve.
Generate or update docs/ARCHITECTURE.md via a Python-backed, single unified template. Supports React Router Framework, Expo Router, NestJS, and Tauri 2 across single-package and monorepo layouts. The renderer enforces scope discipline — data model, features, code snippets, and tech-stack recommendations are rejected as PRD-territory.
Orchestrate creation/update of PRD, ADR, ARCHITECTURE, and ROADMAP via a guided 5-mode flow (Bootstrap / PRD / ADR / ARCHITECTURE / ROADMAP). Wraps the six doc subagents with phase-state enforcement so steps cannot be skipped. Use when the user invokes `/blueprint`, asks to "PRD/ROADMAP을 만들자", or wants to initialize/refresh project documentation.
Clean Architecture 4-layer dependency rules, TDD-exempt layer list, and test policy per layer. Reference-only skill preloaded by pipeline, tdd, code-reviewer, and other architecture-aware consumers.