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

@unisone/claude-toolkit

v1.0.0

Published

Professional AI coding toolkit — techdebt scanner + git worktree parallelization. Works with Claude Code, Cursor, Codex, or any AI coding tool.

Readme

Claude Toolkit

Professional AI coding toolkit — techdebt scanner + git worktree parallelization

npm version License: MIT Node.js Version Code Quality

Two essential tools that supercharge AI-powered development workflows. Works with Claude Code, Cursor, Codex, or any AI coding assistant.

Features

🔍 Techdebt Scanner

Automated code quality detection that finds:

  • 📋 Duplicated code patterns
  • 💀 Dead/unreachable code
  • 📝 TODO/FIXME/HACK markers
  • 🔒 Type safety gaps (TypeScript)
  • 📦 Dependency hygiene
  • 📏 File size violations

Perfect for: End-of-session cleanup, PR reviews, CI/CD quality gates

🌳 Git Worktree Manager

Create parallel development environments without branch-switching chaos:

  • 🚀 Isolated contexts for multi-tasking
  • 🤖 Perfect for parallel AI agents
  • 🔄 No rebuild thrashing
  • 🧠 Preserve mental context

Perfect for: Multi-agent workflows, parallel features, bug fixes while developing

Quick Start

Install

# Run directly with npx (no install)
npx @unisone/claude-toolkit techdebt

# Or install globally
npm install -g @unisone/claude-toolkit

# Or clone and use directly
git clone https://github.com/unisone/claude-toolkit
cd claude-toolkit
npm link

Usage

Techdebt Scanner

# Scan current directory
techdebt

# Scan specific project
techdebt /path/to/project

# Auto-fix safe issues (unused imports, formatting)
techdebt --fix

# Summary only
techdebt --summary

# Generate markdown report
npx @unisone/claude-toolkit techdebt > techdebt-report.md

Example output:

CRITICAL (must fix before merge)
---------------------------------
[FILE_SIZE] src/Dashboard.tsx (547 lines)
  → Split into smaller components

[DUPLICATE] src/utils/validator.ts:45-67
  → Extract to shared utility

HIGH (fix this sprint)
----------------------
[TYPE_GAP] src/models/user.ts:34
  Function missing return type
  → Add explicit return type

SUMMARY
-------
Critical: 2
High: 3
Medium: 7
Low: 4
Total: 16 issues

Worktree Manager

# Create parallel worktrees
worktrees /path/to/repo

# Custom worktree names
worktrees /path/to/repo backend frontend testing

# Creates structure:
#   repo/              # Main (read-only)
#   repo-backend/      # Worktree 1
#   repo-frontend/     # Worktree 2
#   repo-testing/      # Worktree 3

Then navigate with shell aliases:

alias za='cd ~/Projects/repo-backend'
alias zb='cd ~/Projects/repo-frontend'
alias zc='cd ~/Projects/repo-testing'

# Jump between worktrees instantly
za  # → backend work
zb  # → frontend work (in parallel!)

Cleanup when done:

# Scripts also available directly
./scripts/worktrees/teardown-worktrees.sh /path/to/repo

Claude Code Integration

1. Install the Techdebt Skill

Drop the skill into your Claude workspace:

# Copy SKILL.md to your .claude/skills/ directory
cp skills/techdebt/SKILL.md ~/.claude/skills/techdebt.md

# Or create a symlink for auto-updates
ln -s $(pwd)/skills/techdebt/SKILL.md ~/.claude/skills/techdebt.md

Now Claude can run techdebt scans automatically at the end of coding sessions!

2. Multi-Agent Worktree Pattern

Use worktrees to run multiple Claude agents in parallel without conflicts:

# Setup parallel worktrees
worktrees ~/Projects/my-app agent-refactor agent-tests agent-docs

# Spawn sub-agents, each in their own worktree
claude spawn --label refactor --workdir ~/Projects/my-app-agent-refactor
claude spawn --label tests --workdir ~/Projects/my-app-agent-tests  
claude spawn --label docs --workdir ~/Projects/my-app-agent-docs

Each agent works in isolation. No file conflicts. Clean merges.

Configuration

Techdebt Scanner

Create .techdebt.json in your project root:

{
  "fileSize": {
    "warning": 300,
    "critical": 500
  },
  "functionSize": {
    "warning": 50,
    "critical": 100
  },
  "duplicateThreshold": 10,
  "excludePaths": [
    "node_modules",
    "dist",
    "build"
  ],
  "autoFix": {
    "unusedImports": true,
    "formatting": false
  }
}

CI/CD Integration

GitHub Actions:

name: Code Quality
on: [pull_request]

jobs:
  techdebt:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - run: npx @unisone/claude-toolkit techdebt

Pre-commit hook:

#!/bin/bash
# .git/hooks/pre-commit
npx @unisone/claude-toolkit techdebt --summary

Why This Toolkit?

The AI Coding Velocity Problem

AI assistants ship fast. Quality control can't keep up.

When you have Claude, Cursor, or Codex generating thousands of lines per session:

  • Technical debt accumulates faster than humans can review
  • Parallel agents create branch chaos (Agent A conflicts with Agent B)
  • Context switching kills productivity (branch checkout = rebuild = 5min lost)
  • Type safety erodes (any types slip through, @ts-ignore proliferates)
  • Dead code piles up (commented blocks, failed experiments)

This toolkit solves both problems: automated quality checks + conflict-free parallelization.

The Parallel Agents Trend

Worktrees are becoming the standard for AI-native development:

Why now? AI agents made parallelization essential. Traditional branch-switching workflows break when you have:

  • 3 agents refactoring different modules simultaneously
  • Production hotfix needed while feature branch is mid-build
  • Experimental refactor running alongside stable development

Git worktrees solve this. This toolkit makes them trivial to use.

Comparison: Techdebt Scanner vs Alternatives

| Feature | claude-toolkit | SonarQube | ESLint | GitHub Advanced Security | |---------|----------------|-----------|--------|--------------------------| | Zero config | ✅ Works out of box | ❌ Complex setup | ⚠️ Needs config | ❌ Enterprise only | | Lightweight | ✅ Bash script | ❌ Java server | ✅ Node package | ❌ Cloud service | | AI-workflow native | ✅ Built for AI coding | ❌ Traditional CI/CD | ⚠️ General purpose | ❌ Security focus | | Duplicate detection | ✅ --duplicates flag | ✅ Advanced | ❌ Separate tool | ❌ Not included | | File size limits | ✅ Built-in | ⚠️ Via custom rules | ❌ Manual | ❌ Not applicable | | Dead code detection | ✅ Commented blocks | ✅ Advanced | ⚠️ Limited | ❌ Not included | | Type safety gaps | ✅ TypeScript focused | ✅ Multi-language | ⚠️ Linting only | ❌ Not included | | Dependency audit | ✅ npm audit integration | ✅ Advanced | ❌ Separate tool | ✅ Dependabot | | JSON output for CI | ✅ --json flag | ✅ REST API | ⚠️ Custom formatter | ✅ API | | Threshold filtering | ✅ --threshold flag | ✅ Quality gates | ❌ Manual | ⚠️ Custom rules | | Auto-fix | ✅ --fix flag | ⚠️ Limited | ✅ --fix flag | ❌ Manual | | Cost | ✅ Free (MIT) | ⚠️ Free tier limited | ✅ Free (MIT) | ❌ Paid enterprise |

When to use what:

  • claude-toolkit — Daily AI coding workflows, fast feedback, zero setup
  • SonarQube — Enterprise CI/CD, compliance requirements, multi-repo dashboards
  • ESLint — JavaScript/TypeScript linting, strict style enforcement
  • GitHub Advanced Security — Security vulnerability scanning, enterprise compliance

Combine them! Use claude-toolkit for fast local checks, ESLint for style, SonarQube for team dashboards.

Real-World Use Cases

  1. Post-session cleanup — Run techdebt --fix after Claude builds features
  2. Parallel bug fixing — Fix prod issues in worktree B while building in worktree A
  3. Multi-agent refactoring — Spawn 3 agents in 3 worktrees, merge when done
  4. PR quality gates — Fail CI if critical techdebt detected
  5. Code archaeology — Use analysis worktree for safe exploration
  6. A/B implementation testing — Try two approaches in parallel worktrees, keep the best

Documentation

Requirements

  • Node.js: >=18
  • Git: 2.20+ (for worktrees)
  • Bash: 4.0+ (macOS/Linux)

Optional (enhanced features):

  • eslint — Auto-fix linting issues
  • prettier — Auto-format code
  • jq — JSON parsing for advanced features

Contributing

Contributions welcome! This is a community-driven toolkit.

See CONTRIBUTING.md for:

  • Development workflow
  • Conventional commit guidelines
  • Testing procedures
  • High-priority contribution areas

Quick start:

# Fork and clone
git clone https://github.com/YOUR-USERNAME/claude-toolkit
cd claude-toolkit

# Make changes
git checkout -b feat/my-feature

# Test using dogfooding!
./skills/techdebt/scripts/scan.sh
./skills/techdebt/scripts/scan.sh --fix

# Commit and PR
git commit -m "feat: add Python support"
git push origin feat/my-feature

Documentation

License

MIT © Alex Zay

See LICENSE for full text.


Built for the AI coding era. Maintained by humans (for now).

Questions? Open an issue or find me on X/Twitter.