Run one task through the full REIN flow from clarification through implementation, cleanup, review, and verification
Install
mkdir -p .claude/skills/rein-go && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16516" && unzip -o skill.zip -d .claude/skills/rein-go && rm skill.zipInstalls to .claude/skills/rein-go
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Run one task through the full REIN flow from clarification through implementation, cleanup, review, and verificationAbout this skill
rein-go
Use this when the user wants one REIN-controlled flow instead of manually invoking rein-interview, rein-plan, implementation, cleanup, review, and verification as separate steps.
rein-go is the end-to-end orchestration surface for REIN.
When To Use
- The user wants one continuous REIN workflow with minimal pauses
- The task is broad enough to need clarification, planning, implementation, and post-implementation review
- A completed
rein-interviewbundle already exists and should feed directly into planning and implementation - The user explicitly invokes
$rein-go,/rein-go, or asks for a single flow command
When Not To Use
- The task is already a tiny single-file change
- The user explicitly wants only one stage, such as interview-only or plan-only work
- The user wants to skip clarification and planning entirely
Flow Contract
- Public entrypoint:
rein go - Wrapper triggers:
$rein-goand/rein-go - Default posture: keep going with minimal pauses once the flow starts
- Hard stop on:
- dangerous or destructive actions that require approval
- missing permissions or blocked tool access
- any failed stage: plan, implementation, cleanup, review, or verify
- Preserve the current install and hook philosophy; do not turn REIN into a hook-first enforcement layer
Runtime Helper
Start the flow through the runtime:
rein go "<task>" --json
If a completed interview bundle already exists:
rein go --from-interview <slug|path> --json
Then use:
rein go status --slug <slug> --json
rein go resume --slug <slug> --json
rein go advance --slug <slug> --stage <stage> --status <completed|failed|blocked> ... --json
Treat the returned flow state as the source of truth for current stage, resume point, stop reason, and downstream stage artifacts.
Stage Order
-
Interview
- Bare
rein go "<task>"initializes the flow and startsrein-interviewautomatically. - If the flow was started with
--from-interview, the interview stage is marked completed from the bundle. - While interview is still active, use the normal
rein interview ...runtime commands and present the user-facing interview exactly likerein-interviewdoes, including the clarity score and question frame. - Never answer interview rounds on the user's behalf, never auto-crystallize, and never skip directly to planning in fresh mode.
- If
rein go resume --slug <slug> --jsonstill returnscurrentStage: interviewand recommendsrein interview crystallize ..., the interview is not done yet; crystallize first, then resume again to advance into planning.
- Bare
-
Plan
- The runtime creates a plan artifact from the completed
rein-interviewresult.json. - Planning is runtime-backed; it should not require a manual wrapper jump just to mark plan complete.
- Keep the plan minimum-sufficient and aligned to the interview bundle.
- The runtime creates a plan artifact from the completed
-
Implementation
- Implement directly from the runtime plan artifact.
- Reuse existing runtime and patterns before inventing new abstractions.
- Do not drift into installer rewrites or hook-model changes unless the task explicitly requires them.
- When implementation is done, report it back into the runtime with
rein go advance ... --stage implementation --changed-files '<json>'.
-
Cleanup
- Run
rein-cleanupon the changed-file scope recorded by the implementation stage. - Keep cleanup bounded to the files and mess created by the task.
- Report the result back with
rein go advance ... --stage cleanup.
- Run
-
Review
- Run
rein-reviewon the resulting diff. - Fix any scope drift, debug leftovers, or suspicious test changes before continuing.
- Report the result back with
rein go advance ... --stage review.
- Run
-
Verify
- Run
rein-verifybefore declaring completion. - The flow is not done just because implementation passed.
- Report the result back with
rein go advance ... --stage verify.
- Run
Stage Rules
- Use
rein-interviewruntime commands for persistence and state. - Use the
rein goruntime state as the source of truth for current stage, changed files, and resume behavior. - Use completed interview artifacts as the source of truth for downstream planning inputs.
- Ask the user only when:
- a destructive step needs approval
- a permission boundary blocks the flow
- a critical product decision is still unresolved and cannot be verified from the repo
- If a stage fails, stop at that stage and report the failure plainly instead of silently continuing.
- Do not skip cleanup, review, or verification just because the earlier stages succeeded.
Output
When the flow completes:
- summarize the completed stages
- name the key files changed
- name the commands and tests run
- state any remaining risks or uncertainties
If the flow stops early:
- name the failing stage
- explain what blocked it
- state the next resume point clearly
Task: {{ARGUMENTS}}