rpi

Use when implementing features from Jira tickets, PRDs, or user requirements. Orchestrates Research-Plan-Implement workflow with quality gates.

Best use case

rpi is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Use when implementing features from Jira tickets, PRDs, or user requirements. Orchestrates Research-Plan-Implement workflow with quality gates.

Teams using rpi should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/rpi/SKILL.md --create-dirs "https://raw.githubusercontent.com/ferdiangunawan/rpi-stack/main/rpi/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/rpi/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How rpi Compares

Feature / AgentrpiStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Use when implementing features from Jira tickets, PRDs, or user requirements. Orchestrates Research-Plan-Implement workflow with quality gates.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# RPI - Research, Plan, Implement (Orchestrator)

Full workflow orchestrator that invokes individual skills in sequence with quality gates.

```
Input → Research → Audit → Plan → Audit → Approve → Implement → Code Review
```

---

## Agent Compatibility

- OUTPUT_DIR: `.claude/output` for Claude Code, `.codex/output` for Codex CLI.
- Invoke sub-skills with the Skill tool (Claude Code) or by naming the skill in the prompt (Codex CLI / Copilot CLI).

## When to Use

- User provides a Jira issue key (e.g., KB-1234)
- User provides a Confluence PRD URL
- User describes a feature to implement

---

## Step 1: Input & Feature Naming

Derive **feature name** from input (used for all output files):
- Jira key `KB-1234` → `kb-1234`
- Confluence URL → sanitized page title slug
- Direct prompt → short slug, max 30 chars (e.g., `export-csv`)

**Resume:** If output files for this feature already exist in OUTPUT_DIR (e.g., `research-{feature}.md`), read them and skip to the appropriate step.

---

## Step 2: Research

Invoke `/research {input}`. Produces `OUTPUT_DIR/research-{feature}.md`.

---

## Step 3: Research Audit

Invoke `/audit research`. Quality gate:

| Check | Gate |
|-------|------|
| All requirements traceable | No phantom requirements |
| Confidence high enough to plan | No major open unknowns |

**FAIL** → Stop, report findings, ask user for clarification, re-run `/research`.
**PASS** → Proceed.

---

## Step 4: Plan

Invoke `/plan`. Produces `OUTPUT_DIR/plan-{feature}.md`.

---

## Step 5: Plan Audit

Invoke `/audit plan`. Quality gate:

| Check | Gate |
|-------|------|
| Every requirement has a task | Full traceability |
| No unnecessary scope added | No overengineering |
| No requirements missed | No underengineering |
| Follows AGENTS.md patterns | Pattern compliance |

**FAIL** → Revise plan, re-run `/audit plan`.
**PASS** → Proceed.

---

## Step 6: User Approval

Present a concise plan summary:

```
Feature: {feature name}
Tasks: {count} | New files: {n} | Modified: {n}

Tasks:
  T1: {title}
  T2: {title}
  ...

Quality Gates: Research Audit ✓ | Plan Audit ✓

Proceed with implementation? (yes/no)
```

Wait for explicit approval. If user requests changes, revise and re-audit before re-presenting.

---

## Step 7: Implement

Invoke `/implement`. Executes tasks in dependency order, verifies each, runs lint.

---

## Step 8: Code Review

Invoke `/code-review`. Reviews all new and modified files for correctness, security, and performance with P0/P1/P2 findings.

| Severity | Action |
|----------|--------|
| P0 (Critical) | Must fix before completing |
| P1 (Important) | Should fix, discuss with user |
| P2 (Nice-to-have) | Note for future |

If P0 found: fix all P0 issues, re-run `/code-review`.

---

## Output Files

| File | Phase |
|------|-------|
| `research-{feature}.md` | Research |
| `audit-research-{feature}.md` | Research Audit |
| `plan-{feature}.md` | Plan |
| `audit-plan-{feature}.md` | Plan Audit |
| `review-{feature}.md` | Code Review |

## Quick Reference

```bash
/rpi KB-1234              # From Jira
/rpi {confluence-url}     # From Confluence
/rpi "Add export feature" # From direct prompt
```

**Resume after context loss:** Output files in OUTPUT_DIR are the source of truth. Read `research-{feature}.md` and `plan-{feature}.md` to resume at the right step.

**Individual skills (standalone):**
- Use `/rpi` for complete feature implementation
- Use individual skills for targeted tasks or exploration

Related Skills

research

6
from ferdiangunawan/rpi-stack

Use when needing to understand requirements before implementation. Gathers context from Jira, Confluence, codebase, and docs. Produces research document with confidence assessment.

plan

6
from ferdiangunawan/rpi-stack

Creates detailed implementation plan from validated research. Produces task breakdown with dependencies and file inventory.

implement

6
from ferdiangunawan/rpi-stack

Executes implementation plan with quality checks and progress tracking. Follows AGENTS.md patterns strictly.

code-review

6
from ferdiangunawan/rpi-stack

Reviews code for correctness, security, performance, and pattern compliance. P0/P1/P2 severity. Absorbs security and performance audit checks.

audit

6
from ferdiangunawan/rpi-stack

Validates research or plan against hallucination, overscoping, and traceability. Produces a clear PASS/WARN/FAIL verdict.

RPI Stack Skill Distribution

6
from ferdiangunawan/rpi-stack

Lean Research-Plan-Implement workflow skills for Claude Code and Codex.

workspace-surface-audit

144923
from affaan-m/everything-claude-code

Audit the active repo, MCP servers, plugins, connectors, env surfaces, and harness setup, then recommend the highest-value ECC-native skills, hooks, agents, and operator workflows. Use when the user wants help setting up Claude Code or understanding what capabilities are actually available in their environment.

DevelopmentClaude

ui-demo

144923
from affaan-m/everything-claude-code

Record polished UI demo videos using Playwright. Use when the user asks to create a demo, walkthrough, screen recording, or tutorial video of a web application. Produces WebM videos with visible cursor, natural pacing, and professional feel.

Developer ToolsClaude

token-budget-advisor

144923
from affaan-m/everything-claude-code

Offers the user an informed choice about how much response depth to consume before answering. Use this skill when the user explicitly wants to control response length, depth, or token budget. TRIGGER when: "token budget", "token count", "token usage", "token limit", "response length", "answer depth", "short version", "brief answer", "detailed answer", "exhaustive answer", "respuesta corta vs larga", "cuántos tokens", "ahorrar tokens", "responde al 50%", "dame la versión corta", "quiero controlar cuánto usas", or clear variants where the user is explicitly asking to control answer size or depth. DO NOT TRIGGER when: user has already specified a level in the current session (maintain it), the request is clearly a one-word answer, or "token" refers to auth/session/payment tokens rather than response size.

Productivity & Content CreationClaude

skill-comply

144923
from affaan-m/everything-claude-code

Visualize whether skills, rules, and agent definitions are actually followed — auto-generates scenarios at 3 prompt strictness levels, runs agents, classifies behavioral sequences, and reports compliance rates with full tool call timelines

DevelopmentClaude

santa-method

144923
from affaan-m/everything-claude-code

Multi-agent adversarial verification with convergence loop. Two independent review agents must both pass before output ships.

Quality AssuranceClaude

safety-guard

144923
from affaan-m/everything-claude-code

Use this skill to prevent destructive operations when working on production systems or running agents autonomously.

DevelopmentClaude