code-auditing
Systematic methodology for comprehensive codebase analysis — security review, technical debt identification, dead code detection, code quality checks, and…
Run a comprehensive deep audit by orchestrating specialist agents (security, performance, libraries, quality, dead code) into a single dated report.
$ npx -y skills add jeffrigby/somepulp-agents --skill deep-audit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/deep-auditContext preview
The summary Claude sees to decide when to auto-load this skill.
Run a comprehensive deep audit by orchestrating specialist agents (security, performance, libraries, quality, dead code) into a single dated report.
name: deep-audit
description: Run a comprehensive deep audit by orchestrating specialist agents (security, performance, libraries, quality, dead code) into a single dated report.
when_to_use: When the user explicitly asks for a "deep audit", "full codebase audit", or "comprehensive code review". Resource-intensive — never run it for a quick diff review.
argument-hint: "[aspects] [sequential]"
allowed-tools:
- Bash("${CLAUDE_PLUGIN_ROOT}/scripts/dead-code-detect.sh" *)
- Bash(npx knip*)
- Bash(npm run lint*)
- Bash(npm run typecheck*)
- Bash(deadcode*)
- Glob
- Grep
- Read
- Write
- Agent
- TodoWrite
disable-model-invocation: true
hooks:
Stop:
- hooks:
- type: agent
timeout: 120
prompt: >-
Hook input: $ARGUMENTS. If stop_hook_active is true in the input,
respond {"ok": true} immediately. Otherwise, glob the project root
for a code-audit-*.md report file created during this audit; if one
exists respond {"ok": true}, if the audit ran but no report was
saved respond {"ok": false, "reason": "The audit findings must be
saved to code-audit-[timestamp].md before stopping"}.Run a comprehensive, on-demand codebase audit by inspecting the project, deciding which specialist agents apply, launching them, and aggregating their findings into a single dated report.
This is **resource-intensive** and should only run when explicitly requested. For quick checks on recent changes, just ask Claude to review the diff.
**Aspects requested (optional):** "$ARGUMENTS"
The launch mode is **parallel by default** — `/deep-audit` produces a batch report, so there's no reason to wait. All selected specialists are launched at once via a single message with multiple `Agent` calls. Append the literal token `sequential` to fall back to one-at-a-time execution (useful when debugging a specialist or when a transcript is easier to read serially).
Split `$ARGUMENTS` on whitespace. Tokens that match an aspect (`security`, `perf`, `deps`, `quality`, `dead`, `all`) select that specialist. The token `sequential` switches launch mode to one-at-a-time. Anything else is treated as a free-form scope hint to pass into each specialist (e.g., a path, glob, or "src/api only").
If no aspects are given, treat it as `all`.
Read the project skeleton so each specialist gets a useful brief:
Build a short "project brief" that you'll include in every specialist's task input.
| Aspect | Applies when | | --- | --- | | `security-auditor` | Always (every codebase has a security surface) | | `performance-analyzer` | Always | | `library-modernizer` | A dependency manifest exists (`package.json`, `requirements.txt`, `go.mod`, etc.) | | `code-quality-reviewer` | Always | | `dead-code-cleanup` | A dependency manifest exists. If `dead` was requested (or selected via `all`) but no manifest exists, **the Notes section must include an explicit `Dead code: skipped — no manifest` line** before the report is written — never silently omit. |
If the user requested specific aspects, only run those — don't override their selection.
Use the `Agent` tool to invoke each selected specialist. Pass each one:
**Parallel mode (default):** issue all selected `Agent` calls in a single assistant message so they run concurrently. Capture each result as it returns.
**Sequential mode (`sequential` arg present):** issue one `Agent` call, wait for the result, capture the markdown, then issue the next.
For `dead`, invoke `dead-code-cleanup` and instruct it to **detect only** (no removal). Tell it to return its verified findings as a markdown block matching the format below.
Before pasting a result into the report, confirm it starts with the specialist's expected `## ` heading and contains at least one of `### Critical`, `### High`, or `### Medium`. A specialist with literally zero findings still emits the heading and severity sections (possibly empty).
| Specialist | Expected heading | | --- | --- | | `security-auditor` | `## Security Findings` | | `performance-analyzer` | `## Performance Findings` | | `library-modernizer` | `## Library Modernization Findings` | | `code-quality-reviewer` | `## Code Quality Findings` | | `dead-code-cleanup` | `## Dead Code Analysis Report` (or `## Dead Code Findings`) |
If a result is empty, missing the expected heading, or has no severity sections, treat the specialist as **failed**: do not paste a placeholder block. Record it under `Specialists that failed:` in the Notes
A plugin marketplace for Claude Code providing specialized agents for code auditing, documentation maintenance, and library/API research.
Repo: jeffrigby/somepulp-agents
Systematic methodology for comprehensive codebase analysis — security review, technical debt identification, dead code detection, code quality checks, and…
Detect and clean up dead code — unused imports, exports, files, and dependencies — using knip or deadcode with agent verification to filter false positives.
Methodology for keeping project documentation current, consistent, and optimized for AI coding agents — CLAUDE.md optimization, README synchronization,…
Update dependencies safely — apply in-range minor/patch updates, then analyze each pending major in parallel and apply only the ones proven safe for this…
Update and synchronize project documentation — CLAUDE.md, README, CHANGELOG — with recent code changes.
Fetch official documentation and code examples for a library or API from authoritative sources only — Context7, official docs sites, official GitHub repos.…