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

@mfataka/claude-scaffold

v0.1.3

Published

Bootstrap Claude Code config (CLAUDE.md, skills, commands, agents, settings) for a repo by auto-detecting its stack.

Readme

claude-scaffold

Bootstrap a repo's Claude Code config — CLAUDE.md, skills, slash commands, agents, permissions, and a development methodology — by reading the project and asking you only the few things it can't detect.

Setting up Claude Code well is mostly retyping the same CLAUDE.md you've written ten times: the build command, the test command, the migration convention, the "never touch prod config" rule. claude-scaffold detects what it can from the repo — stack, version, modules, migration style, run/test commands — and interviews you for the rest, one question at a time, with the detected answer pre-filled. You end with config that reflects your project, not a generic template.

Quickstart

Run it inside any repo:

npx @mfataka/claude-scaffold

It detects the stack, shows you what it found, and asks what to generate. Walk through the prompts — press at any point to go back — and it writes the files. Re-run it any time: it merges into an existing CLAUDE.md instead of clobbering your edits, and skips skill/command files that already exist.

Non-interactive (CI, scripted setup): --yes accepts every detected default and prompts only for genuinely-required fields it can't know (Overview, Architecture, Never do). --dry-run previews the writes without touching disk.

npx @mfataka/claude-scaffold --yes --dry-run

--yes needs a terminal for those required fields; in a non-TTY environment the tool exits with a clear message rather than writing blank sections.

What it generates

Pick any subset — "Everything", or hand-choose each output:

  • CLAUDE.md — an interview-built instructions file. Sections come pre-filled with what detection found (stack summary, modules, build/run commands, migration style, active profile); you confirm or correct each. Optional sections left blank (Behavior, High-blast-radius areas, Gotchas) are dropped rather than left as empty headings.
  • .claude/skills/ — task skills wired to your project: run, test, and a migration-aware add-migration that knows your tool and naming scheme.
  • .claude/commands/ — slash commands (/build, /verify).
  • .claude/agents/ — review/build subagents for the stack.
  • .claude/settings.json — a permission allow-list for your build wrapper, plus PreToolUse guardrail hooks (protected-paths, secret-scan) shipped as tunable scripts under .claude/hooks/guards/. Merged at the JSON level — existing entries are kept.
  • PDD methodology — the walk-and-talkwrite-prdtddto-tickets skills installed under .claude/skills/pdd/, tied together by an ## Implementation workflow section written into CLAUDE.md as one ordered pipeline.

Stacks

Detection is plugin-based. Today:

  • Spring Boot (Maven or Gradle, single- or multi-module) — version, Java toolchain, starters, modules (including nested settings.gradle / pom.xml declarations), migration tool (Flyway / Liquibase / manual SQL), active profile, and run/build/test commands.
  • Generic — the fallback for everything else: the same interview flow, you fill the details in.

Adding a stack is a new plugin under src/plugins/ — see CONTRIBUTING.

Install

npx @mfataka/claude-scaffold needs no install. To keep it on your PATH:

npm install -g @mfataka/claude-scaffold
claude-scaffold          # the installed command is unscoped

Local install (development or a private fork)

To hack on it, or keep your own edits to the catalog and have them take effect immediately:

git clone [email protected]:hammafataka/claude-scaffold.git
cd claude-scaffold
npm install
npm run build
npm link          # puts `claude-scaffold` on your PATH, pointing at this checkout

Iterate with npm run dev (runs the CLI from source via tsx) and npm test. Authored content lives under src/catalog/ as plain markdown and is bundled by scripts/build-content.mjs — edit the markdown, re-run npm run build.

Releasing

Maintainers: publish from the GitHub Actions → Publish → Run workflow button — pick patch/minor/major and it bumps, tags, and publishes to npm. PRs and pushes run typecheck/test/build via CI. See PUBLISHING.md.

License

MIT.