npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rpi-kit

v1.2.0

Published

Research → Plan → Implement. A systematic feature development workflow for Claude Code.

Readme

RPIKit

Research → Plan → Implement. A systematic feature development workflow for Claude Code and Codex.

RPIKit guides AI-first developers through a structured 3-phase pipeline with validation gates, multi-role agent teams, and adaptive depth — so you research before you plan, and plan before you code.

Install

Claude Code

From the marketplace (recommended):

claude plugin install rpi-kit

From npm:

npm install -g rpi-kit

The postinstall script registers the plugin automatically. If it fails, register manually:

claude plugin install /path/to/rpi-kit

Tip: npm root -g shows where global packages are installed. The path is usually something like ~/.nvm/versions/node/vX.X.X/lib/node_modules/rpi-kit.

From source:

git clone https://github.com/dmend3z/rpi-kit.git
claude --plugin-dir ./rpi-kit

Codex (OpenAI)

Copy AGENTS.md and codex.md to your project root. The workflow rules and agent definitions will be available to Codex automatically.

Quick Start

# 1. Initialize config (once per project)
/rpi:init

# 2. Describe your feature
/rpi:new oauth2-auth

# 3. Research feasibility (GO/NO-GO verdict)
/rpi:research oauth2-auth

# 4. Generate implementation plan
/rpi:plan oauth2-auth

# 5. Build it (with automatic simplify + review)
/rpi:implement oauth2-auth

Commands

| Command | Purpose | |---------|---------| | /rpi:init | Configure RPI for this project (folder, tier, preferences) | | /rpi:new | Interactive interview → REQUEST.md | | /rpi:research | Parallel agent research → RESEARCH.md + GO/NO-GO | | /rpi:plan | Adaptive plan artifacts → PLAN.md + eng/pm/ux.md | | /rpi:implement | Execute plan with task tracking + simplify + review | | /rpi:test | TDD cycles (RED → GREEN → REFACTOR) per task | | /rpi:simplify | Code simplification (reuse, quality, efficiency) | | /rpi:status | Show all features and their current phase | | /rpi:review | Code review against plan requirements + test coverage | | /rpi:docs | Generate documentation from implementation artifacts | | /rpi:add-todo | Capture quick implementation ideas in {folder}/todos/ |

Research Tiers

Control depth and cost with tier flags:

| Tier | Agents | Use when | |------|--------|----------| | --quick | 2 (requirements + codebase) | Small features, quick feasibility check | | --standard | 4 (+ PM + engineer) | Default. Most features. | | --deep | 5-6 (+ CTO + UX designer if UI) | Large features, risky changes, new architecture |

Agent Team

RPIKit simulates a product team with 12 specialized agents:

| Agent | Perspective | |-------|-------------| | Requirement Parser | Structured requirements, unknowns, implicit needs | | Product Manager | Scope, user stories, effort, acceptance criteria | | UX Designer | User flows, interaction patterns, existing components | | Senior Engineer | Architecture, dependencies, technical decisions | | CTO Advisor | Risk assessment, strategic alignment, alternatives | | Doc Synthesizer | Merges research into executive summary + verdict | | Codebase Explorer | Scans existing code for patterns and context | | Plan Executor | Implements tasks surgically, one at a time | | Test Engineer | Writes failing tests before implementation (TDD) | | Code Simplifier | Reuse, quality, efficiency checks with direct fixes | | Code Reviewer | Reviews against plan requirements + test coverage | | Doc Writer | Generates documentation from artifacts for completed features |

All agents follow behavioral constraints inspired by Karpathy's coding guidelines: cite evidence, name unknowns, be concrete, stay in scope.

Test-Driven Development

RPIKit supports strict TDD workflows. When enabled, each task follows vertical slices:

RED (write one failing test) → VERIFY RED → GREEN (minimal code) → VERIFY GREEN → REFACTOR → commit

Why vertical slices?

LLMs tend to write tests in bulk ("horizontal slices"), creating tests that mock internals and verify imagined behavior. Vertical slices force one-test-at-a-time cycles — if a test fails first, the implementation can't be faked.

Enable TDD

# .rpi.yaml
tdd: true
test_runner: auto  # or "npm test", "npx vitest", "pytest", etc.

Two ways to use TDD

  1. Integrated: Enable tdd: true in config. /rpi:implement automatically runs RED → GREEN → REFACTOR per task.
  2. Standalone: Run /rpi:test {feature-slug} --task 1.2 to TDD a specific task, or --all for all tasks.

What changes with TDD enabled

  • PLAN.md includes a Test: field per task describing what behavior to verify
  • Implementation writes a failing test first, verifies failure, then implements minimal code
  • Review checks test coverage and verifies tests exercise real code through public interfaces

Feature Folder Structure

Each feature lives in its own folder (configurable via .rpi.yaml):

{folder}/{feature-slug}/        # folder defaults to rpi/
├── REQUEST.md              # What and why
├── research/
│   └── RESEARCH.md         # GO/NO-GO analysis
├── plan/
│   ├── PLAN.md             # Task checklist with effort + deps
│   ├── eng.md              # Technical specification
│   ├── pm.md               # Product requirements (adaptive)
│   └── ux.md               # UX design (adaptive)
└── implement/
    └── IMPLEMENT.md        # Full audit trail

Configuration

Run /rpi:init or create .rpi.yaml manually:

folder: rpi                    # Feature folder location
tier: standard                 # Default research tier
auto_simplify: true            # Run simplify before review
commit_style: conventional     # Commit message format
parallel_threshold: 8          # Task count for parallel mode
skip_artifacts: []             # Artifacts to never generate
review_after_implement: true   # Mandatory review gate
isolation: none                # none | branch | worktree
tdd: false                     # Enable Test-Driven Development
test_runner: auto              # Test command (auto-detect or explicit)

How It Compares

| | OpenSpec (OPSX) | RPIKit | GSD | |---|---|---|---| | Focus | Spec-driven artifacts | Feature lifecycle with gates | Full project management | | Phases | Fluid (propose/apply) | 3 phases (R→P→I) | Roadmap → phases → tasks | | Agents | None | 12 specialized roles | 15+ orchestrated agents | | TDD | None | Integrated RED→GREEN→REFACTOR | None | | Validation | None | GO/NO-GO research gate | Goal-backward verification | | Scope | Single change | Single feature | Entire project | | Complexity | Lightweight | Medium | Heavy |

License

MIT

Credits

Inspired by GSD, OpenSpec, and Andrej Karpathy's coding guidelines.