First-time setup — analyzes your codebase, generates context, and guides you through your first feature.
From rpi-kitnpx claudepluginhub dmend3z/rpi-kit --plugin rpi-kit[--refresh]rpi//onboardingCollects onboarding parameters interactively (scope, product type, metrics, rates) then optimizes post-signup flows, activation, and first-run experience.
/onboardingOne-time dealer profile setup — stores your dealership identity, location, and preferences so all skills stop re-asking.
/onboardingOne-time insurer profile setup — stores your identity, role, location, and insurance-specific preferences so all skills stop re-asking. Works for adjusters, underwriters, and claims managers.
/onboardingOne-time lender profile setup — stores your identity, company, portfolio focus, LTV thresholds, tracked segments, and location so all skills stop re-asking.
Walks the user through RPIKit setup: explains the workflow, configures the project, analyzes the codebase, and guides them into their first feature.
Output to the user:
Welcome to RPIKit v2 — Research, Plan, Implement.
RPIKit is a 7-phase development workflow with 13 specialized AI agents.
Each phase produces artifacts that feed the next, with validation gates
that prevent premature implementation.
I'll analyze your project, set up configuration, and guide you through
your first feature.
$ARGUMENTS for --refresh flag.rpi/context.md exists.rpi/context.md exists and --refresh was NOT passed:
Ask with AskUserQuestion: "Project already configured. Do you want to refresh the analysis or skip to feature selection?"
rpi/context.md and present summary).--refresh was passed: proceed to Step 3 (full init flow).rpi/context.md does not exist: proceed to Step 3 (full init flow).Check if .rpi.yaml exists.
--refresh was NOT passed: ask with AskUserQuestion: ".rpi.yaml already exists. Overwrite with fresh config or keep current settings?"
--refresh was passed: proceed to Step 3b.Batch 1 (use AskUserQuestion — ask all at once):
Batch 2 (use AskUserQuestion — ask all at once):
Write .rpi.yaml to the project root with the user's responses (use defaults for unanswered questions):
version: 2
# Directories
folder: rpi/features
specs_dir: rpi/specs
solutions_dir: rpi/solutions
context_file: rpi/context.md
# Execution
parallel_threshold: 8
commit_style: {user_response | conventional}
tdd: {user_response | false}
# Agents
ux_agent: {user_response | auto}
# Quick flow
quick_complexity: S
# Knowledge compounding
auto_learn: {user_response | true}
# Party mode
party_default_agents: {user_response | 5}
mkdir -p rpi/specs
mkdir -p rpi/solutions
mkdir -p rpi/features
Launch Atlas agent to analyze the codebase and generate rpi/context.md:
You are Atlas. Analyze this entire codebase and produce a comprehensive project context document.
Your task:
1. Read config files first (package.json, tsconfig, Cargo.toml, pyproject.toml, go.mod, etc.)
2. Explore the directory structure — map all key directories and their purposes
3. Find 5-10 representative source files across different parts of the codebase
4. Detect naming conventions, component patterns, import style, error handling
5. Identify the testing setup and coverage patterns
6. Note any TODOs, FIXMEs, or incomplete areas in the code
7. Identify untested modules or areas with weak coverage
8. Spot architectural risks or technical debt
Output format — write this directly to rpi/context.md:
# Project Context
## Stack
- Language: {language} {version}
- Framework: {framework} {version}
- Database: {db} (if any)
- Testing: {test_framework}
- Build: {build_tool}
- Package Manager: {package_manager}
## Architecture
- Pattern: {description}
- Key directories: {list with purposes}
- Entry points: {list}
## Conventions
- File naming: {pattern}
- Component pattern: {pattern}
- Import style: {pattern}
- Error handling: {pattern}
- API pattern: {pattern}
## Key Files
{List of important files with brief descriptions}
## Existing Tests
{Summary of test coverage and testing patterns}
## Risks and Technical Debt
{Identified risks, TODOs, FIXMEs, weak areas}
## Opportunities
{3-5 concrete feature ideas based on: TODOs found, untested modules, missing error handling, potential improvements}
Wait for Atlas to complete. Store the output as $ATLAS_OUTPUT.
rpi/context.md (freshly generated or existing).Project Analysis Complete
Stack: {language} + {framework}
Architecture: {pattern}
Files: {approximate count}
Tests: {coverage summary}
Key findings:
- {finding 1}
- {finding 2}
- {finding 3}
Based on the ## Opportunities section in rpi/context.md (or from $ATLAS_OUTPUT), present 3-5 concrete feature suggestions:
Based on the analysis, here are some things you could work on:
1. {feature idea} — {brief justification from codebase analysis}
2. {feature idea} — {brief justification}
3. {feature idea} — {brief justification}
Each suggestion should be grounded in something Atlas actually found (a TODO, an untested module, a missing pattern, a risk to address).
Use AskUserQuestion:
"What would you like to do? A) Build one of these features (pick a number) B) Describe my own feature C) I'll explore on my own"
commands/rpi/new.md and follow its process from Step 4 onward (Luna's interview), using the suggested feature as context.Feature created: rpi/features/{slug}/REQUEST.md
Next: /rpi {slug}
commands/rpi/new.md and follow its process from Step 4 onward (Luna's interview).Feature created: rpi/features/{slug}/REQUEST.md
Next: /rpi {slug}
Proceed to Step 8.
Output to the user:
Quick Reference:
/rpi:new my-feature Start a new feature
/rpi my-feature Auto-progress to next phase
/rpi:party "topic" Multi-agent debate
/rpi:learn Capture a solution
/rpi:status See all features
Setup complete. Happy building!