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

opence

v0.19.5

Published

Compound engineering workflow for AI-assisted development

Readme

opence

面向 AI 协作开发的复合式工程流程(Plan / Work / Review / Compound / Archive)。

opence 不是“命令集合”,而是一套可落地的工作流:先把变化写清楚,再编码;把评审变成明确的风险清单;最后把经验沉淀成可复用的规范和技能。

工作流理念

  • 规格是事实:specs/ 描述已经上线的系统行为。
  • 变更是提案:changes/ 记录即将发生的改动与理由。
  • 计划驱动实现:代码是对 tasks.md 的逐条兑现。
  • 评审优先风险:先找缺陷与回归,再谈风格。
  • 复利积累:把学到的东西写进 docs/solutions/ 和技能。

五阶段流程

Plan

目的:把“要做什么、为什么做、影响范围”写成可审阅的计划。

输出产物:

  • proposal.md:变更目的与影响
  • tasks.md:可执行的实现清单
  • design.md:必要时的技术决策(可选)
  • specs/<capability>/spec.md:变更的规格增量

Work

目的:按任务清单实现,持续同步状态。

输出产物:

  • 代码变更
  • tasks.md 进度更新(完成项勾选)

Review

目的:发现缺陷、风险、测试缺口,并按严重性排序。

输出产物:

  • 带文件路径的审查清单
  • 未覆盖场景与测试建议

Compound

目的:沉淀经验,形成可复用的团队记忆。

输出产物:

  • docs/solutions/ 中的问题与解决记录
  • 必要时新增/更新技能

Archive

目的:将已完成的变更归档,把规格增量合并到主规格中。

输出产物:

  • changes/archive/<change-id>/ 归档的变更
  • 更新后的 specs/ 主规格文件

目录结构与文件含义

opence/
├── project.md              # 项目约定与团队规则
├── AGENTS.md               # AI 助手运行规则入口
├── specs/                  # 现状规范:系统“已经是什么”
│   └── [capability]/
│       ├── spec.md         # 需求与场景(规格真相)
│       └── design.md       # 技术模式与约定(可选)
└── changes/                # 变更提案:系统“将要是什么”
    ├── [change-id]/
    │   ├── proposal.md     # 为什么改、改什么、影响面
    │   ├── tasks.md        # 实施清单(必须可执行)
    │   ├── design.md       # 技术决策(可选)
    │   └── specs/
    │       └── [capability]/
    │           └── spec.md # ADDED/MODIFIED/REMOVED 规格增量
    └── archive/            # 已完成并归档的变更

规格与变更的关系

  • specs/现状真相,任何实现都以此为准。
  • changes/未来提案,只有被批准并归档后,才会反映回 specs/
  • 规格增量采用 ADDED / MODIFIED / REMOVED / RENAMED 结构。
  • 每条需求至少包含一个 #### Scenario:,让验收与测试具象化。

技能与工具集成

opence 会为不同 AI 工具生成一致的技能入口:

  • .claude/skills/opence-*/SKILL.md(Claude Code、OpenCode、Copilot)
  • .codex/skills/opence-*/SKILL.md(Codex)
  • .opencode/commands/opence/(OpenCode 原生命令)

这些技能确保各工具执行同一套 Plan/Work/Review/Compound/Archive 流程。

快速上手(最少命令)

npm install -g opence@latest
opence init

之后主要在 opence/ 目录内工作;更详细的命令和选项可在 CLI 帮助中查看。

适用工具

  • Claude Code
  • OpenCode
  • Codex
  • GitHub Copilot
  • 兼容 AGENTS.md 的工具

示例

完整的 Plan/Work/Review/Compound/Archive 示例见 docs/examples/opence-change/