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

@avesta-hq/prevention

v0.2.0

Published

XP/CD development agent commands for Claude Code - achieve Elite DORA metrics through disciplined TDD and Continuous Delivery practices

Downloads

178

Readme

Prevention

AI development agent that embeds XP/CD best practices to achieve Elite DORA metrics.

Build the product right. Ship value fast. Learn continuously.


What is Prevention?

Prevention turns Claude Code into a disciplined engineering partner. Instead of just generating code, it enforces TDD, Clean Architecture, ATDD, and Continuous Delivery — the practices that separate elite teams from the rest.

One command to set up. Slash commands to drive the workflow. Gates to keep you honest.


Quick Start

cd your-project
npx @avesta-hq/prevention init

Then start Claude Code and run /avesta-help to see your status and available commands.


Workflow

Prevention guides you through a proven delivery workflow:

vision → plan → acceptance tests → TDD → driver → review → ship

Each phase has gates that ensure prerequisites are met before you move forward. You can't skip writing tests before shipping, or ship without a review.


Agents

27 specialized agents organized by workflow phase:

| Phase | Command | Purpose | | -------------------- | --------------------------------- | ---------------------------------------------------- | | Setup | /avesta-init [type] | Initialize workflow tracking | | | /avesta-scaffold | Scaffold project structure (greenfield) | | | /avesta-help | Show status, gates, and next steps | | Vision | /avesta-vision | Define product vision, success metrics, scope | | Planning | /avesta-plan <feature> | Break feature into TDD-ready tasks (Example Mapping) | | | /avesta-spike <question> | Technical exploration (disposable code) | | Acceptance Tests | /avesta-acceptance-test | Write Executable Specification | | | /avesta-dsl | Implement Domain Specific Language layer | | | /avesta-driver | Implement Protocol Drivers (UI/API) | | TDD | /avesta-red <behavior> | Write ONE failing test | | | /avesta-green | Minimal code to make it pass | | | /avesta-refactor | Improve structure (tests must stay green) | | | /avesta-cycle <behavior> | Full red-green-refactor cycle | | | /avesta-layer | All tests first, then all production code | | Change Types | /avesta-bug-fix <description> | Bug fix workflow | | | /avesta-enhance <description> | Enhancement workflow | | | /avesta-tech-debt <description> | Tech debt workflow (approval tests) | | Review & Ship | /avesta-code-review | Domain-specific code review | | | /avesta-commit | Conventional commit | | | /avesta-ship | Merge to main | | CI/CD | /avesta-commit-stage | Set up commit stage pipeline | | | /avesta-release-stage | Set up release stage pipeline | | | /avesta-acceptance-stage | Set up acceptance stage pipeline | | Metrics | /avesta-dora-init | Initialize DORA metrics tracking | | | /avesta-dora-report | Generate DORA metrics report | | Maintenance | /avesta-dependency-review | Review deps and generate update plan | | | /avesta-mutation-testing | Analyze test effectiveness |


License Tiers

| Feature | Free | Pro | | -------------------- | -------------------------------------------------- | -------------------- | | Core TDD | /avesta-red, /avesta-green, /avesta-refactor | All 27 agents | | Setup | /avesta-init, /avesta-scaffold, /avesta-help | All 27 agents | | Skills | - | 27 contextual skills | | Gate enforcement | - | Automated gates | | Projects | 1 | Unlimited |

Free tier gives you the core TDD loop. Pro unlocks the full workflow with all agents, skills, and gate enforcement.


Manual MCP Setup

If you prefer to configure the MCP server manually, create .mcp.json at your project root:

{
  "mcpServers": {
    "prevention": {
      "command": "npx",
      "args": ["@avesta-hq/prevention", "serve"]
    }
  }
}

Then restart Claude Code.


Requirements