skills/rpi-workflow/SKILL.md
Research-Plan-Implement phase discipline with gate enforcement — loaded by orchestrator to govern pipeline phase transitions, artifact conventions, and anti-patterns
npx skillsauth add bostonaholic/team rpi-workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Phase discipline for the TEAM pipeline. Every feature flows through six sequential phases. No phase may be skipped. Each phase produces artifacts that downstream phases consume.
RESEARCH -> PLAN -> TEST-FIRST -> IMPLEMENT -> VERIFY -> SHIP
Explore the codebase. Produce objective findings. No opinions, no code changes.
docs/plans/YYYY-MM-DD-<topic>-research.mdTurn research into a precise, actionable implementation plan.
docs/plans/YYYY-MM-DD-<topic>-plan.mdWrite all acceptance tests from the approved plan. Confirm they fail correctly.
Execute the plan step by step, making tests pass.
Parallel adversarial review with fresh-context agents.
Commit, create PR, confirm CI passes.
All plan artifacts live in docs/plans/:
| Artifact | Pattern | Created By |
|----------|---------|------------|
| Research | YYYY-MM-DD-<topic>-research.md | researcher agent |
| Plan | YYYY-MM-DD-<topic>-plan.md | planner agent |
Use today's date. The <topic> slug should be lowercase, hyphen-separated,
and match across research and plan files for the same feature.
Blocks phase transition. The pipeline cannot proceed until the gate condition is satisfied. No override allowed except by explicit user command.
Examples: plan approval, security review with critical findings, test failures.
Informational gate. The pipeline presents findings to the user and may proceed at the user's judgment. The user is expected to read and acknowledge.
Examples: code review suggestions, UX review feedback.
Non-blocking. Findings are recorded but do not require acknowledgment. The pipeline proceeds automatically.
Examples: documentation gap analysis, style suggestions.
Phase transitions are event-driven. Every transition follows this sequence:
~/.team/<topic>/events.jsonlskills/team/registry.jsonNever proceed to the next phase while a HARD gate is failing. SOFT gates require user acknowledgment before proceeding.
Jumping to planning without understanding the codebase leads to plans that conflict with existing patterns, miss reusable components, or break implicit contracts. Always research first, even for "simple" changes.
The plan is the single human gate. Bypassing it removes the user's ability to course-correct before work begins. Wait for explicit approval.
Adding features, tests, or abstractions beyond what the plan specifies. The plan defines the scope fence. If scope needs to expand, update the plan and get re-approval — do not silently add work.
Jumping backward more than one phase (e.g., from VERIFY to RESEARCH). If verification fails, return to IMPLEMENT. If implementation reveals a plan flaw, return to PLAN. Never skip backward multiple phases at once.
Attempting to ship before verification completes. Every HARD gate in VERIFY must pass. Skipping verification risks shipping broken or insecure code.
data-ai
Todo-first progress convention for multi-step procedures — loaded by every multi-step agent to track its own steps without drift
testing
Adversarially review a technical design document with fresh context before the human gate. Dispatches the built-in `general-purpose` subagent (clean context, no shared history with the design-author) against `docs/plans/<id>/design.md` and presents its verdict — APPROVE, REQUEST CHANGES, or COMMENT. Optional, not part of the QRSPI pipeline. Trigger on "review the design doc", "audit design.md", "is this design ready", or `/eng-design-doc-review`.
development
Generator-evaluator separation and review methodology — loaded by review agents to enforce fresh-context review discipline, Conventional Comments format, and gate verdicts
data-ai
Prepare one or more isolated git worktrees — one per repository the topic touches. Router action — no agent. Trigger on "set up the worktree", "isolate this work", or "/team-worktree".