{
  "markdown": "# RPIKit -- Research -> Plan -> Implement\n\nAI-assisted feature development with 13 named agents, delta specs, and knowledge compounding.\n\nRPIKit works with **Claude Code**, **Gemini CLI**, and **Codex**. It guides developers through a structured 7-phase pipeline. Each phase is run by specialized agents with distinct personas -- so you research before you plan, plan before you code, and review before you ship.\n\n## Quick Start\n\n```bash\n# Install via npm\nnpm install -g rpi-kit\n\n# Install for your preferred tool\nrpi-kit install\n\n# First time: guided setup\n/rpi:onboarding\n```\n\n## How It Works\n\nRPIKit breaks feature development into 7 phases, each driven by named agents:\n\n| # | Phase | Command | Agents | Output |\n|---|-------|---------|--------|--------|\n| 1 | **Request** | `/rpi:new` | Luna | `REQUEST.md` -- elicited requirements |\n| 2 | **Research** | `/rpi:research` | Atlas + Scout + Nexus | `RESEARCH.md` -- GO/NO-GO verdict |\n| 3 | **Plan** | `/rpi:plan` | Mestre + Clara + Pixel + Nexus | `PLAN.md` + `eng.md` + `pm.md` + `ux.md` + `delta/` |\n| 4 | **Implement** | `/rpi:implement` | Forge + Sage | Code + `IMPLEMENT.md` |\n| 5 | **Simplify** | `/rpi:simplify` | Razor | Simplified code |\n| 6 | **Review** | `/rpi:review` | Hawk + Shield + Sage + Nexus | PASS / FAIL verdict |\n| 7 | **Docs** | `/rpi:docs` | Quill | Updated documentation |\n\nUse `/rpi <feature>` to auto-detect the current phase and progress to the next one.\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `/rpi <feature>` | Auto-progress to next phase -- detects current state and runs the appropriate step |\n| `/rpi:new <feature>` | Interactive interview with Luna to create REQUEST.md |\n| `/rpi:research <feature>` | Codebase analysis (Atlas) + technical investigation (Scout) |\n| `/rpi:plan <feature>` | Architecture (Mestre) + product spec (Clara) + UX (Pixel) |\n| `/rpi:implement <feature>` | Execute PLAN.md tasks with per-task commits (Forge) |\n| `/rpi:simplify <feature>` | Dead code removal and simplification (Razor) |\n| `/rpi:review <feature>` | Adversarial review (Hawk) + security audit (Shield) + test coverage (Sage) |\n| `/rpi:docs <feature>` | Generate documentation from artifacts (Quill) |\n| `/rpi:init` | Configure RPIKit and generate `rpi/context.md` |\n| `/rpi:status` | Show all features and their current phase |\n| `/rpi:party <topic>` | Multi-agent debate on any topic |\n| `/rpi:learn` | Save a solution or insight to the knowledge base |\n| `/rpi:archive <feature>` | Merge delta specs into `rpi/specs/` and clean up |\n| `/rpi:update` | Update RPIKit plugin to the latest version |\n| `/rpi:onboarding` | Guided first-time setup with codebase analysis |\n\n## Agents\n\nRPIKit uses 13 named agents, each with a distinct persona:\n\n| Agent | Persona | Phase | Tools |\n|-------|---------|-------|-------|\n| **Luna** | Curious analyst who asks uncomfortable questions | Request | Read, Glob, Grep, AskUserQuestion |\n| **Atlas** | Methodical explorer who maps every corner of the codebase | Research | Read, Glob, Grep |\n| **Scout** | Skeptical investigator who researches external options | Research | Read, Glob, Grep, WebSearch, WebFetch |\n| **Nexus** | Diplomatic synthesizer who merges outputs and facilitates debates | Cross-phase + Party | Read, Write, Glob, Grep, Agent, AskUserQuestion |\n| **Mestre** | Pragmatic architect who hates over-engineering | Plan | Read, Glob, Grep |\n| **Clara** | Value-driven PM who cuts scope without mercy | Plan | Read, Glob, Grep |\n| **Pixel** | Empathetic UX designer who thinks from the user's perspective | Plan (conditional) | Read, Glob, Grep |\n| **Forge** | Disciplined executor who follows the plan precisely | Implement | Read, Write, Edit, Bash, Glob, Grep |\n| **Sage** | Paranoid tester who thinks in edge cases | Implement (TDD) + Review | Read, Write, Edit, Bash, Glob, Grep |\n| **Razor** | Minimalist simplifier who measures quality by deletion count | Simplify | Read, Write, Edit, Bash, Glob, Grep |\n| **Hawk** | Adversarial reviewer forced to find problems (zero findings = re-analyse) | Review | Read, Glob, Grep |\n| **Shield** | Security sentinel who thinks like an attacker (OWASP, secrets, injection) | Review | Read, Glob, Grep |\n| **Quill** | Concise technical writer who explains the \"why\", not the \"what\" | Docs | Read, Write, Edit, Glob, Grep |\n\n## Key Features\n\n### Delta Specs\n\nInstead of maintaining full specifications, RPIKit captures only what changes. During planning, Mestre generates `delta/ADDED/`, `delta/MODIFIED/`, and `delta/REMOVED/` directories. On archive, Nexus merges deltas into `rpi/specs/`.\n\n### Party Mode\n\n`/rpi:party \"GraphQL vs REST?\"` starts a multi-agent debate. Nexus selects 3-5 relevant agents, each argues from their persona's perspective, and Nexus synthesizes a recommendation. Results can be saved to `rpi/solutions/decisions/`.\n\n### Knowledge Compounding\n\nSolutions discovered during review are automatically saved to `rpi/solutions/`. Use `/rpi:learn` to manually save insights. During research, Scout searches past solutions before looking externally.\n\n### Auto-Flow\n\n`/rpi <feature>` detects the current phase by checking which artifacts exist and runs the next phase automatically. No need to remember which command comes next.\n\n### Quick Flow\n\nFor small features, use `--quick` to skip the full research and plan phases. Luna asks 1-2 questions, Forge generates a mini-plan inline, and Razor does a quick simplify. If Forge detects complexity > S during implementation, it stops and suggests the full pipeline.\n\n## Configuration\n\nRun `/rpi:init` to generate `.rpi.yaml`, or create it manually:\n\n```yaml\nversion: 2\n\n# Directories\nfolder: rpi/features\nspecs_dir: rpi/specs\nsolutions_dir: rpi/solutions\ncontext_file: rpi/context.md\n\n# Execution\nparallel_threshold: 8\ncommit_style: conventional\ntdd: false\n\n# Conditional agents\nux_agent: auto                 # auto | always | never\n\n# Quick flow\nquick_complexity: S\n\n# Knowledge compounding\nauto_learn: true\n\n# Party mode\nparty_default_agents: 4\n```\n\n## Directory Structure\n\n```\nrpi/\n├── context.md                          # Project conventions and stack\n├── specs/                              # Current system specifications\n│   ├── auth/\n│   │   └── session-management.md\n│   └── ...\n├── solutions/                          # Knowledge base (compounding)\n│   ├── performance/\n│   ├── security/\n│   ├── database/\n│   ├── testing/\n│   ├── architecture/\n│   ├── patterns/\n│   └── decisions/                      # Party mode outputs\n└── features/                           # Active features\n    └── oauth/\n        ├── REQUEST.md\n        ├── research/\n        │   └── RESEARCH.md\n        ├── delta/\n        │   ├── ADDED/\n        │   ├── MODIFIED/\n        │   └── REMOVED/\n        ├── plan/\n        │   ├── PLAN.md\n        │   ├── eng.md\n        │   ├── pm.md\n        │   └── ux.md\n        └── implement/\n            └── IMPLEMENT.md\n```\n\n## License\n\nMIT\n",
  "bytes": 6923,
  "sha": "8ae9fb05f6fad11d1810f41a13ef76779441cd55b8018c676fbe747e20233de5",
  "repo_slug": "dmend3z/rpi-kit",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_dmend3z_rpi_kit_b9ab29d6/readme"
}