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

@kunbo0928/k-flow

v2.2.0

Published

Platform-neutral engineering Skills and deterministic tooling for AI coding agents.

Readme

kflow

Make AI coding follow an engineering feedback loop—not merely produce plausible code.

English · 简体中文

status skills

kflow is an engineering workflow for AI coding agents. It routes work to focused Skills, then requires repeatable evidence that the requested outcome actually works.

You keep working in the project's existing code, tests, and documentation. kflow does not replace project management, create a parallel requirements system, or force ordinary tasks through workflow paperwork.

What it helps you do

| Your task | How kflow approaches it | Completion evidence | |---|---|---| | Add or change behavior | grill until Spec Clear, then implement the smallest complete change | target behavior red → green | | Fix a bug | reproduce the same user-visible symptom; diagnosis is not repair authority | symptom red → green | | Refactor code | establish a behavioral baseline before changing structure | baseline green → green | | Deliver a larger goal | manage dependencies, decisions, and independently verifiable items | item evidence + integrated acceptance | | Review code | freeze git base/head and report severity-ranked findings | independent review_passed or owner risk_accepted |

Low-risk, well-defined work stays direct. Checkpoints and recovery records appear only when the actual risk, duration, or number of deliverables calls for them.

Install

Node.js 20 or newer is required. Install the CLI globally, then initialize your project:

npm install -g @kunbo0928/k-flow@latest
cd your-project
kflow init

init installs fourteen Skills under .agents/skills/, creates the progressive Project Map and Works skeleton, and connects detected Agent platforms. It does not create lessons/ or attention.md.

kflow init --tools codex,claude
kflow init --tools all

Interactive init opens a searchable platform selector and preselects detected Agents. Use --yes (or -y) to skip selection and install to every detected Agent. In non-interactive environments, pass --tools when no Agent can be detected. Use --copy where symlinks are unavailable and --force to replace an existing integration.

Use it

After initialization, describe the work naturally in your Agent. k-flow is the common entry point: it reads the Project Map, then selects a Work type and the current step.

Use kflow to add CSV export to the orders table.

Use kflow to investigate why users sometimes return to the login page. Diagnose only.

Use kflow to refactor this cache without changing behavior.

Use kflow to plan and deliver the payment-module migration.

Use kflow to review this PR. Report findings without editing product code.
Your goal
  ↓
k-flow selects Work type and current step
  ↓
k-grilling until Spec Clear → k-implement (red → green) → k-review → k-knowledge
  ↓
inspect real code and project conventions
  ↓
deliver code, evidence, remaining risk, and durable context in AGENTS.md / project-map

Each bounded effort owns one .kflow/works/{type}-{slug}/: spec.md keeps the stable contract and work.md keeps active state. The user decides whether completed work.md remains.

The fourteen Skills

| Skill | Purpose | |---|---| | k-flow | common entry: choose Work type and current step | | k-onboard | build a verified Project Map and AGENTS contract | | k-feat | add or change user-observable behavior | | k-issue | reproduce, diagnose, and—when authorized—fix a defect | | k-refactor | improve internal structure while preserving behavior | | k-roadmap | coordinate multi-deliverable goals, dependencies, and acceptance | | k-research | investigate primary evidence without implementation authority | | k-prototype | use a disposable artifact to answer one decision | | k-reconcile | reconcile Project Map against code and canonical owners | | k-implement | TDD against an existing spec; does not create a Work type | | k-grilling | question until Spec Clear; zero questions when already clear | | k-review | independent two-axis review of a frozen base/head | | k-knowledge | write durable facts back to AGENTS.md or project-map | | k-author | how to write agent-facing AGENTS.md, maps, and Skills |

Each Skill is independently usable and follows the open Agent Skills directory format. Skills own judgment and engineering method; the CLI owns deterministic installation, shape checks, recovery, and document queries.

Useful CLI commands

kflow doctor
kflow status
kflow work create feat export-csv --summary "Export CSV"
kflow work show feat-export-csv --json
kflow work validate feat-export-csv
kflow map validate
kflow document search --dir docs --query "cache"
kflow document validate --file docs/adr/001.md --require status

The CLI enforces shape, non-empty contract sections, and that map pointers exist. --json prints one versioned envelope (schemaVersion, ok, diagnostics[]). work show on a roadmap also projects frontier, blocked, and next. It does not run tests, score grilling, or judge whether the reviewer was the implementer.

What it adds to a project

.agents/skills/       # canonical copies of the fourteen Skills
.kflow/
├── project-map/      # progressively disclosed project navigation
└── works/            # unified roadmap, task, and exploration Works

AI-facing entry points are root AGENTS.md and project-map. Stable facts continue to live in project-owned code, tests, README files, product documents, or ADRs. Legacy .kflow data is never deleted or bulk-migrated automatically.

Develop kflow

git clone https://github.com/kunbo928/kflow.git
cd kflow
npm install
npm run check
npm pack --dry-run

CLI sources live in packages/cli/; Skills live in skills/.