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

pi-mainflow

v0.2.0

Published

Matt Pocock 主流程编排器(pi 扩展):setup→grill-with-docs→to-spec→to-tickets→implement→code-review 六阶段状态机,flow 工具 + /flow 命令 + system prompt 注入,自带 9 个 pi 适配技能

Readme

pi-mainflow

Matt Pocock 主流程编排器(pi 扩展)。把 setup → grill-with-docs → to-spec → to-tickets → implement → code-review 六阶段主流程做成状态机,每阶段自动加载对应 pi 技能。

一键安装 = 扩展 + 10 个适配技能全部就位(含 Clean Architecture 词汇层 architecture-standards)(技能已随包分发,无需单独安装)。

安装

# 方式一:本地路径(开发/试用)
pi install ./pi-mainflow

# 方式二:npm(发布后)
pi install npm:pi-mainflow

# 方式三:git(仓库发布后)
pi install git:github.com/YOUR_USERNAME/pi-mainflow

# 临时试用(不写入设置)
pi -e ./pi-mainflow

安装后 pi list 应能看到 pi-mainflow新会话或 /reload 生效。

使用

/flow begin        # 开始主流程 → 进入 setup 阶段(自动触发 agent 回合)
/flow advance      # 完成当前阶段,进入下一阶段
/flow goto <stage> # 跳转到指定阶段(setup|grill|spec|tickets|implement|review|done)
/flow reset        # 重置流程
/flow              # 查看状态(TUI 里可弹选择器跳转)

agent 每回合自动注入 [MAIN FLOW ACTIVE](当前阶段 + 技能文件路径 + 推进方式),完成后调 flow 工具 advance

阶段映射

| 阶段 | 技能 | 产出 | |---|---|---| | setup | setup-matt-pocock-skills | docs/agents/issue-tracker.md(每个仓库一次) | | grill | grill-with-docs(自动带 domain-modeling) | CONTEXT.md + ADRs | | spec | to-spec | spec 文件(默认本地 .scratch/specs/) | | tickets | to-tickets | .scratch//issues/ 票文件(默认本地) | | implement | implement(自动带 tdd) | 代码 + 测试 | | review | code-review | 双轴并行 subagent 审查(Standards + Spec) |

随包技能(10 个)

grilling / domain-modeling / grill-with-docs / architecture-standards / to-spec / to-tickets / implement / code-review / tdd / setup-matt-pocock-skills —— 全部已适配 pi(斜杠命令引用改为按技能名、GitHub tracker 发布改为本地文件模式默认、code-review 子代理改为 pi 的 subagent 工具)。

说明

  • 源码与适配细节:docs/pi-extension-dev.mddocs/pi-skill-adaptation.md
  • 原版技能来自 mattpocock/skills(MIT)
  • pi-mainflow 本体 MIT