/code-audit-tools:code-foundation-stingerfrom code-audit-tools
Read-only repository health audit checking CI, tests, linting, lockfiles, secrets, branch protection, and AI agent readiness. Produces findings, metrics, and notes without modifying the repo.
Ships in code-audit-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Answer one question for the /audit-my-code run: is this repository set up so humans and AI agents can work in it safely? This is the Foundation dimension every audit tier runs first. It measures the repository against the baseline that get-started-stinger establishes (Library Schema v2 tree, wasp-nest.lock, CI, dependency automation, CODEOWNERS, README and policy files, .gitignore and .env.example) and extends it with current repository health practice: OpenSSF Scorecard style checks, whether tests exist and pass, lint and typecheck configuration, lockfile consistency, runtime pins, committed secrets, branch protection, and AI agent readiness (AGENTS.md or CLAUDE.md, size and accuracy). It runs get-started-stinger in assess-only mode: where get-started would create something, a finding names the exact step that would fix it. It produces findings.jsonl, metrics.json and notes.md for 00-foundation/ under the Audit My Code contract 1.0 and changes nothing in the audited repository.
foundation, vibe, basic, full, mario)get-started-stinger (writes files) or the mario tier's remediation stepsecurity-stinger and security-wasp-dronecode-bloat-wasp-dronequality-stingerci-release-stinger; detailed GitHub settings scoring across eight dimensions: github-repo-health-stingerreadme-writing-stinger<workspace>/intake.json. Check tools (python3, git, gh auth status) and record caps.scripts/foundation_scan.py --repo <repo> --gh --out <workspace>/00-foundation/raw/foundation_scan.json (drop --gh if gh is unavailable). It makes the file-presence and API checks and emits contract-shaped findings and measures.needs-drone-read: 01 Wasp Nest readiness, 02 CI, tests, lint and typecheck (run commands with scripts/run_in_copy.py), 03 dependencies, lockfiles and secrets, 04 repository governance.judgment.jsonl and measures-extra.json, run scripts/assemble_foundation.py until it validates, write notes.md, index the raw artifacts.at-risk or critical, caps, output paths.| Path | Load when |
|---|---|
guides/00-scoping-and-read-only-rules.md | Every run, first |
guides/01-wasp-nest-readiness.md | Library, lock, agent file checks |
guides/02-ci-tests-lint-typecheck.md | Workflow review and running tests, lint, typecheck in the copy |
guides/03-dependencies-lockfiles-secrets.md | Lockfiles, update automation, runtime pins, env files, secret-shaped strings |
guides/04-repository-governance.md | README, license, CODEOWNERS, branch protection, Scorecard view |
guides/05-writing-metrics-and-findings.md | Producing and validating the output files |
references/REFERENCE.md | Map of every reference file |
references/foundation-checklist.md | Every check id, default severity, owner, get-started step |
references/get-started-assess-map.md | Naming the get-started step; what a healthy initialized repo has |
references/measures-and-bands.md | Bands for every metrics.json measure |
references/scorecard-mapping.md | Which Scorecard checks are approximated and how |
references/gh-readonly-calls.md | Before any gh call |
references/detection-patterns.md | Manual workflow, secrets, lockfile and agent-file checks |
references/runtime-eol-table.md | End-of-life Node and Python pins |
references/finding-templates.md | Writing judgment findings |
references/research/distilled-foundation.md | Verifying a claim or resolving a conflict |
| Source research archive (not shipped with the plugin) | Source-repository only; the shipped distillation summarizes it, do not require it |
scripts/foundation_scan.py | Step 3: deterministic scan, read-only |
scripts/run_in_copy.py | Running project commands in the throwaway copy only |
scripts/assemble_foundation.py | Step 5: validate and write the three output files |
scripts/test_foundation.py | After any script edit: python3 scripts/test_foundation.py |
00-foundation/.get-started-stinger - Defines the baseline in assess mode; this Stinger never runs its write steps. Ships with the core Wasp Nest plugin, not this pack.github-repo-health-stinger - Source of the read-only branch protection and settings checks; use it for the full eight-dimension GitHub hygiene report.security-stinger - Receives handoffs for committed secrets and workflow injection.dependency-audit-stinger - Deeper supply-chain triage beyond lockfile and update-tool presence.get-started-stinger - Baseline for a correctly initialized repository; read in full before the first run.github-repo-health-stinger - Read-only GitHub hygiene checks to borrow.security-stinger - Where committed-secret and workflow findings go next.README.md (opens in a new tab)guides/00-scoping-and-read-only-rules.md (opens in a new tab)guides/01-wasp-nest-readiness.md (opens in a new tab)guides/02-ci-tests-lint-typecheck.md (opens in a new tab)guides/03-dependencies-lockfiles-secrets.md (opens in a new tab)guides/04-repository-governance.md (opens in a new tab)guides/05-writing-metrics-and-findings.md (opens in a new tab)references/REFERENCE.md (opens in a new tab)references/detection-patterns.md (opens in a new tab)references/finding-templates.md (opens in a new tab)references/foundation-checklist.md (opens in a new tab)references/get-started-assess-map.md (opens in a new tab)references/gh-readonly-calls.md (opens in a new tab)references/measures-and-bands.md (opens in a new tab)references/research/distilled-foundation.md (opens in a new tab)references/runtime-eol-table.md (opens in a new tab)references/scorecard-mapping.md (opens in a new tab)scripts/assemble_foundation.py (opens in a new tab)scripts/foundation_scan.py (opens in a new tab)scripts/run_in_copy.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
repo-health, audit, ci-check, lockfile-consistency, agent-readiness
npx claudepluginhub legioncodeinc/vibe-coding-tools --plugin code-audit-tools13 skills in this plugin
/audit-my-code-stingerOrchestrates /audit-my-code. Five tiers (foundation, vibe, basic, full, mario) of codebase audits, dispatched to paired Drones and delivered as a Legion Code Inc. brief./code-audit-brief-stingerRender the Audit My Code brief, one self-contained Field Guide styled HTML file per run, from the workspace only. Escapes repo text, merges duplicates, prints cleanly to PDF./code-bloat-stingerRead-only bloat audit of any repo. jscpd duplication, knip or language dead-code tools with a spot-check, cloc size, function and closure structure, split plans, banded verdict.Other plugins' skills for the same job