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

@leing2021/super-pi

v0.25.1

Published

Pi-native Compound Engineering package for iterative development workflows

Readme

Super Pi

Super Pi Workflow

中文 | English

Turn your AI coding agent into a reliable engineer.

Super Pi is a Pi-native engineering workflow layer: it adds stage discipline, durable artifacts, TDD gates, checkpoints, review, and learning loops on top of your coding agent.

Install, describe what you want to build, then keep saying "continue." Super Pi drives the full loop:

think → plan → build → review → compound learnings.

pi install npm:@leing2021/super-pi

Highlights

  • Five-step loop — brainstorm → plan → work → review → learn, with automatic skill routing
  • Checkpoint resume — interrupted? Resume from the exact unit you left off
  • TDD enforcement — every unit follows RED → GREEN → REFACTOR with hard gates
  • Evidence-first review — auto-assigned reviewers across five axes, autofix loop
  • Knowledge compounding — solved problems become searchable solution artifacts
  • Token-efficient — ~4,200 tokens new-conversation overhead; progressive loading

Quickstart

pi install npm:@leing2021/super-pi

Then in Pi:

You: I want to build a CLI tool that helps indie devs find early users

→ 01-brainstorm: structured discovery → requirements artifact
→ 02-plan: TDD-gated implementation units → plan artifact
→ 03-work: inline execution, checkpoint resume
→ 04-review: five-axis findings, autofix loop
→ 05-learn: knowledge compounding

You: continue
→ Next skill recommended via /skill:06-next

Resume after interruption:

You: /skill:03-work docs/plans/plan.md
→ Loads checkpoint, skips completed units, resumes from breakpoint

The Five-Step Loop

01-brainstorm → 02-plan → 03-work → 04-review → 05-learn
    think         plan      build      review      learn

| Skill | What it does | Core tool | |-------|-------------|-----------| | 01-brainstorm | Structured multi-round discovery, domain vocabulary persistence | brainstorm_dialog | | 02-plan | TDD-gated implementation units, optional CEO Review | plan_diff | | 03-work | Inline execution, checkpoint resume, strict TDD, stop-the-line | session_checkpoint, task_splitter | | 04-review | Auto-assigned reviewers, five-axis findings, autofix loop | review_router | | 05-learn | Pattern extraction → searchable solution artifacts | pattern_extractor | | 06-next | Next-step recommendation + workflow status | workflow_state | | 07-worktree | Isolated git worktree development | worktree_manager |

Model & Thinking Routing

Configure in .pi/settings.json:

{
  "modelStrategy": {
    "01-brainstorm": "anthropic/claude-sonnet-4-20250514",
    "02-plan": "anthropic/claude-opus-4-20250115"
  },
  "thinkingStrategy": {
    "01-brainstorm": "high",
    "02-plan": "high",
    "03-work": "medium"
  }
}

Model and thinking level switch automatically — no manual /model needed.

Design Philosophy & Acknowledgements

80% planning and review, 20% execution.

The goal is not to make AI write code faster. The goal is to make AI think before writing, review after writing, and compound what it learns.

Super Pi is not a fork or wrapper. It extracts useful methods from the projects below and rebuilds them with Pi-native skills, tools, artifacts, checkpoints, and handoffs.

| Project | What Super Pi adopted | |---------|------------------------| | addyosmani/agent-skills | "Use when" skill trigger conditions, source-driven verification, stop-the-line hard gate, anti-rationalization, and the five-axis review baseline. Adopted as embedded micro-patterns only — no new skills, tools, commands, or agents. | | everything-claude-code | Checkpoint resume, continuous learning loops, and token-conscious agent workflow design. | | humanlayer/12-factor-agents | Context window ownership, compacting resolved errors, retry caps, and pre-fetching obvious prerequisites. Adopted as lightweight context hygiene rules inside the existing Phase 1 pipeline. | | superpowers | Strict TDD gates, design checklists, review discipline, and the idea that agents need hard gates instead of gentle suggestions. | | compound-engineering-plugin | The five-step think → plan → build → review → learn loop and the knowledge-compounding backbone. | | gstack | YC-style forcing questions, CEO Review cognitive frameworks, browser QA patterns, failure maps, and evidence-first validation. | | mattpocock/skills | Context glossary (CONTEXT.md) for cross-session term persistence, lightweight ADR with three-condition threshold, and feedback-loop-first debug discipline. Adopted as reference templates embedded into existing skills — no new skills or tools. |


Behavioral Gates

Stop-the-line (Hard gate)

When an unexpected failure occurs during 03-work:

  1. STOP adding features
  2. PRESERVE evidence
  3. DIAGNOSE root cause — build a feedback loop first, then reproduce → hypothesise → instrument → fix
  4. FIX the root cause, not the symptom
  5. GUARD with a regression test
  6. RESUME only after verification passes

Anti-rationalization: do not rationalize, downgrade, or explain away failures. Stop and report with evidence.

Source-driven verification

When implementation depends on a framework/library API, version-specific behavior, or a recommended pattern: verify against official documentation before implementing. Pure logic, renaming, or in-project pattern reuse does not require external citation.

Review five axes

All reviewers evaluate changes across: correctness, readability, architecture, security, performance.


Token Cost

New conversation overhead: ~4,130 tokens (2.1% of 200K context).

| Component | Tokens | |-----------|--------| | 17 skill registrations | ~1,710 | | 22 tool schemas | ~2,420 | | Skill inlining (per invocation) | ~300–1,200 |

Progressive loading: only needed skills loaded on-demand.

See docs/token-cost-evaluation.md for detailed per-skill breakdown and measurement methodology.


Generated Structure

your-project/
├── docs/
│   ├── brainstorms/      # Requirements
│   ├── plans/             # Execution plans
│   ├── adr/               # Architecture decisions (lazy)
│   └── solutions/         # Knowledge cards
└── .context/
    └── compound-engineering/
        ├── checkpoints/   # Breakpoint files
        ├── handoffs/      # Cross-stage context
        └── history/       # Execution history

Commit everything to git — these files are the project's traceable memory.


Architecture

| Component | Count | |-----------|------:| | Skills | 7 | | Tools | 12 CE + 10 Pi built-in | | Rules | 78 | | TypeScript lines | ~4,100 | | Tests | 180 (727 assertions) |

Rules in rules/ cover 11 common topics + language-specific sets (TypeScript, Rust, Go, Python, Java, Kotlin, C++, C#, Dart, Swift, Perl, PHP). Project-level overrides take priority.


Commands

| Command | Description | |---------|-------------| | bun test | Run all tests | | npm publish --dry-run | Preview package contents |


Changelog

See CHANGELOG.md for full version history.

Links

  • npm: https://www.npmjs.com/package/@leing2021/super-pi
  • GitHub: https://github.com/leing2021/super-pi
  • License: MIT