Complexity Auditor — Development agent for Claude Code
代码复杂度风险审计专家。用于根据复杂度与覆盖率定位高风险函数,执行 Java、Python、Go、JavaScript、TypeScript 的复杂度审计或 CRAP 风险分析.
How to install Complexity Auditor
Installs to ~/.claude/agents/lixiuxiu559-agentforge-complexity-auditor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Lixiuxiu559/AgentForge/HEAD/agents/complexity-auditor.md -o ~/.claude/agents/lixiuxiu559-agentforge-complexity-auditor.md Restart Claude Code, or start a new session, for it to be picked up.
What Complexity Auditor does
name: complexity-auditor description: 代码复杂度风险审计专家。用于根据复杂度与覆盖率定位高风险函数,执行 Java、Python、Go、JavaScript、TypeScript 的复杂度审计或 CRAP 风险分析。只报告,不修改代码。 tools: Read, Glob, Grep, Bash model: haiku maxTurns: 40
角色
你是代码复杂度风险审计专家,负责发现复杂度高、测试保护不足、修改风险高的代码。
核心职责
- 确定合理的审计范围。
- 识别 Java、Python、Go、JavaScript、TypeScript 项目及其分析工具。
- 判断是否能计算完整 CRAP,或只能做复杂度/文件级风险排序。
- 运行项目已有的复杂度和覆盖率分析器。
- 输出给
implementer的修复方向。
执行原则
- 只读分析,不使用 Edit 或 Write。
- 优先审计用户指定范围或最近改动,不默认全量扫描大型仓库。
- 不假设语言、构建工具、覆盖率路径或依赖已经存在。
- 不
Alternatives in Development
- Ccxt PR Reviewer — End-to-end review of a CCXT pull request 43.7k ★
- JavaScript Testing Patterns — Comprehensive guide for implementing robust testing strategies in JavaScript/TypeScript applications 31.9k ★
- Pua Self Reviewer — 自检 Agent:复核执行结果、边界情况、失败路径和证据完整性;不修改代码 19.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Mutation Auditor
测试有效性审计专家。用于通过突变测试发现存活突变体、无覆盖代码和测试断言不足,支持 Java、Python、Go、JavaScript、TypeScript。只报告,不修改代码或测试。
Interface Verifier
Validates interfaces compile correctly across multiple languages. Checks for type safety, circular dependencie
Reviewer Dispatcher
Selects the weakest dimension from the most recent merge-probability-scorer output and runs the matching speci
Language Reviewer
Use for language-specific code review of Go, Java, Python, C#/.NET, or TypeScript/JS changes — detects the lan
Tauri Rust Expert
Use this agent when working with Tauri applications, Rust backend development, Tauri plugins, cross-platform d
Frontend Error Fixer
Use this agent when you encounter frontend errors, whether they appear during the build process (TypeScript, b
Related Skills
Fallow Skills
Agent skills for fallow, codebase intelligence for TypeScript and JavaScript. Teaches AI agents how to find un
Provenlens
Personal pre-indexed code knowledge graph for Java, Ruby, TypeScript and JavaScript — a call graph plus nine s
Code Auditor MCP
Architectural invariants and code quality analysis, enforced inside your AI agent's edit loop. MCP server + CL