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

@fastknife/openflow

v0.4.2

Published

OpenFlow - document-as-constraint governance for AI-driven OpenCode development

Readme

OpenFlow: The Governance Layer for AI-Driven Development

中文文档 · Full handbook

OpenFlow is a documentation-governed workflow for AI-assisted development on OpenCode. It does not ask the AI to start with “how should we code this?” It first asks:

  • What is the exact boundary of the change?
  • Which existing constraints must not move?
  • What evidence proves the work is actually done?
  • Where will the decision live after the chat session disappears?

It is designed for brownfield systems where traceability, verification evidence, and long-term project memory matter more than the fastest first draft.

Why OpenFlow exists

AI agents can write code quickly, but unmanaged AI-driven changes often create three problems:

  1. Scope drift — the agent fixes one thing and quietly rewrites another.
  2. Unverifiable completion — “done” becomes a chat message instead of fresh lint/typecheck/test evidence.
  3. Lost rationale — months later nobody knows why a file, function, or behavior exists.

OpenFlow turns documentation into an executable constraint system:

  • docs/current/ stores current system facts the AI must obey.
  • docs/changes/ stores active feature workspaces and change boundaries.
  • docs/decisions/ stores cross-feature architectural decisions.
  • docs/archive/ stores immutable completed history and requirement-to-code traceability.

Core workflow

brainstorm → feature → writing-plan → implement → quality-gate → archive

| Stage | What happens | User entrypoint | |---|---|---| | Brainstorm | Explore requirements, options, and trade-offs before formalizing work. | Ask the agent to brainstorm, or invoke the openflow-brainstorm skill. | | Feature | Clarify the change boundary and generate design/behavior documents. | /openflow-feature <description> | | Writing plan | Convert design docs into a structured implementation plan. | /openflow-writing-plan <feature> | | Implement | Create an implementation run and delegate execution. | /openflow-implement <feature> | | Quality gate | Verify evidence, risk, freshness, and readiness. | AI calls openflow-quality-gate automatically. | | Archive | Freeze history, promote current facts, and generate traceability. | /openflow-archive <feature> |

What you get

  • Requirement-to-code traceability — completed features produce an implementation-mapper.md mapping requirements to changed files, functions, and symbols.
  • Evidence-led readiness — completion requires fresh verification, not a verbal claim.
  • Long-term project memory — project facts survive agent switches, developer handoffs, and lost chat history.
  • Safer AI execution — current docs, decisions, and behavior constraints are injected back into implementation.
  • Optional orchestration — works with OpenCode by default and can integrate with oh-my-openagent (omo) and GitNexus for deeper multi-agent/code-intelligence workflows.

Quick install

For LLM agents such as Claude Code, Cursor, Trae, or OpenCode, paste this instruction into the agent:

Install and configure OpenFlow by following the instructions here:
https://fastknifes.github.io/openflow/getting-started/installation

Manual install:

npm install @fastknife/openflow

Then enable the plugin in ~/.config/opencode/opencode.json or opencode.jsonc:

{
  "plugin": ["@fastknife/openflow"]
}

Initialize your project in OpenCode:

/openflow-init

Then start your first governed feature:

/openflow-feature add user profile page

Learn how to use it

License

MIT License. Developed by fastknife.