← Claude plugins
CLAUDE PLUGIN

claude-crap

Alan Hernandez v0.4.8

Deterministic Quality Assurance plugin for Claude Code. CRAP stands for Change Risk Anti-Patterns — a metric originally developed by Alberto Savoia and Bob Evans at Google in 2007 to identify code ...

Create a free account to save this plugin.

From the developer

License

MIT

Works with

Claude Code

Description

From the marketplace listing

Deterministic Quality Assurance plugin for Claude Code. CRAP stands for Change Risk Anti-Patterns — a metric originally developed by Alberto Savoia and Bob Evans at Google in 2007 to identify code that is both complex and under-tested. Inspired by their work. Claude-crap wraps every Write, Edit, and Bash tool call with a PreToolUse gatekeeper, a PostToolUse verifier, and a Stop quality gate backed by the CRAP index, Technical Debt Ratio, tree-sitter AST metrics, and SARIF 2.1.0 reports. Auto-detects and runs ESLint, Semgrep, Bandit, and Stryker at boot so users get real A..E quality grades out of the box. Forbids the agent from writing functional code before a test safety net exists (the Golden Rule).

What changed

No changes recorded yet. Follow this plugin to keep track of future changes.

Keywords

Files & skills

claude-crap · catalog manifest

Saved declaration

{}
claude-crap · catalog manifest

Saved declaration

{
  "name": "claude-crap",
  "source": {
    "ref": "main",
    "sha": "9a38ee8c298e3e52f91a094282d3b5077c8f51b1",
    "url": "https://github.com/ahernandez-developer/claude-crap.git",
    "path": "plugin",
    "source": "git-subdir"
  },
  "homepage": "https://github.com/ahernandez-developer/claude-crap/blob/main/README.md",
  "description": "Deterministic Quality Assurance plugin for Claude Code. CRAP stands for Change Risk Anti-Patterns — a metric originally developed by Alberto Savoia and Bob Evans at Google in 2007 to identify code that is both complex and under-tested. Inspired by their work.\n\nClaude-crap wraps every Write, Edit, and Bash tool call with a PreToolUse gatekeeper, a PostToolUse verifier, and a Stop quality gate backed by the CRAP index, Technical Debt Ratio, tree-sitter AST metrics, and SARIF 2.1.0 reports. Auto-detects and runs ESLint, Semgrep, Bandit, and Stryker at boot so users get real A..E quality grades out of the box. Forbids the agent from writing functional code before a test safety net exists (the Golden Rule)."
}
claude-crap · catalog manifest

Saved declaration

{
  "name": "claude-crap",
  "author": {
    "url": "https://github.com/ahernandez-developer",
    "name": "Alan Hernandez"
  },
  "$schema": "https://code.claude.com/schemas/plugin.json",
  "license": "MIT",
  "version": "0.4.8",
  "homepage": "https://github.com/ahernandez-developer/claude-crap",
  "keywords": [
    "claude-code",
    "claude-code-plugin",
    "quality-assurance",
    "sast",
    "sarif",
    "crap-index",
    "technical-debt",
    "quality-gate",
    "shift-left",
    "deterministic",
    "mutation-testing",
    "mcp-server",
    "mcp",
    "tree-sitter"
  ],
  "repository": "https://github.com/ahernandez-developer/claude-crap",
  "description": "Deterministic Quality Assurance plugin for Claude Code. Wraps every Write / Edit / Bash tool call with a PreToolUse gatekeeper, a PostToolUse verifier, and a Stop quality gate backed by CRAP index, Technical Debt Ratio, tree-sitter AST metrics, and SARIF 2.1.0 reports. Forbids the agent from writing functional code before a test safety net exists."
}

plugin.json observed Nov 6, 2026 · 10:41 UTC. Manifest source ↗

Catalog declarations and available plugin.json metadata are saved. Referenced skills and executable source files are not downloaded or tested. Missing components in a manifest do not prove that the plugin has none.

Installation instructions

Community

/plugin marketplace add anthropics/claude-plugins-community
/plugin install claude-crap@claude-community

Claude Code installation documentation

Technical details
Sources
Community
First seen
Oct 3, 2026 · 22:13 UTC
Last seen
Nov 9, 2026 · 06:00 UTC
Latest observed change
Oct 3, 2026 · 22:13 UTC
Collection status
Listed
Reported installs
Not provided

Installation counts are source-reported, not independently verified active users. Observation dates are not release dates.

Download plugin data (JSON)

Plugin history: freshly prepared. Prepared . Refreshed when catalog data changes or after 6 hours. Your account and Follow status are live.