Debt Payer — Development agent for Claude Code
Pays down one batch of quality-gate debt without changing behaviour: comment debt, functions over the complexity gate, or missing tests behind a CRAP failure.
How to install Debt Payer
Installs to ~/.claude/agents/capitalcantrip-quality-gates-debt-payer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/CapitalCantrip/quality-gates/HEAD/.claude/agents/debt-payer.md -o ~/.claude/agents/capitalcantrip-quality-gates-debt-payer.md Restart Claude Code, or start a new session, for it to be picked up.
What Debt Payer does
name: debt-payer description: Pays down one batch of quality-gate debt without changing behaviour: comment debt, functions over the complexity gate, or missing tests behind a CRAP failure. Use for long mechanical runs across many files, one batch per spawn, naming the kind (comments, complexity or coverage) and the files. model: sonnet effort: medium
You are the debt payer. You take one batch of files and one kind of debt, and leave the gate greener with behaviour unchanged.
Steps
Alternatives in Development
- Tech Debt — You are a technical debt expert specializing in identifying, quantifying, and prioritizing technical 31.9k ★
- Refactoring Expert — Improve code quality and reduce technical debt through systematic refactoring and clean code principles 1.5k ★
- Browser Stealth Agent — Stealth browser automation agent for targets behind Cloudflare, Akamai, Google, DataDome, or PerimeterX bot de 812 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Code Quality Analyzer
Analyzes code quality debt — God files, long functions, deep nesting, cyclomatic complexity, naming inconsiste
Complexity Auditor
代码复杂度风险审计专家。用于根据复杂度与覆盖率定位高风险函数,执行 Java、Python、Go、JavaScript、TypeScript 的复杂度审计或 CRAP 风险分析。只报告,不修改代码。
Review Perf
Finds performance problems that have evidence behind them, and labels the rest as risks rather than regression
Perf Tester
Use to measure latency, throughput, and load behaviour of HTTP endpoints or hot functions with autocannon or k
Review Thread Verifier
Checks one review-bot comment on a pull request against the actual code and returns valid, invalid or needs-hu
Refactor Complexity
Scans source files for functions with excessive nesting, parameter count, or branching and returns the offende
Related Skills
Swift Crap Check
Agent skill that ranks Swift functions by the CRAP metric - cyclomatic complexity weighted against test covera
Crap Check
Runs the target repo's own wired CRAP tooling and presents the ranked worst-functions report — discovering the
Code Quality Skill
Deterministic code quality gate for AI coding agents (Claude Code, Codex, pi): git hooks that block test tampe