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

@haposoft/cafekit

v0.13.0

Published

Claude Code-first spec-driven workflow for AI coding assistants. Bundles CafeKit hapo: skills, runtime hooks, agents, and installer scaffolding.

Readme

@haposoft/cafekit

Claude Code-first spec-driven workflow and runtime bundle for AI coding assistants.

Version License Claude%20Code

Overview

CafeKit installs a structured workflow so an AI coding agent can move cleanly from:

Question -> Question answer -> Brainstorm -> Spec -> Design -> Task Files -> Implementation -> Test -> Review

Claude Code install support:

  • installs CafeKit skills under .claude/skills/
  • installs supporting agents under .claude/agents/
  • installs runtime hooks, statusline, and managed settings
  • merges Claude settings safely on re-run

OpenCode install support:

  • installs command wrappers under .opencode/commands/
  • installs converted OpenCode agents under .opencode/agents/
  • installs CafeKit skills under .opencode/skills/
  • installs OpenCode plugin runtime files under .opencode/plugins/
  • merges opencode.json and root AGENTS.md
  • omits the Claude hapo: command prefix

Install

Run in your project root:

npx @haposoft/cafekit

Refresh managed files:

npx @haposoft/cafekit --upgrade

Requirements:

  • Node.js 18+
  • Claude Code project with .claude/, OpenCode project with .opencode/ or opencode.json, or choose a runtime when prompted

What Gets Installed

Claude Code targets:

.claude/
├── .gitignore
├── skills/
├── agents/
├── hooks/
├── rules/
├── scripts/
├── references/
├── cafekit.json
├── status.cjs
├── runtime.json
├── settings.json
└── CLAUDE.md

OpenCode targets:

.opencode/
├── .gitignore
├── commands/
├── agents/
├── skills/
├── rules/
├── scripts/
├── references/
├── plugins/
├── cafekit.json
├── runtime.json
└── package.json

AGENTS.md
opencode.json

OpenCode setup also:

  • binds generated commands to matching CafeKit subagents with agent + subtask
  • configures permission.skill and permission.task
  • optionally writes model to opencode.json from OPENCODE_MODEL, OPENCODE_DEFAULT_MODEL, or installer input

To check the installed CafeKit package version:

cat .claude/cafekit.json
cat .opencode/cafekit.json

Core Skills

CafeKit ships many skills, but the main release surface is:

  • /hapo:question <question> [--repo|--web|--both|--brief|--deep]: answer questions using repo evidence first, then external/current sources when local evidence is insufficient
  • /hapo:brainstorm <idea-or-problem>: scout the repo, clarify exact requirements, compare approaches, and hand off to specs
  • /hapo:specs <feature-description>: create or resume a structured spec workflow
  • /hapo:develop <feature-name>: implement from approved spec artifacts
  • /hapo:debug <issue>: diagnose bugs, incidents, CI failures, flaky tests, UI regressions, and performance issues before fixing
  • /hapo:hotfix <issue>: fix diagnosed bugs with root-cause, verification, prevention, and side-effect gates
  • /hapo:docs [--init|--update|--summarize|--reconstruct]: create project docs or reconstruct as-is system documentation from source code
  • /hapo:test [scope|--full]: run verification and return a structured verdict
  • /hapo:code-review [scope|--pending]: adversarial review focused on correctness, regressions, and security
  • /hapo:generate-graph <diagram request>: generate technical SVG/PNG diagrams

Common companion skills bundled in this package include inspect, impact-analysis, research, ai-multimodal, frontend-development, backend-development, and react-best-practices.

CafeKit uses rule-based skill routing guidance instead of an automatic prompt-scoring hook. See .claude/rules/skill-workflow-routing.md, .claude/rules/skill-domain-routing.md, or run:

node .claude/scripts/generate-skill-catalog.cjs --skills

Quick Start

Claude Code:

/hapo:question "Which files define the current CafeKit install/runtime behavior?" --repo
/hapo:brainstorm Explore approaches for a Google Meet transcript extension
/hapo:specs Build a Google Meet transcript extension with AI summaries
/hapo:develop meet-transcript-mvp
/hapo:test meet-transcript-mvp --full
/hapo:code-review meet-transcript-mvp --pending

OpenCode uses the generated command names without the Claude hapo: prefix:

/question "Which files define the current CafeKit install/runtime behavior?" --repo
/brainstorm Explore approaches for a Google Meet transcript extension
/specs Build a Google Meet transcript extension with AI summaries
/develop meet-transcript-mvp
/test --full
/code-review --pending

Reconstruct as-is docs from a legacy codebase:

/hapo:docs --reconstruct apps/legacy-admin

The reconstruct bundle includes as-is markdown/JSON evidence and a self-contained overview.html review dashboard before the approved docs are handed to /hapo:specs.

Spec Output

Specs are stored under:

specs/<feature-name>/
├── spec.json
├── requirements.md
├── research.md
├── design.md
└── tasks/task-R*.md

Development

Run package self-tests:

npm test

License

MIT