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

@tianhai/pi-workflow-kit

v0.7.1

Published

Workflow skills and enforcement extensions for pi

Readme

pi-workflow-kit

Structured workflow skills and enforcement for pi.

What You Get

4 workflow skills that guide the agent through a structured development process:

brainstorm → plan → execute → finalize

1 extension that enforces the rules:

  • During brainstorming and planning, write and edit are hard-blocked outside docs/plans/. The agent can only read code and discuss the design with you — it literally cannot modify source files.
  • bash stays available for investigation (grep, find, git log, etc.).

No configuration required. Skills and extensions activate automatically after install.

Install

pi install npm:@tianhai/pi-workflow-kit

The Workflow

You control each phase explicitly by invoking the skill:

| Phase | Command | What Happens | |-------|---------|--------------| | Brainstorm | /skill:brainstorming | Refine your idea into a design doc via collaborative dialogue | | Plan | /skill:writing-plans | Break the design into bite-sized TDD tasks with exact file paths and code | | Execute | /skill:executing-tasks | Implement the plan task-by-task with TDD discipline and optional checkpoint review gates | | Finalize | /skill:finalizing | Archive plan docs, update README/CHANGELOG, create PR |

During brainstorm and plan, the extension blocks write/edit outside docs/plans/. During execute and finalize, all tools are available.

Skills

| Skill | Lines | Description | |-------|------:|-------------| | brainstorming | ~30 | Explore the idea, propose approaches, write design doc | | writing-plans | ~35 | Break design into tasks with TDD scenarios, set up branch/worktree | | executing-tasks | ~50 | Implement tasks with TDD discipline, checkpoint review gates, handle code review | | finalizing | ~20 | Archive docs, update changelog, create PR, clean up |

TDD Three-Scenario Model

The plan labels each task with its TDD scenario:

| Scenario | When | Rule | |----------|------|------| | New feature | Adding new behavior | Write failing test → implement → pass | | Modifying tested code | Changing existing behavior | Run existing tests first → modify → verify | | Trivial | Config, docs, naming | Use judgment |

Checkpoint Review Gates

Optionally label tasks with a checkpoint to pause for human review:

| Checkpoint | When to use | What happens | |---|---|---| | (none) | Trivial tasks, well-understood changes | Auto-advance, no pause | | checkpoint: test | Test design matters | Pause after failing test, before implementing | | checkpoint: done | Implementation review matters | Pause after implementation passes tests, before committing |

Architecture

pi-workflow-kit/
├── extensions/
│   └── workflow-guard.ts      # Write blocker during brainstorm/plan
├── skills/
│   ├── brainstorming/SKILL.md
│   ├── writing-plans/SKILL.md
│   ├── executing-tasks/SKILL.md
│   └── finalizing/SKILL.md
├── tests/
│   └── workflow-guard.test.ts
├── package.json
└── README.md

Development

npm test

License

MIT