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

specrails-core

v3.2.0

Published

AI agent workflow system for Claude Code — installs 12 specialized agents, orchestration commands, and persona-driven product discovery into any repository

Readme

specrails-core

npm version GitHub Stars License: MIT npm downloads Claude Code Codex

Your AI development team. From idea to production code.

One command gives your repo a full team of specialized AI agents: architect, developer, reviewer, product manager — all working together through a structured pipeline, fully adapted to your codebase.

npx specrails-core@latest init --root-dir .

Requirements: Claude Code or Codex CLI (choose one), Node 18+, git


How it works

Idea  →  Architecture  →  Implementation  →  Review  →  PR
         (sr-architect)   (sr-developer)    (sr-reviewer)

Run /sr:implement "add dark mode" — the pipeline designs, builds, reviews, and ships a pull request. No hand-holding required.

Every artifact (agents, rules, personas) is generated specifically for your project by analyzing your actual codebase, tech stack, and CI setup. Not generic templates.


Quick start

1. Install

npx specrails-core@latest init --root-dir .

2. Run setup inside your AI CLI

claude      # Claude Code
# or
codex       # OpenAI Codex (beta)
> /setup    # run the 5-phase wizard (~5 min)

3. Start building

> /sr:implement "add user authentication"
> /sr:implement #42, #43               # from GitHub Issues
> /sr:update-product-driven-backlog    # discover new features with AI

That's it. The pipeline takes over.


What gets installed

| Category | Files | Purpose | |----------|-------|---------| | Agents | .claude/agents/*.md | 12 specialized AI agents | | Personas | .claude/agents/personas/*.md | VPC user profiles, generated from your users | | Commands | .claude/commands/sr/*.md | /sr:implement, /sr:product-backlog, /sr:update-product-driven-backlog | | Rules | .claude/rules/*.md | Per-layer coding conventions, loaded by file path | | Memory | .claude/agent-memory/ | Persistent knowledge — agents learn across sessions | | Config | .claude/settings.json, CLAUDE.md | Permissions, architecture reference |


Why SpecRails

| | SpecRails | Plain Claude Code | Cursor / Copilot | |---|---|---|---| | Structured pipeline | ✅ Architect → Dev → Review → PR | ❌ Manual | ❌ Manual | | Adapts to your codebase | ✅ Reads your actual stack/CI | ⚠️ Prompts only | ❌ | | Product-driven backlog | ✅ VPC persona scoring | ❌ | ❌ | | Parallel feature builds | ✅ Git worktrees | ❌ | ❌ | | Institutional memory | ✅ Agents learn across sessions | ❌ | ❌ | | Open source | ✅ MIT | N/A | ❌ |

SpecRails is not a chat interface. It's a development pipeline that coordinates multiple specialized agents through your existing tools (GitHub Issues, JIRA, git, CI).


The agents

| Agent | Model | Role | |-------|-------|------| | sr-architect | Sonnet | Designs features: proposal, technical design, task breakdown | | sr-developer | Sonnet | Full-stack implementation | | sr-backend-developer | Sonnet | Backend-specialized implementation | | sr-frontend-developer | Sonnet | Frontend-specialized implementation | | sr-reviewer | Sonnet | Quality gate: runs CI, fixes issues, records learnings | | sr-backend-reviewer | Sonnet | Backend code review: API design, DB patterns, performance | | sr-frontend-reviewer | Sonnet | Frontend code review: UX, accessibility, component design | | sr-test-writer | Sonnet | Generates unit, integration, and e2e tests | | sr-security-reviewer | Sonnet | Secrets detection, OWASP checks, dependency vulnerabilities | | sr-doc-sync | Sonnet | Updates changelogs, READMEs, API docs | | sr-product-manager | Opus | Product discovery: competitive analysis, VPC evaluation | | sr-product-analyst | Haiku | Read-only backlog analysis and prioritization |


Commands

/sr:implement — Build features

/sr:implement "add dark mode"        # from a description
/sr:implement #85, #71               # from GitHub Issues
/sr:implement UI, Analytics          # explore areas, pick the best ideas

Architect designs → developer builds → reviewer validates → PR created. Multiple features run in parallel with git worktrees.

Dry-run / preview mode

Not ready to commit? Run the full pipeline without touching git or GitHub:

/sr:implement "add dark mode" --dry-run
/sr:implement #85 --preview            # --preview is an alias for --dry-run

All agents run normally. Generated files land in .claude/.dry-run/<feature-name>/ instead of your working tree. No branches, commits, PRs, or issue updates are created.

When you're happy with the preview, apply the cached output:

/sr:implement --apply add-dark-mode    # copies files to real paths, then ships

To discard without applying:

rm -rf .claude/.dry-run/add-dark-mode/

/sr:product-backlog — View prioritized backlog

/sr:product-backlog                  # show all areas
/sr:product-backlog UI, Decks        # filter by area

Reads your GitHub Issues, scores by VPC persona match, recommends top 3 for next sprint.

/sr:update-product-driven-backlog — Discover features

/sr:update-product-driven-backlog             # explore all areas
/sr:update-product-driven-backlog Analytics   # focus on one area

AI product discovery using your personas. Evaluates ideas, creates GitHub Issues for the best ones.


VPC persona scoring

Features are scored against your user personas using the VPC framework:

+-----------------------------+    +-----------------------------+
|     VALUE PROPOSITION       |    |     CUSTOMER SEGMENT        |
|  Products & Services    <---+--->|  Customer Jobs              |
|  Pain Relievers         <---+--->|  Pains                      |
|  Gain Creators          <---+--->|  Gains                      |
+-----------------------------+    +-----------------------------+

Each persona scores features 0-5. Features are ranked by score/effort ratio. No gut-feel product decisions.


Prerequisites

| Tool | Required | Purpose | |------|----------|---------| | Claude Code | Yes | AI agent runtime — install | | git | Yes | Repository detection | | npm / Node 18+ | Recommended | Needed for npx install and OpenSpec CLI | | OpenSpec CLI | Recommended | Structured design artifacts for /sr:implement | | GitHub CLI (gh) | Optional | Backlog sync to GitHub Issues, PR creation | | JIRA CLI (jira) | Optional | Backlog sync to JIRA |

The installer checks for each tool and offers to install missing ones.


Supported stacks

Stack-agnostic. The /setup wizard detects and adapts to whatever you're running:

Backend: Python/FastAPI, Node/Express, Go/Gin, Rust/Actix, Java/Spring, Ruby/Rails, .NET Frontend: React, Vue, Angular, Svelte, Next.js, Nuxt Database: PostgreSQL, MySQL, SQLite, MongoDB, Redis CI/CD: GitHub Actions, GitLab CI, Jenkins, Makefile Testing: pytest, vitest, jest, go test, cargo test, rspec


Design principles

  1. Two-step install — Shell handles prerequisites, Claude handles intelligence. No API keys beyond Claude Code auth.
  2. Self-cleaning — All scaffolding removed after setup. Only final, project-specific files remain.
  3. Context-first — Every generated file uses your real paths, patterns, and CI commands.
  4. Persona-driven — Product decisions grounded in researched user personas, not assumptions.
  5. Institutional memory — Agents learn across sessions. Reviewer learnings feed back to future developers.
  6. Parallel-safe — Multiple features implemented simultaneously via git worktrees with automatic merge.

FAQ

Can I customize the agents after installation? Yes. The generated files in .claude/ are yours to edit — plain markdown. Edit agent personalities, adjust CI commands, add rules, create personas.

Can I re-run setup? Run npx specrails-core@latest init --root-dir <path> again to re-scaffold, then /setup.

Does this work without OpenSpec? Partially. Product discovery commands and individual agents work. /sr:implement and sr-architect rely on OpenSpec for structured design artifacts.

Does this work without GitHub CLI? Yes. Use JIRA instead, or skip backlog commands. /sr:implement "description" works without gh — it just skips automated PR creation.

How much does it cost to run? A full /sr:implement cycle for one feature typically costs a few dollars in Claude API usage. The sr-product-manager uses Opus; all other agents use Sonnet or Haiku.

Does it work with private repos? Yes. Everything runs locally through Claude Code. No external services beyond the Claude API.


Also in the SpecRails ecosystem

  • specrails-hub — GUI for specrails-core. Manage your agents, run commands, and view pipeline results from a web interface.
  • specrails.dev — Official website and documentation.
  • Product HuntVote for SpecRails on launch day (link goes live on launch day — star this repo to get notified)

License

MIT — fjpulidop