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

guild-agents

v2.1.1

Published

Specification-driven development CLI for Claude Code — think before you build

Readme

Guild

npm version npm downloads CI License: MIT

Guild makes Claude Code think before it builds.

Without Guild, Claude Code writes code immediately. No evaluation, no design, no review. With Guild, every feature goes through structured phases — evaluated by an advisor, designed by a tech lead, reviewed, and validated — before anything ships.

npx guild-agents init

The Problem

Claude Code is powerful but unstructured. Ask it to "add authentication" and it starts writing code immediately. No one evaluated whether the approach makes sense. No design doc captures the trade-offs. No review gate catches issues before they compound. Next session, all that context is gone.

How Guild Solves It

Guild installs spec-first workflows and specialized role definitions as .claude/ markdown files in your project. Claude Code reads them natively as slash commands. The process enforces quality gates — you can't skip evaluation, you can't ship without review.

  • /guild:build-feature — 5-phase pipeline: evaluate, design, implement, review, QA. Code comes after the design doc.
  • /guild:council — 3 agents analyze your idea in parallel with different perspectives, then synthesize into a decision with a spec document.
  • /guild:tdd — No production code without a failing test first. Enforces red-green-refactor.
  • /guild:debug — No fixes without root cause investigation. Systematic 4-phase process.
  • /guild:session-start / /guild:session-end — SESSION.md captures where you stopped. Claude Code memory captures what you learned. You resume with full context.

Quality You Can Measure

Most agent frameworks can't tell you if their skills actually fire when they should. Guild ships a benchmark suite.

guild eval                # Structural assertions: steps exist, roles correct, gates present
guild eval --triggers     # Trigger accuracy: do user prompts route to the right skill?
guild eval --semantic     # LLM-based scoring via Haiku for higher-fidelity testing
guild eval --suggest      # Keyword gap analysis with improvement suggestions

Every trigger run records results to a rolling benchmark with per-skill accuracy, precision, recall, and delta vs previous run. Regressions are caught before they ship.

The Pipeline

/guild:build-feature "Add JWT auth"
         |
         v
    +-----------+     +-----------+     +-----------+
    | Evaluate  |---->|  Design   |---->|   Build   |
    |  advisor  |     | tech-lead |     | developer |
    +-----------+     +-----------+     +-----+-----+
                                              |
                                        +-----+-----+
                                        v           v
                                  +-----------++-----------+
                                  |  Review   ||    QA     |
                                  +-----------++-----------+

Five phases. Phases 1-2 happen before any code is written. Gates between phases can't be skipped.

Install

As a Claude Code plugin (recommended):

/plugin install Guild-Agents/guild

All 10 skills and 6 roles are available immediately as /guild:* commands.

As an npm package (for the eval CLI):

npm install -g guild-agents
guild init

Skills

| Skill | What it does | | --- | --- | | /guild:build-feature | Full 5-phase pipeline with quality gates | | /guild:council | Multi-perspective deliberation — 3 roles debate, then synthesize | | /guild:create-pr | Structured pull request from current branch | | /guild:qa-cycle | QA and bugfix loop until clean | | /guild:tdd | TDD red-green-refactor — no code without a failing test | | /guild:debug | Systematic 4-phase debugging — no fixes without root cause | | /guild:guild-specialize | Explore your codebase, enrich CLAUDE.md with real conventions | | /guild:re-specialize | Incremental update when your stack changes | | /guild:session-start | Resume from SESSION.md + Claude Code memory | | /guild:session-end | Save state + durable learnings to memory |

Roles

6 role definitions that give Claude Code distinct perspectives:

| Role | Perspective | | --- | --- | | advisor | Strategic direction. First gate — evaluates ideas before work begins | | tech-lead | Technical approach. Breaks features into tasks with acceptance criteria | | developer | Implementation. Follows conventions, writes tests, makes atomic commits | | code-reviewer | Quality. Reviews patterns, security, and technical debt | | qa | Validation. Tests edge cases, regressions, acceptance criteria | | bugfix | Diagnosis. Isolates root causes, applies targeted fixes |

Each role is a .md file with identity, responsibilities, and boundaries. Claude Code reads them via its native Agent tool.

Session Continuity

Claude Code's memory system stores long-term knowledge (who you are, lessons learned). But it explicitly excludes ephemeral work state — what you were building, which branch, what phase. That's the gap Guild fills.

/guild:session-end writes to both layers:

  • SESSION.md — where you stopped: task, branch, phase, next steps (overwritten each session)
  • Claude Code memory — what you learned: decisions, lessons, references (persists across sessions)

/guild:session-start reads from both and presents a unified summary.

When NOT to Use Guild

Guild is overkill for: throwaway scripts, exploratory prototypes, single-file utilities, or anything where you'd rather ship fast than ship right. The 5-phase pipeline has cost — use it when that cost buys you something.

How Is This Different?

Guild isn't an editor (Cursor), isn't a pair-programmer (Aider), isn't an autonomous agent (Devin). It's a methodology layer on top of Claude Code. If you already use Claude Code and want structured spec-first workflows with quality gates, Guild adds the discipline. If you don't use Claude Code, Guild isn't for you.

How It Works

Guild installs role definitions and skill workflows as markdown files in .claude/. Claude Code discovers and executes them natively — no custom runtime, no extra process, no API calls. When you type /guild:build-feature, Claude Code reads the skill, follows the phases, and spawns agents using its own Agent tool.

Guild defines what happens. Claude Code decides how to execute it.

CLI

guild init              # Interactive project onboarding
guild new-agent <name>  # Create a custom role
guild status            # Show project status
guild doctor            # Diagnose setup
guild list              # List roles and skills
guild eval              # Run structural skill evaluations
guild workspace init    # Create a multi-repo workspace

Guild Builds Itself

Every feature in Guild goes through the same spec-first pipeline that Guild installs in your project.

Contributing

See CONTRIBUTING.md.

License

MIT -- see LICENSE.