From rp1-dev
Orchestrates interactive implementation of small low-risk code changes via sub-agent delegation. Performs scope checks to redirect medium/large tasks to structured builders.
npx claudepluginhub rp1-run/rp1 --plugin rp1-devThis skill is limited to using the following tools:
Interactive builder loop for rapid, small changes. Delegates each request to a single general sub-agent.
Orchestrates interactive loop for small, low-risk code changes via sub-agent delegation. Performs scope checks to redirect medium/large work to /build-fast or /build.
Implements features from chat context or description via full agent workflow without tickets, boards, or status updates. Loads domain skills, plans, codes, tests, and opens PR.
Offers lightweight pipeline for small routine changes (≤3 files, low-risk, e.g., typos, version bumps, lint fixes) via leader-builder-tester-ship, skipping full workflow.
Share bugs, ideas, or general feedback.
Interactive builder loop for rapid, small changes. Delegates each request to a single general sub-agent.
This command ONLY orchestrates. It does NOT implement code.
Extract these parameters from the user's input:
| Parameter | Required | Default | Description |
|---|---|---|---|
REQUEST | No | "" | Initial development request (may be empty; will prompt if missing) |
AFK | No | false | Non-interactive mode. Set true if user says "afk" or "unattended". Suppresses all interactive gate options. |
Environment values (resolve via shell):
RP1_ROOT: !rp1 agent-tools rp1-root-dir (extract data.root from JSON response)RUN_ID: Generate a UUID at session start for event emissionstateDiagram-v2
[*] --> GetRequest
GetRequest --> Clarify: vague
GetRequest --> ScopeCheck: clear
Clarify --> ScopeCheck: clarified
ScopeCheck --> Redirect: medium_or_large
ScopeCheck --> Build: small
Redirect --> Prompt
Build --> Prompt
Prompt --> Commit: user=commit
Prompt --> Build: user=refine
Prompt --> GetRequest: user=new
Prompt --> [*]: user=exit
Commit --> GetRequest
If REQUEST empty:
AskUserQuestion: "What would you like to build?"
Super vague (ask for clarification):
Clear enough (proceed):
If vague: ask ONE clarifying question. Do NOT over-interrogate.
Before delegating, assess the request:
| Factor | Small (proceed) | Medium/Large (redirect) |
|---|---|---|
| Files | 1-3 | >3 |
| Systems | 1 | >1 |
| Risk | Low | Medium or High |
| Estimated effort | <2h | >2h |
If Medium or Large: Do NOT delegate. Instead output:
## This request is better suited for a structured workflow
**Request**: {summary}
**Why**: {brief reason — e.g. touches multiple systems, high risk, many files}
**Recommended**:
- For medium work (2-8h): `/rp1-dev:build-fast "{REQUEST}"`
- For large work (>8h): `/rp1-dev:build "{feature-id}"`
Then loop to §1.5 (Post-Build Prompt) so the user can submit a smaller request or exit.
Spawn a single general sub-agent to implement the request:
Task tool: subagent_type: rp1-dev:express-builder prompt: Implement the following change in the codebase:
{REQUEST}
Keep changes minimal and focused. Run any relevant lint/format/test checks after making changes. Do NOT commit.
Wait for completion. Do NOT implement anything yourself.
After builder completes, emit waiting status so the Arcade dashboard reflects the gate pause:
rp1 agent-tools emit \
--workflow build-express \
--type waiting_for_user \
--run-id {RUN_ID} \
--step build \
--data '{"prompt": "What would you like to do next?", "context": "Post-build prompt after express builder completes"}'
AskUserQuestion: "What would you like to do next?" Options:
| Option | Action |
|---|---|
| Commit & move on | Commit current changes (conventional commit), then loop to 1.1 |
| Refine | Ask what to change, re-invoke §1.4 with refinement as REQUEST |
| Review feedback from Arcade | Load the arcade-collab skill (/rp1-dev:arcade-collab), then call rp1 agent-tools feedback read --run-id {RUN_ID} --status open. If feedback exists, process it per the collaboration loop in the skill. After all feedback is processed, return to this prompt and re-present the same options. Not shown when AFK=true. |
| New task (no commit) | Loop to 1.1 without committing |
| Exit | STOP |
After a scope redirect (§1.3), show only "New task" and "Exit" options (no feedback review since no build occurred).
When user chooses "Commit & move on":
git add -A)Clear REQUEST, loop to 1.1 (Get Request).
On exit, report tasks completed count.
## Session Summary
**Tasks Completed**: {count}
Express session ended.
YOU MUST:
YOU MUST NOT: