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

flow-skills

v0.1.1

Published

Chinese Codex flow skills for requirements, design, planning, implementation, verification, shipping, and iteration archival.

Downloads

17

Readme

Flow Skills

一组中文 Codex skills,用于把一次需求从项目初始化、需求澄清、方案设计、方案评审、计划拆分、实现、验证、安全审查、交付到归档,串成可重复执行的工作流。

这套 workflow 参考了 GSD 的阶段化思想,也吸收了 AGENTS.md 实践中的“地图,而非手册”原则:

  • AGENTS.md + docs/*:长期项目知识。
  • plans/*:当前需求/当前迭代状态。
  • plans/archive/*:历史迭代归档。
  • 代码:最终事实源。

Skills

flow-init      初始化项目长期知识层:AGENTS.md + docs/*
flow-discuss   讨论和澄清本次需求,产出需求文档
flow-design    设计 API、UI、后端、安全和验证方案
flow-review    评审技术方案,阻断高风险方案
flow-plan      拆分 phases 和可执行 PLAN
flow-build     按 PLAN 实现代码
flow-verify    验证功能、回归和代码安全
flow-ship      准备 PR/交付说明
flow-close     归档当前需求迭代
flow-next      开启下一轮需求

flow-shared/ 不是一个可触发 skill,它保存所有 flow skills 共享的规则。安装时必须一起复制。

Install

Option 1: npx

推荐使用 npm 安装:

npx flow-skills install

如果已经安装过同名 skill,需要显式覆盖:

npx flow-skills install --force

安装到自定义目录:

npx flow-skills install --dest /path/to/skills

默认安装到:

~/.codex/skills/

如果你设置了 CODEX_HOME,会安装到:

$CODEX_HOME/skills/

安装完成后重启 Codex 或开启新会话。

验证安装:

ls ~/.codex/skills/flow-init
ls ~/.codex/skills/flow-shared

Option 2: Clone and install

如果你从 GitHub 克隆了本仓库,可以在仓库根目录运行:

./install.sh

Option 3: Manual install

mkdir -p ~/.codex/skills
cp -R flow-* ~/.codex/skills/

确认这些目录都在 ~/.codex/skills/ 下:

flow-init
flow-discuss
flow-design
flow-review
flow-plan
flow-build
flow-verify
flow-ship
flow-close
flow-next
flow-shared

Update

使用 npm 更新:

npx flow-skills install --force

如果从源码安装,重新拉取仓库后再次运行安装脚本:

git pull
./install.sh

安装脚本会把已有同名目录备份为:

~/.codex/skills/<skill>.backup.<timestamp>

然后复制新版本。

Usage

在 Codex 中直接提到 skill 名称即可触发,例如:

使用 flow-init 初始化这个项目的 AGENTS.md 和 docs
使用 flow-discuss 讨论这个需求并产出需求文档
使用 flow-design 做 API 和 UI 技术方案

推荐顺序:

flow-init
  -> flow-discuss
  -> flow-design
  -> flow-review
  -> flow-plan
  -> flow-build
  -> flow-verify
  -> flow-ship
  -> flow-close
  -> flow-next

Generated Project Structure

在目标项目中,这套 skills 预期维护:

AGENTS.md
docs/
  architecture.md
  development.md
  verification.md
  conventions.md
  frontend.md
  backend.md

plans/
  PROJECT.md
  REQUIREMENTS.md
  API-SPEC.md
  UI-SPEC.md
  TECHNICAL-SOLUTION.md
  TECHNICAL-REVIEW.md
  ROADMAP.md
  STATE.md
  phases/
    001-name/
      PLAN.md
      EXECUTION.md
      VERIFICATION.md
      SHIP.md
  archive/

Development

检查 skill 结构:

find . -maxdepth 3 -type f | sort
rg -n "^name:|^description:" .
rg -n "../flow-shared/references|flow-shared/references" .
npm run check
npm run pack:dry

约定:

  • 每个可触发 skill 是一个目录,目录内必须有 SKILL.md
  • flow-shared/ 只放共享规则,不写 SKILL.md
  • 公共规则放在 flow-shared/references/*,不要复制到每个 skill。
  • 修改 workflow 边界时,同时更新 README 和相关 shared reference。