/eng:dependency-audit [phase] [path]from Engineering Skills
Manually invoked. Dependency-health audit of a monorepo — one version per dependency through the pnpm catalog with recorded exceptions, workspace protocol and dependency direction, peer dependencies for singletons, unused, missing, duplicate and misplaced packages, build-script allowlists, release-age holds, advisories, automated updates, and lockfile integrity. Verifies each finding and writes a prioritised report.
Ships in Engineering Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run this only when the user asks for it by name. It writes a report and changes no code; fixing a finding is a separate request.
A manually-invoked, red-team dependency audit of an app or a specific diff/PR. It is self-contained — every check is spelled out inline, so it runs a full review with zero other skills installed — and each finding is verified against the real code before it lands in a phase-aware, scored report at _reports/dependency-audit.md.
Self-contained — this checklist is comprehensive on its own and needs no other skill installed. Where the house skills
monorepoanddevopsare installed, they are the fix target for what this finds.
Before applying this skill, read the project's root AGENTS.md, the AGENTS.md closest to the files in question, and any doc they link for this skill's topic. Names, values and choices — budgets, tiers, tokens, voice, paths — come from those files, never from this skill.
[phase] — development | production; sets the action-item tiers. Omitted → the audit phase the project's AGENTS.md records, else production (assume the app is live until told otherwise).[path] — a file, directory, or PR/diff to scope the audit to; omitted → the whole repo.Mindset — reviewer/attacker first. Don't assume code is fine because it looks careful; find the sequence that breaks it. Report only findings you can justify as real, each verified before it lands.
AGENTS.md; else production, so a CRITICAL finding gets Fix-Now urgency instead of a pre-launch discount._reports/dependency-audit.md exists, read it, but still run every check against the source. Use it only to keep the ID of each finding still present (status UNRESOLVED), carry its WON'T FIX findings forward unchanged — never re-raised as new findings — drop its FIXED findings and any no longer present, continue ID numbering from its highest ID, and take its scores for the score-change row. First run → mark all NEW.file:line evidence.AGENTS.md or a doc it links._reports/dependency-audit.md — overwriting the whole file, so no resolved history accumulates — and post the chat summary (see Output). Recommend fixes in the report; never modify code. Never commit or push without explicit approval.Findings are ordered worst-first in the report.
Write to _reports/dependency-audit.md in the format in references/report-format.md: the header line, the score change with its one Overall row, the findings table with its status legend and one section per finding, the scorecard and phase-tiered action items.
Every run produces two things:
_reports/dependency-audit.md, in the format above, overwriting the prior run.<X>/10 (with Δ vs last run), a severity count (Critical / High / Medium / Low, i.e. C / H / M / L), the top findings worst-first (id · severity · one-line · file:line), and the report path. Note any "needs confirmation" items.Report-only — this audit recommends fixes in the report; it never modifies code.
Read the root package.json, pnpm-workspace.yaml (its catalog, allowBuilds and supply-chain settings), every member's package.json (apps/*, packages/*, functions/*), turbo.json, the syncpack config, the lockfile and .github/. Probes are read-only — pnpm why, pnpm dedupe --check, pnpm outdated, pnpm audit, pnpm view <pkg> deprecated; never run an install, which writes node_modules.
Recorded exceptions are not findings. A place that can't use catalog: — a host that reads a framework's exact version from each app, workers whose cloud build runs a plain npm install, a linter aliased to an older TypeScript — is correct when a labelled syncpack version group records why. The same goes for a critical-only advisory policy recorded beside the install settings. An exception with no record is the finding.
"<dep>": "catalog:" in each member, the version once in pnpm-workspace.yaml. A literal range on a dependency the catalog has, or a shared dependency left out of it, is a finding; a member a major behind is HIGH.syncpack lint passes (the project's deps:check), and every exception is a labelled group with its reason.react with react-dom, a plugin with its host (@types/react, eslint-*, @tailwindcss/*), and a framework pinned per app moves in the same change as the catalog.overrides forcing a version inside a third-party tree to silence an advisory; the fix is that dependency releasing it.* or latest on a runtime dependency.workspace:*, never a literal version.react, react-dom, next, firebase, a form library — so every app supplies one copy.typescript-config, eslint-config) are devDependencies; runtime ones are dependencies.import, require, dynamic import, CSS @import, or a config file. Don't flag tooling used indirectly (typescript, @types/*, eslint*, turbo, test runners, build tools) or declared peers.devDependencies; one shipped code imports isn't hiding there.pnpm why react (and next, firebase, zod) shows one version; two copies break hooks and context with no type error. pnpm dedupe --check shows what a dedupe would change.pnpm view <pkg> deprecated), or unmaintained with a maintained successor.allowBuilds map (sharp: true). onlyBuiltDependencies is the removed pnpm 10 form; scripts switched on for everything — dangerouslyAllowAllBuilds: true or strictDepBuilds: false — is HIGH.minimumReleaseAge isn't switched off (0; the default is a day); a minimumReleaseAgeExclude entry names an exact version ([email protected]) and is removed once that version ages past the window.blockExoticSubdeps (on by default) isn't disabled; trustPolicy: no-downgrade, which refuses a version whose publishing trust dropped, is recommended, its absence LOW.pnpm audit — every advisory reported; CI fails at the level the project records (critical, by the house default). Each known advisory and where it lives is recorded beside the install settings.Owned here; security-audit points to it.
HIGH.dependency-review-action, and zizmor or actionlint over the workflows; secret scanning with push protection on the repository (needs confirmation — a repository setting).build depends on ^build and declares outputs with !.next/cache/**; lint and check-types depend on a transit task, never ^lint/^check-types; nothing depends on a persistent task; globalEnv stays minimal (what each build reads is env-audit's).pnpm -r --parallel --filter …), not turbo dev; tests --concurrency=2; CI uses --affected with TURBO_SCM_BASE=origin/<base> and fetch-depth: 0.pnpm-lock.yaml, committed at the root and in sync — CI's --frozen-lockfile install passes (read its last run rather than installing); no stray package-lock.json or yarn.lock. Drift is HIGH.packageManager names an exact pnpm version, engines.node the minimum, and .nvmrc the version CI and every machine run. CI's setup action runs pnpm/action-setup (reading packageManager; Node 25 and later don't ship corepack), then setup-node from .nvmrc with the pnpm cache, then pnpm install --frozen-lockfile.Fixing is a separate request, after the report is written, and covers only the findings the owner chose. Then update the report in place — never re-run the audit to update it: a re-run re-checks the whole codebase, costs a full audit and raises new findings mid-fix. Mark each fixed finding FIXED with its commit and a one-line note of what changed, mark a finding the owner rules out WON'T FIX with their reason, and leave everything else as it stands. Recompute the scorecard categories the fixes touched and the Overall, and rewrite the one score-change row (previous → current) — never add a second row.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub timonwa/engineering-skills --plugin eng20 skills in this plugin
/agents-mdWrites or updates a project's AGENTS.md and the short AGENTS.md notes in each app and package — what an agent can't work out from the code: commands, structure, conventions that differ from the defaults, workflow, recorded deviations from the house standards and hard constraints, under 200 lines. Use when starting a project, setting up AGENTS.md or CLAUDE.md, or bringing a project's agent instructions up to date./audit-allManually invoked. Runs the house audit suite across the eng, fe and be sets — detects what the repo has, runs every installed audit that applies (codebase, conventions, dependencies, env, security, accessibility, frontend, performance, SEO/AEO/GEO, Storybook, content, API, access control, Firestore, Redis), and rolls their reports into one health report with an overall score and cross-cutting priorities. Each audit still writes its own report./Other plugins' skills for the same job