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

haki-skills

v0.1.6

Published

AI workflow system — project initialization, task planning, and execution with TDD-first approach

Readme

Haki Skills

License: MIT Node.js npm

AI workflow system for structured project initialization, task planning, and TDD-first execution.

Haki gives AI coding agents a repeatable workflow: ask the right questions, research the tech stack, plan with tests first, and execute with subagents — so projects start with clarity instead of guesswork.

Works with: Antigravity · Claude Code · Cursor · Codex · Gemini CLI

Why Haki

  • Structured over ad-hoc — Instead of dumping a vague prompt, Haki walks through Socratic questioning to extract real requirements before writing any code.
  • TDD-first plans — Every implementation step starts with a failing test. Plans are concrete: exact file paths, exact test commands, ≤ 5-minute steps.
  • Verified tech stacks — Uses Context7 MCP to look up real library versions and install commands. No hallucinated package names.
  • Parallel subagents — Research, codebase mapping, and task execution are dispatched to focused subagents for speed and context isolation.
  • State machine routing/haki:next auto-detects project state and invokes the right workflow. No memorizing commands.

Quick Start

Install into any project

npx haki-skills                      # Antigravity (default)
npx haki-skills --for claude         # + CLAUDE.md (Claude Code)
npx haki-skills --for cursor         # + .cursor/rules/haki.mdc (Cursor)
npx haki-skills --for codex          # + AGENTS.md (Codex)
npx haki-skills --for claude,cursor  # Multiple agents
npx haki-skills --for all            # All agents
npx haki-skills ./my-app --for claude  # Target a specific directory

Start building

/haki:next           # auto-detect state and advance
/haki:new-project    # full init: questions → research → PROJECT.md → ROADMAP.md
/haki:discuss        # extract decisions for a task through adaptive Q&A
/haki:plan           # create TDD-first implementation plan
/haki:exec           # execute planned tasks with subagents

Prerequisite: An AI coding agent that reads workflow files. The installer generates entry-point configs for Cursor (.cursor/rules/), Claude Code (CLAUDE.md), and Codex (AGENTS.md) automatically.

Workflow

Haki follows a linear pipeline. Each stage feeds the next:

new-project → discuss → plan → exec
     ↑                          |
     └── /haki:next (auto) ─────┘

| Command | What it does | | -------------------- | ----------------------------------------------------------------------------- | | /haki:new-project | Socratic discovery → 4 parallel research agents → PROJECT.md + ROADMAP.md | | /haki:discuss | Resolve gray areas for a specific task — one decision at a time | | /haki:plan | Create step-by-step TDD plan: write test → fail → implement → pass → commit | | /haki:exec | Dispatch subagents to execute all planned tasks with review gates | | /haki:next | State machine — detects progress and invokes the right command | | /haki:research | Look up library versions/docs via Context7 MCP | | /haki:map-codebase | 4 parallel agents map stack, architecture, conventions, structure | | /haki:init | Re-run the installer (with --force to overwrite) |

What Gets Installed

Core files install into .agent/. Agent configs are generated at the project root:

AGENTS.md                # Cross-agent instructions (Codex + others)
CLAUDE.md                # Claude Code entry point
.cursor/rules/haki.mdc   # Cursor rules
.agent/
├── workflows/           # 8 haki command files
├── bin/                 # CLI tools (haki-tools.cjs)
├── skills/              # 18 skill folders
├── templates/           # project, roadmap, task templates
└── references/          # questioning guide, UI formatting
.haki/                   # runtime data (gitignored)
├── research/
├── codebase/
└── tasks/

Agent config files are non-destructive — the installer skips them if they already exist, so your custom configs are never overwritten.

Included Skills

| Category | Skills | | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | | Planning | brainstorming, writing-plans, executing-plans | | Development | subagent-driven-development, test-driven-development, systematic-debugging | | Execution | dispatching-parallel-agents, verification-before-completion, full-output-enforcement | | Design | ui-ux-pro-max, taste-skill, soft-skill, brutalist-skill, minimalist-skill, stitch-skill, redesign-skill, industrial-brutalist-ui | | Research | context7-research |

CLI Tools

haki-tools.cjs provides state management for the workflow:

# Config management
node .agent/bin/haki-tools.cjs config init
node .agent/bin/haki-tools.cjs config get ui_design_skill
node .agent/bin/haki-tools.cjs config set ui_design_skill taste-skill

# Roadmap operations
node .agent/bin/haki-tools.cjs roadmap analyze
node .agent/bin/haki-tools.cjs roadmap next-task
node .agent/bin/haki-tools.cjs roadmap update-status T-01 completed

# State detection (used by /haki:next)
node .agent/bin/haki-tools.cjs state detect
node .agent/bin/haki-tools.cjs state json

Requirements

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feat/my-feature)
  3. Make your changes
  4. Run tests: npm test
  5. Submit a pull request

Project Structure

haki-skills/
├── bin/install.js        # Installer script (npx entry point)
├── .agent/
│   ├── workflows/        # Workflow definitions (haki-*.md)
│   ├── bin/              # CLI tools
│   │   ├── haki-tools.cjs
│   │   └── lib/          # config, roadmap, state, core modules
│   ├── skills/           # Skill folders (SKILL.md + resources)
│   ├── templates/        # Markdown templates for project docs
│   └── references/       # Reference guides
└── package.json

Support

License

MIT