원클릭으로
rdm-document
Generate user documentation from a completed rdm roadmap using phase descriptions and commit SHAs
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate user documentation from a completed rdm roadmap using phase descriptions and commit SHAs
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Rate each phase's difficulty and assign a model tier from its body
Act on document reviews requesting changes — work each comment and drive the review to addressed
Review the plan for an rdm roadmap, phase, or task before implementation begins
Implement an rdm roadmap phase or work on an rdm task — plan, execute, then finalize into needs-review for rdm-review
Create an rdm roadmap with phases for a topic
Run a batched backlog grooming pass over rdm's stale/duplicate/tag-cluster/archivable signals and emit a reviewable, propose-only plan of exact rdm commands — no mutations
| name | rdm-document |
| description | Generate user documentation from a completed rdm roadmap using phase descriptions and commit SHAs |
| allowed-tools | ["Read","Bash","Glob","Grep","Write","Edit"] |
Generate user-facing documentation from a completed rdm roadmap. $ARGUMENTS should be <roadmap-slug> [--out <path>].
IMPORTANT: This is the rdm source repo. Always run cargo build first, then use ./target/debug/rdm — never bare rdm.
Run cargo build to ensure the binary is up to date.
Parse arguments: extract the roadmap slug and optional --out <path> from $ARGUMENTS. Default output path is docs/<slug>.md.
Read the roadmap: ./target/debug/rdm roadmap show <slug> --project rdm to get the overview and phase list.
Validate completion: all phases must be done. If any phase is not done, abort with a clear message listing which phases are incomplete and their statuses.
Read each phase in order: ./target/debug/rdm phase show <stem> --roadmap <slug> --project rdm --format json for each phase. Collect titles, bodies, and commit SHAs.
Gather code changes from commit SHAs:
commit field from each phase's JSON output.git log --oneline <first_sha>~1..<last_sha> and git diff --stat <first_sha>~1..<last_sha>git log --oneline <sha>~1..<sha> and git diff --stat <sha>~1..<sha>git show --stat <sha> per phaseCross-reference: compare phase descriptions with actual code changes (diff stats, file lists) to ensure the documentation accurately reflects what was built. Note any discrepancies.
Draft documentation with this structure:
# <Feature Title>
## Overview
What the feature is — one or two paragraphs.
## Motivation
Why it was built — the problem it solves.
## Usage
Concrete examples: CLI commands, config options, API calls.
Use fenced code blocks for commands and examples.
## How it works
(Include only for complex features)
Architecture, key modules, data flow.
## Limitations
(Include only if applicable)
Known gaps, unsupported scenarios, planned future work.
Guidelines for drafting:
Write the file to the output path.
Present the draft to the user for review. Summarize what was generated and note any gaps (e.g., phases without SHAs, internal-only phases). Do not consider the task done until the user has reviewed and approved the documentation.
~1.. range correctly.