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

@claude-setup-skill/install

v0.1.0

Published

One-shot installer for the /claude-setup Claude Code skill — scaffolds context-aware .claude/ directories that earn their keep.

Downloads

156

Readme


Demo

A real /claude-setup run on the acme-saas Node monorepo (pnpm + turbo + Next.js + Hono + Drizzle). The skill detects the stack from lockfiles and package.json workspaces, scrapes hard rules from the README, and writes a path-scoped .claude/ tree:

Each rules/*.md is path-scoped (frontmatter paths:) so it only enters context when you open a file under that subtree. skills/release/ and skills/preview-deploy/ are wired to commands that actually exist in this repo (changeset + Vercel) — no TODO bodies, no docs-example boilerplate.

See examples/acme-saas.md for the full file-by-file breakdown including which README phrase encoded as which rule.


Install

Quickest — zero install, runs once:

npx -y @claude-setup-skill/install

Global — keeps a claude-setup-install command around to rerun anytime:

npm i -g @claude-setup-skill/install && claude-setup-install

From source — for contributing or live-editing the skill:

git clone https://github.com/sir-ad/claude-setup-skill ~/claude-setup-skill
cd ~/claude-setup-skill && ./install.sh

All three populate ~/.claude/skills/claude-setup/. The npm methods copy files; from-source symlinks them so edits in your clone are immediately live.

Use

In any project:

cd ~/some-new-project
claude
> /claude-setup

Optional flags:

| Flag | Effect | |---|---| | --minimal | only CLAUDE.md + .claude/settings.json | | --skip-skills | skip skill generation | | --dry-run | print the plan, write nothing |

The skill walks five phases:

  1. Detect — reads README, lockfiles, manifests, existing .claude/.
  2. Match template — picks one of templates/<stack>.md as the reference.
  3. Plan — prints what it'll write; asks before clobbering.
  4. Generate — writes files with project-specific substitutions.
  5. Verify — prints final tree, line counts, and one verification step.

What it generates (when applicable)

| File | When | |---|---| | CLAUDE.md | always | | .worktreeinclude | always | | .claude/settings.json | always | | .claude/rules/<n>.md | per significant subdir with distinct conventions | | .claude/agents/<lang>-reviewer.md | always (read-only review subagent) | | .claude/skills/release/ | if version file + CHANGELOG.md exist | | .claude/skills/<other>/ | per detected workflow (db-migrate, preview-deploy, etc.) |

What it never generates:

  • .claude/output-styles/ — no use-case-off-the-shelf
  • .claude/commands/ — Anthropic docs recommend skills for new workflows
  • .claude/agent-memory/ — auto-populated when subagents with memory: frontmatter run
  • Empty folders
  • Skills with TODO bodies
  • Hard rules invented from thin air (only pulled from README / RFCs / ADRs)

Stacks supported

| Stack | Template | |---|---| | Rust workspace | templates/rust-workspace.md | | Rust single crate | templates/rust-single.md | | Node monorepo (npm / pnpm / yarn workspaces, turbo, nx, lerna) | templates/node-monorepo.md | | Node single (Next.js, Vite, Astro, Express, ...) | templates/node-single.md | | Python (Poetry, uv, pip, hatch, rye) | templates/python.md | | Go | templates/go.md | | Anything else | templates/generic.md |

To add a stack: drop a new templates/<name>.md, then add a detection branch in SKILL.md Phase 2.

Updating

Pull this repo, that's it — the symlink keeps the skill live:

cd ~/claude-setup-skill
git pull

Uninstalling

./install.sh --uninstall

Removes the symlink. Doesn't touch this repo or any project's .claude/ directories you've generated.

Why a skill, not a CLI

A skill is one markdown file Claude reads at runtime. The "context detection" is just Claude reading your project, which is already what Claude does best. A standalone CLI would either need a fixed templating engine (less context-aware) or shell out to the Claude API (more setup). Skill = zero install, maximum context-awareness, one file to maintain.

License

MIT. See LICENSE.