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

hk-workflow

v1.2.0

Published

Structured development workflow for Claude Code — brainstorm, design, plan, code, validate, ship

Readme

H.K — Structured Development Workflow for Claude Code

H.K is a complete development workflow that organizes every task into clear steps: brainstorm → design → plan → code → validate → ship. It adapts automatically to complexity and includes 20 specialized skills.

Installation

One command (recommended)

npx hk-workflow

Options:

npx hk-workflow --hooks      # Also install git hooks (pre-commit, security guard)
npx hk-workflow --force       # Overwrite existing installation
npx hk-workflow --uninstall   # Remove H.K workflow

Manual

cp -r H.K/hk/ ~/.claude/skills/hk/
cp -r H.K/skills/* ~/.claude/skills/
cp -r H.K/rules/* ~/.claude/rules/
cp -r H.K/meta/* ~/.claude/skills/shared/meta/

Quick Start

/hk add a logging system                    # Full workflow
/hk-dev implement JWT authentication        # Autonomous mode
/onetap fix the typo in the footer          # Ultra-fast, one task
/hk-help                                    # See all commands

All Commands

Workflow

| Command | Description | |---------|-------------| | /hk <task> | Full development workflow | | /hk-dev <task> | Autonomous mode (no interruptions + auto-save) | | /hk-help [command] | Display all commands and flags |

Creative & Planning

| Command | Description | |---------|-------------| | /hk-brainstorm <topic> | Creative brainstorming with Iris (15 techniques, 3 depth levels) | | /hk-design <description> | UI/UX design with Léo (adapt/create/redesign, HTML mockup) | | /hk-prd <description> | Product requirements with Aria (discovery → scope → FRs) |

Code Quality

| Command | Description | |---------|-------------| | /hk-audit-rules [--full\|--security] [path] | Code audit — 18 rules + custom CLAUDE.md rules | | /hk-debug <bug> | Systematic debugging — 3 hypotheses, differential diagnosis | | /hk-refactor [files] | Refactoring — 3 modes (full codebase / targeted / single file) | | /hk-changelog | Generate changelog from git commits | | /onetap <feature> | Ultra-fast implementation (explore → code → test) |

Project Context

| Command | Description | |---------|-------------| | /hk-context [update] | Generate/update project context | | /hk-monitoring <description> | Add entry to project journal |

Git

| Command | Description | |---------|-------------| | /commit | Quick commit + push | | /create-pr | Create PR with auto-generated description | | /merge <branch> | Smart merge with conflict resolution | | /fix-errors | Fix lint/typecheck errors in parallel | | /fix-pr-comments | Apply PR review feedback |

Security Audit (separate installation)

| Command | Description | |---------|-------------| | /threat-modeling | STRIDE threat analysis (9 phases) | | /adversary-simulation | Red team attack simulation (7 phases) | | /defensive-hardening | Blue team hardening with code (9 phases) |

Reference

| Command | Description | |---------|-------------| | /agent-prompt | Structured prompting for subagents/teams | | /prompt-creator | Prompt engineering guide (13 techniques) | | /skill-creator | Guide for creating Claude Code skills | | /claude-memory | Create/optimize CLAUDE.md files |

Complexity Levels

H.K auto-detects the right level. You can force it with --level.

| Level | When | Steps | |-------|------|-------| | L1 | Quick fix (1-3 files) | Execute → Validate | | L2 | Simple feature (4-7 files) | Analyze → Plan → Execute → Validate | | L3 | Full feature (8-15 files) | Full pipeline | | L4 | Major work (16+ files) | Full pipeline + mandatory Design |

Flags

| Flag | Effect | |------|--------| | -a / --autonomous | No interruptions except critical blockers | | -s / --save | Save state to .hk/hk-state.json | | -e / --economy | Direct tools only, no subagents | | -b / --branch | Create a dedicated git branch | | -l / --level | Force complexity level (L1/L2/L3/L4) | | -d / --design | Force design phase | | --force-harden | Mandatory security hardening | | --redesign | Force redesign mode in /hk-design | | --deep / --exhaustive | Brainstorming depth levels | | --full / --security | Audit depth levels |

Project Output

All generated files go to {project}-output/:

| File | Generated by | |------|-------------| | brainstorming/session-{date}.md | /hk-brainstorm | | prd.md | /hk-prd | | design-specs.md | /hk-design | | mockup-{name}.html | /hk-design | | project-context.md | /hk-context | | project-monitoring.md | /hk-monitoring | | learnings.md | /hk-debug |

Structure

H.K/
├── hk/                   # Main workflow
│   ├── SKILL.md          # Entry point
│   └── steps/            # 7 pipeline steps
├── skills/               # 20 specialized skills
├── rules/                # Global rules (copy to ~/.claude/rules/)
├── CLAUDE.md             # Template with 18 reflexes (10 security + 8 structure)
├── CHANGELOG.md          # Version history
└── TUTORIAL.md           # Complete guide

Full Guide

See TUTORIAL.md for detailed documentation of every command, flag, and workflow.