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

agent-templates

v0.7.0

Published

Catalog of multi-agent development architecture patterns - design write-ups plus drop-in scaffolding (agents, slash commands, workflows, templates).

Readme

agent-templates

npm · test · Catalog site →

Catalog of reusable multi-agent development architecture patterns. Each entry is a design write-up plus drop-in scaffolding (subagent definitions, slash commands, CLAUDE.md snippets) so a new project reuses a proven pattern instead of redesigning one.

Quickstart — from a bare PRD.md to a running pipeline

cd path\to\my-project        # contains PRD.md; git init + remote done; gh/glab authenticated
npx agent-templates@latest adopt three-agent-architect-builder-reviewer .

(Also works: npx github:Ruihang2017/agent-templates … for the unreleased latest, or node scripts/adopt.mjs … from a checkout.)

  1. Review CLAUDE.md: add project facts, keep Operating mode: supervised; fill the PR template's Constraint check from your non-negotiables.
  2. In Claude Code, inside the project: /breakdown-prd — the Architect turns docs/PRD.md into sub-PRDs + tickets, then stops for your review.
  3. Gate 1 — review the breakdown, then /start-milestone docs/prd/00-<module> supervised: tickets publish as tracker issues; each ticket runs plan → build → fresh-context review to CLEAR, pausing for your merge.
  4. When it holds, flip to autonomous — whole milestones run hands-off. Gate 2 = your smoke test at the end. Full guide: ADOPTING.md.

Updating an existing install

Re-run adopt with --force to pull the latest catalog version. A plain re-run only adds new files (existing ones are skipped); --force overwrites changed ones. Because it overwrites (including .claude/settings.json), commit first, then review the diff and re-apply any local customizations:

git add -A && git commit -m "checkpoint before agent-templates update"
npx agent-templates@latest adopt three-agent-architect-builder-reviewer . --force
git diff        # re-apply your customizations (esp. .claude/settings.json)

--force refreshes the scaffold and tracker/settings files. It does not rewrite the CLAUDE.md pipeline section or .gitattributes (both marker-guarded, so a re-run reports them as already present) — if a release changes the pipeline rules in the snippet, re-apply those by hand.

| Pattern | Status | As of | Summary | |---|---|---|---| | three-agent-architect-builder-reviewer | trialed | 2026-07-17 | Architect plans → Builder implements → independent Reviewer (fresh context, different model tier) clears or bounces; /start-milestone runs a whole module autonomously |

Commands (three-agent-architect-builder-reviewer)

Installed into your project by adopt; run them in Claude Code. Full list is generated on the catalog site from the same source.

| Command | Argument | What it does | |---|---|---| | /breakdown-prd | [focus notes] | Decompose docs/PRD.md into sub-PRDs + template-compliant tickets (pre-Gate-1 planning). | | /start-milestone | <module dir> [supervised\|autonomous] | Gate 1 for one module — publish its tickets as tracker issues, then run the milestone pipeline. | | /start-all | [supervised\|autonomous] | Gate 1 for the whole PRD — compute the module DAG, publish every module, run all modules in dependency order. | | /plan-ticket | <ticket-id> | Architect stage on a ticket. | | /build-ticket | <ticket-id> | Builder stage on a planned ticket. | | /review-ticket | <ticket-id> [ref] | Reviewer stage on a built ticket (fresh context required). | | /verify-delivery | <ticket-id> | Post-merge Definition-of-Done check — verifies delivery instead of assuming it. | | /nightly-issues | [max-issues] | Unattended sweep — triage open issues, auto-fix the fixable ones through the pipeline, post a morning report (headless claude -p). |

  • Applying a pattern to your project (new — even a bare PRD.md — or existing): ADOPTING.md — one command: node scripts/adopt.mjs <pattern> <target-dir>
  • Operating manual, pattern schema, grounding rules: CLAUDE.md
  • Adding a pattern: start from templates/pattern-README.template.md, process in CLAUDE.md § "Adding a new pattern"
  • E2E testing for the pattern chain: testbed/README.mdnode testbed/e2e/run-e2e.mjs is the merge gate for scaffold changes

CI & releasing

CI (.github/workflows/test.yml) runs the E2E suite on every PR and push to main, across ubuntu + windows × Node 18/20 — the merge gate is enforced server-side and cross-platform.

Releases publish from a version tag (.github/workflows/publish.yml): bump package.json, then

git tag vX.Y.Z && git push origin vX.Y.Z   # X.Y.Z = the version in package.json

CI re-runs the E2E gate, checks the tag matches package.json, and publishes to npm. One-time setup: add an NPM_TOKEN repo secret (Settings → Secrets and variables → Actions).

License

MIT — see LICENSE. Carve-out: files installed into your project by adopt.mjs (the scaffold, templates, and anything generated from them) may be used in your projects without attribution.