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

@casualjim/pi-superpowers

v0.2.3

Published

Canonical Superpowers workflow skills and runtime guardrails for pi

Readme

pi-superpowers

Canonical Superpowers workflow skills and runtime guardrails for Pi.

Canonical Source

This package treats obra/superpowers as canonical for methodology and skill behavior. Pi-specific files adapt that behavior to Pi tools and package conventions.

Acknowledgements

This package uses obra/superpowers as the canonical source for Superpowers methodology and skill behavior.

The workflow-monitor runtime design also builds on prior work from coctostan/pi-superpowers-plus, especially its Pi TUI workflow strip, TDD/debug/verification monitor concepts, branch-safety reminders, and workflow state tracking. This package adapts those ideas to the current obra/superpowers skills, todo, and pi-subagents contracts.

Required Companion Packages

Install the runtime companion packages separately:

pi install npm:@juicesharp/rpiv-todo
pi install npm:pi-subagents
  • @juicesharp/rpiv-todo provides the todo tool used in place of canonical Superpowers task tracking guidance.
  • pi-subagents provides the subagent tool used for delegated implementation and review workflows.

Installation

pi install npm:@casualjim/pi-superpowers

You can also install directly from git:

pi install git:github.com/casualjim/pi-superpowers

For project-local installation, use Pi's local package install mode from your project so package settings stay with the repository.

What This Package Provides

  • Mandatory Superpowers bootstrap injection.
  • Canonical Superpowers skills adapted for Pi.
  • Workflow monitor guardrails for phase, TDD, verification, and review reminders.
  • Bundled read-only reviewer agent templates.

Tool Mapping

  • TodoWritetodo from @juicesharp/rpiv-todo.
  • Task / subagent workflow → subagent from pi-subagents.
  • Read / Write / Edit / Bash → Pi read / write / edit / bash.

Workflow Monitor Runtime

The bundled workflow monitor tracks the Superpowers phase strip in the Pi UI:

Brainstorm → Plan → Execute → Verify → Review → Finish

It records canonical artifacts and tool signals:

  • Brainstorm artifacts: docs/specs/YYYY-MM-DD-<topic>-design.md.
  • Plan artifacts: docs/plans/YYYY-MM-DD-<feature>.md.
  • todo create/update signals execution progress.
  • subagent calls to worker, superpowers-spec-reviewer, and superpowers-code-reviewer signal delegated execution and review.

The monitor also provides runtime guardrails:

  • Brainstorm/plan writes are limited to docs/specs/ and docs/plans/.
  • TDD state warns on source edits before a failing test.
  • Debug state warns on fixes before investigation or repeated failing fixes.
  • Verification state becomes stale after source edits and gates completion actions such as git commit, git push, and gh pr create until fresh verification passes.

Commands:

  • /workflow-next <phase> [artifact] starts a fresh session prefilled with the skill for the next phase, for example /workflow-next execute docs/plans/example.md.
  • /workflow-reset clears the persisted workflow monitor state for a new unrelated task.

Reviewer Agents

Canonical Superpowers review is read-only. This repo bundles reviewer templates in agents/:

  • agents/superpowers-spec-reviewer.md
  • agents/superpowers-code-reviewer.md

Users can copy those templates into their repository's .pi/agents/ directory to customize reviewer behavior. Project agents have higher priority in pi-subagents discovery, so repository-local copies can override the bundled/default behavior without changing global configuration.

Use the superpowers-spec-reviewer and superpowers-code-reviewer reviewer contracts, not the builtin review-and-fix reviewer agent.

Docker E2E Installation Recovery Test

The default test suite is unit/regression only:

npm test

A dedicated real-Pi Docker integration test proves installation recovery end-to-end. It is a mise task so your configured mise/fnox environment can provide ZAI_API_KEY without the test harness inspecting the secret:

mise run test:integration

This builds a Docker image that copies this repository into /workspace/pi-superpowers, installs the real Pi CLI, installs npm:@thesethrose/pi-zai-provider, uses zai/glm-5-turbo, and verifies the exact recovery commands for missing companion packages. The test assumes ZAI_API_KEY is provided by the caller and does not preflight or debug secrets.

fnox.toml and mise.toml are committed for local secret/tool environment setup, but .dockerignore excludes them from the Docker build context.

Architecture

pi-superpowers owns Superpowers behavior injection, Pi-adapted Superpowers skills, bundled reviewer templates, and workflow-monitor guardrails. It does not implement its own task tracker or subagent runtime; those are provided by the companion packages above.