From rp1-dev
Executes quick-iteration workflow for small/medium code changes: plan phase, build implementation, optional review, git commit/push. Supports AFK mode and plan confirmation.
npx claudepluginhub rp1-run/rp1 --plugin rp1-devThis skill is limited to using the following tools:
Quick-iteration workflow for focused changes. Three-phase execution: plan -> build -> [review].
Executes plan-build-[review] workflow for small/medium code changes with persistent artifacts, AFK mode, plan confirmation, git commit/push options.
Executes tech plans via dependency-aware task batching, TDD, incremental commits, section code reviews, and PR creation. Use after planning phases.
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.
Share bugs, ideas, or general feedback.
Quick-iteration workflow for focused changes. Three-phase execution: plan -> build -> [review].
Extract these parameters from the user's input:
| Parameter | Required | Default | Description |
|---|---|---|---|
DEVELOPMENT_REQUEST | Yes | - | The freeform development request text |
AFK | No | false | Non-interactive mode. Set true if user says "afk", "no prompts", or "unattended" |
CONFIRM_PLAN | No | false | Enable plan review checkpoint and post-implementation review. Set true if user says "confirm", "review plan", or "confirm-plan" |
REVIEW | No | false | Enable task-reviewer validation after implementation. Set true if user says "review", "verify", or "check" |
GIT_COMMIT | No | false | Commit changes. Set true if user says "commit" |
GIT_PUSH | No | false | Push branch to remote. Set true if user says "push" |
Environment values (resolve via shell):
RP1_ROOT: !rp1 agent-tools rp1-root-dir (extract data.root from JSON response)If RP1_VERSION < 0.3.3 then STOP execution with message:
Your rp1 CLI needs to be updated.
Please run `/rp1-base:self-update` to update, then retry this command.
Or in the terminal: `rp1 update`
CRITICAL OVERRIDE: When AFK=true, treat CONFIRM_PLAN as false regardless of its passed value. AFK mode means zero user interaction - skip ALL AskUserQuestion calls throughout this workflow.
Effective values when AFK=true:
CONFIRM_PLAN -> false (forced)stateDiagram-v2
[*] --> plan
plan --> build : plan_ready
build --> review : build_complete
review --> [*] : done
On each phase transition, report via:
rp1 agent-tools emit \
--workflow build-fast \
--type status_change \
--run-id {RUN_ID} \
--step {CURRENT_STATE} \
--data '{"status": "running"}'
RUN_ID as a UUID at workflow startState Progression Protocol:
--step with --data '{"status": "running"}' when you enter that state→ [*] transitions): report with --data '{"status": "completed"}' when the step's work finishesExample sequence:
--workflow build-fast --step plan --data '{"status": "running"}' # entering plan phase
--workflow build-fast --step build --data '{"status": "running"}' # plan done, entering build phase
--workflow build-fast --step review --data '{"status": "running"}' # build done, entering review phase
--workflow build-fast --step review --data '{"status": "completed"}' # review done, workflow complete
Spawn agent:
Task tool: subagent_type: rp1-dev:build-fast-planner prompt: DEVELOPMENT_REQUEST={DEVELOPMENT_REQUEST}, RP1_ROOT={{$RP1_ROOT}}, WORKFLOW=build-fast, RUN_ID={RUN_ID}
Parse response: Extract scope, plan_summary, files_affected, reasoning, artifact_path, task_count, task_ids.
If planner fails or returns an error: Retry the planner once. If it fails again, use a general-purpose agent with the same prompt to generate the plan and artifact. Never skip planning — always produce an artifact before §PHASE-2.
If scope = "Large":
Output the planner's redirect_message and STOP.
SKIP ENTIRELY if: AFK=true OR CONFIRM_PLAN=false
When skipped: Do NOT call AskUserQuestion. Proceed directly to §PHASE-2.
Emit waiting status so the Arcade dashboard reflects the gate pause:
rp1 agent-tools emit \
--workflow build-fast \
--type waiting_for_user \
--run-id {RUN_ID} \
--step plan \
--data '{"prompt": "Proceed with plan?", "context": "Plan review checkpoint after planning phase"}'
Present the plan review to the user:
Scope: {scope} Estimated Effort: {estimated_effort from plan} Artifact: {artifact_path}
Tasks: {list tasks from artifact}
Files: {files_affected}
AskUserQuestion: "Proceed with plan?" Options:
On "Revise": Prompt for feedback, re-invoke §PHASE-1 with feedback appended to DEVELOPMENT_REQUEST.
On "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 gate and re-present the same options.
On "Stop": Output "Build fast cancelled. Artifact preserved at {artifact_path}" and STOP.
CRITICAL: You are an orchestrator. You MUST delegate implementation to task-builder via the Task tool. Do NOT write, edit, or create source code files yourself. Do NOT implement the plan directly. Your only job is to spawn agents and parse their responses.
You MUST spawn task-builder here. Do not implement the tasks yourself.
Task tool: subagent_type: rp1-dev:task-builder prompt: QUICK_BUILD_PATH={artifact_path} TASK_IDS={task_ids} GIT_COMMIT={GIT_COMMIT} RP1_ROOT={{$RP1_ROOT}} WORKFLOW=build-fast RUN_ID={RUN_ID}
Parse response: Verify "Builder Complete" in output.
Skip if: REVIEW=false
You MUST use subagent_type: rp1-dev:task-reviewer — do not use general-purpose or any other agent type.
Task tool: subagent_type: rp1-dev:task-reviewer prompt: QUICK_BUILD_PATH={artifact_path} TASK_IDS={task_ids} GIT_COMMIT={GIT_COMMIT} RP1_ROOT={{$RP1_ROOT}} WORKFLOW=build-fast RUN_ID={RUN_ID}
Parse response: Extract status (SUCCESS or FAILURE).
If status = "FAILURE":
issues and summary from reviewer responseTask tool: subagent_type: rp1-dev:task-builder prompt: QUICK_BUILD_PATH={artifact_path} TASK_IDS={task_ids} GIT_COMMIT={GIT_COMMIT} RP1_ROOT={{$RP1_ROOT}} PREVIOUS_FEEDBACK={reviewer summary and issues} WORKFLOW=build-fast RUN_ID={RUN_ID}
Skip if: GIT_PUSH=false
git push -u origin {branch}
SKIP ENTIRELY if: AFK=true OR CONFIRM_PLAN=false
When skipped: Do NOT call AskUserQuestion. Proceed directly to §OUTPUT.
Emit waiting status so the Arcade dashboard reflects the gate pause:
rp1 agent-tools emit \
--workflow build-fast \
--type waiting_for_user \
--run-id {RUN_ID} \
--step build \
--data '{"prompt": "Continue or make additional changes?", "context": "Post-implementation checkpoint after build phase"}'
Present the post-implementation checkpoint to the user:
Branch: {branch} Artifact: {artifact_path}
Review the changes.
AskUserQuestion: "Continue or make additional changes?" Options:
On "Add/Edit": Prompt for additional request, re-invoke §PHASE-2 with new request appended.
On "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 gate and re-present the same options.
On "Done": Continue to output.
Register the artifact in the database:
rp1 agent-tools emit \
--workflow build-fast \
--type artifact_registered \
--run-id {RUN_ID} \
--step build \
--data '{"path": "{artifact_path}", "feature": "quick-build"}'
## Build Fast Complete
**Request**: {brief summary of DEVELOPMENT_REQUEST}
**Scope**: {scope}
**Artifact**: {artifact_path}
**Branch**: {branch}
**Tasks**: {task_count} tasks ({task_ids})
**Changes**:
{list files modified from builder output}
**Quality**: {format/lint/test status from builder}
**Review**: {PASSED | SKIPPED | FAILED+RETRIED} (based on REVIEW flag)
MANDATORY — violations cause eval failure:
DO:
rp1 agent-tools emit --type artifact_registered in §OUTPUT — this is REQUIREDDO NOT (hard constraints — never violate these):
Single-pass per phase. Parse args -> plan -> [checkpoint] -> execute via task-builder -> [review] -> [checkpoint] -> STOP.