rpd

Use this skill when (1) the user’s intent is to architect, design, or develop software, and (2) the message contains any RPD command keyword anywhere (case-insensitive), such as RPD, REQ, AP, AR, AT, SS, CC, DF, DD, ET, TT, CR, GC, WT, !!. The detected keyword(s) trigger the corresponding workflow rules/stage behavior below. Ignore keywords that appear only inside fenced code blocks or inline code unless the user explicitly says they are invoking the keyword.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "rpd" with this command: npx skills add yysun/rpd/yysun-rpd-rpd

RPD - Requirements, Planning, and Development Workflow

A concise software development workflow for with automatic triggers and loops for architecture review and code review.

Command Detection

  • Match keywords case-insensitively.
  • Prioritize clear user intent over strict formatting.
  • Multi-line prompts are valid.
  • If multiple commands appear, execute the first clearly intended command.
  • Ignore keywords in fenced code blocks and inline code unless explicitly requested.

Command Keywords

  • RPD: Run the full end-to-end workflow.
    • Sequence: REQ → AP → AR (loop) → AT → SS → TT → CR (loop) → ET (if any) → DD → GC.
    • Stop for approval after REQ/AP/AR before continuing to implementation/testing/commit steps.
  • REQ: Create or update requirements in .docs/reqs/{yyyy}/{mm}/{dd}/req-{name}.md.
    • Focus on WHAT, not HOW, not optimization.
    • REQ is documentation-only: create/update the requirement doc and do not implement code.
    • Do not modify source code, tests, configs, or non-REQ docs when executing REQ.
  • AP: Create architecture/implementation plan in .docs/plans/{yyyy}/{mm}/{dd}/plan-{name}.md.
    • Use markdown checkboxes for phased tasks.
    • Use Mermaid for complex structures or flows.
  • AR: Review architecture and assumptions.
    • Ensure no major flaws.
    • Provide options and tradeoffs.
    • Update existing REQ/AP docs in place (no separate review doc).
    • Automatically fix high priority issues before reporting.
  • SS: Implement step-by-step from the plan.
    • Update plan progress (- [x]) as tasks complete.
    • Wait for approval gate before starting.
  • CC: Consolidate code/comments and remove redundancy.
  • DF: Debug and fix root cause.
    • Explain the issue clearly.
    • Provide fix options when useful.
  • DD: Document completed work in .docs/done/{yyyy}/{mm}/{dd}/{name}.md.
  • TT: Run tests and fix failures.
    • Default command: npm test.
    • If project uses another test command, use that instead.
  • CR: Review uncommitted changes with git.
    • Check architecture, quality, performance, maintainability, and security.
    • Automatically fix high priority issues before reporting.
  • GC: Commit changes with a clear conventional commit message.
    • If requested as a standalone command, run CR first.
  • AT: Generate (or update) an E2E test spec markdown file at .docs/tests/test-{name}.md.
    • Write clear, human-readable test scenarios covering happy paths and key edge cases.
    • AT is documentation-only: create/update the test spec doc and do not run or implement code.
  • ET: Run E2E tests.
    • If a path is provided after ET, run that single test file.
    • If no path is provided, run the canonical test for the current story (.docs/tests/test-{name}.md).
  • WT: Create a new git worktree for the current story.
    • Move the matching REQ and AP docs into the new worktree.
    • Move files instead of copying them.
    • Canonical command: git worktree add ../{project folder}.worktrees/feature-{name} -b feature/{name} {base}.
    • Use this when planning is done in one checkout but implementation should continue in another.
  • !!: Update all relevant docs with new requirements, clarifications, and changes.
    • Update .docs/reqs/{yyyy}/{mm}/{dd}/req-{name}.md, .docs/plans/{yyyy}/{mm}/{dd}/plan-{name}.md, and .docs/tests/test-{name}.md in place.
    • Do not implement code; documentation only.

Automatic Triggers

  • REQ → AR loop (auto)
  • AP → AR loop (auto)
  • SS → CR loop (auto)
  • GC → CR (auto)
  • RPD orchestrates the full flow (REQ → AP → AR (loop) → AT → SS → TT → CR (loop) → ET (if any) → DD → GC).

What loop Means

  • AR (loop): Repeat architecture review/update until no major flaws remain or explicit user approval is given.
  • CR (loop): Repeat code review/fixes until no high-priority issues remain.
  • A loop is not infinite: stop when the exit condition is met, then continue to the next step.

Core Rules

  • Requirements work (REQ/AR) must focus on WHAT, not HOW.
  • REQ must only create/update .docs/reqs/{yyyy}/{mm}/{dd}/req-{name}.md and then stop for approval.
  • For large changes or AP requests, create/update plan first and get approval before implementation.
  • Be truthful about execution: only claim tests/build/lint ran if actually run.
  • If blocked by ambiguity or tradeoffs, ask targeted clarification questions.

Naming and Paths

  • {name} must be short kebab-case (for example: user-auth, offline-sync).
  • Choose names that are unique within the project to avoid conflicts between req, plan, test, and done docs that share the same {name}.

Documentation Structure

.docs/
├── reqs/{yyyy}/{mm}/{dd}/req-{name}.md
├── plans/{yyyy}/{mm}/{dd}/plan-{name}.md
├── tests/test-{name}.md
└── done/{yyyy}/{mm}/{dd}/{name}.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

apprun-skills

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

dokidoki

Control interactive BLE devices (scan/connect/playback/timeline) from terminal.

Registry SourceRecently Updated
Coding

code

Comprehensive code review assistant that analyzes code quality, identifies bugs, suggests improvements, and ensures adherence to best practices. Use when rev...

Registry SourceRecently Updated
Coding

Markdown Lint

Use this skill immediately when the user needs to: set up markdownlint-cli2 and pre-commit hooks in a repository, fix or batch-repair markdownlint errors lik...

Registry SourceRecently Updated