Summary
New standalone skill that audits Node.js project dependencies interactively — analyzing security, maintenance status, necessity, and health — producing a prioritized action plan.
Problem / Motivation
Dependency auditing is a recurring manual task. An existing guide covers the process well but isn't structured as a reusable Claude Code skill. Bringing it into forge makes the audit repeatable, interactive, and consistent.
Proposed Solution
skills/forge-audit-deps/SKILL.md — a read-only analysis skill with 8 process steps:
- Detect package manager & project type — lockfile detection (
package-lock.json, pnpm-lock.yaml, yarn.lock, bun.lock), classify project (API / SPA / library / CLI) to calibrate thresholds
- Gather current state — dep counts,
node_modules size, npm audit / equivalent, npm outdated / equivalent, present overview dashboard
- Analyze each production dependency — transitive deps, size, maintenance status, the "50 lines" decision tree (could you replace this dep with ~50 lines of code?)
- Categorize & present findings — 🟢 Excellent / 🟡 Acceptable / 🔴 Questionable, batched by category with
AskUserQuestion pauses
- Identify removable deps — unused (via
depcheck / grep), redundant @types/*, native API replacements
- Security & version assessment — vulnerability details, pinning recommendations for 0.x packages
- Generate prioritized action items — Immediate (security) → Quick Wins (unused deps) → Medium Effort (replacements) → Consider Later
- Summary dashboard — counts, ratings breakdown, potential impact metrics
Design Decisions
allowed-tools: Read, Bash, Grep, Glob — no Write, enforcing read-only analysis
- No
disable-model-invocation — safe for auto-invocation since read-only
- Production deps only in v1 — devDeps have different evaluation criteria (future enhancement)
- Related Skills references
forge-create-issue and forge-implement-issue but is NOT part of the 6-skill pipeline (no "Full workflow" line)
- Gist linked as source material, not copied verbatim — content needs reshaping from reference doc into step-by-step skill prompt
Key Transformation Work (gist → skill)
- Add interaction design (
AskUserQuestion pauses, batched output)
- Add error handling paths (no
node_modules, no lockfile, audit command failures)
- Add project type detection and threshold calibration
- Add prioritization framework for action items (severity × effort)
- Restructure from human reference format to Claude Code instruction format
- Follow forge section order: frontmatter → title → Input → Process → Guidelines → Related Skills → Example Usage
Acceptance Criteria
Additional Context
- Reference material: Dependency Audit Guide gist
- Files to create:
skills/forge-audit-deps/SKILL.md
- Files to modify:
docs/architecture.md, README.md
Summary
New standalone skill that audits Node.js project dependencies interactively — analyzing security, maintenance status, necessity, and health — producing a prioritized action plan.
Problem / Motivation
Dependency auditing is a recurring manual task. An existing guide covers the process well but isn't structured as a reusable Claude Code skill. Bringing it into forge makes the audit repeatable, interactive, and consistent.
Proposed Solution
skills/forge-audit-deps/SKILL.md— a read-only analysis skill with 8 process steps:package-lock.json,pnpm-lock.yaml,yarn.lock,bun.lock), classify project (API / SPA / library / CLI) to calibrate thresholdsnode_modulessize,npm audit/ equivalent,npm outdated/ equivalent, present overview dashboardAskUserQuestionpausesdepcheck/ grep), redundant@types/*, native API replacementsDesign Decisions
allowed-tools: Read, Bash, Grep, Glob— noWrite, enforcing read-only analysisdisable-model-invocation— safe for auto-invocation since read-onlyforge-create-issueandforge-implement-issuebut is NOT part of the 6-skill pipeline (no "Full workflow" line)Key Transformation Work (gist → skill)
AskUserQuestionpauses, batched output)node_modules, no lockfile, audit command failures)Acceptance Criteria
skills/forge-audit-deps/SKILL.mdcreated following coding-guidelines section ordername,description,allowed-toolsAskUserQuestion(batched findings, not wall of text)node_modules, missing lockfile, failed audit commandsforge-create-issueandforge-implement-issuedocs/architecture.mdupdated to document standalone utility skillREADME.mdupdated withforge-audit-depsentryAdditional Context
skills/forge-audit-deps/SKILL.mddocs/architecture.md,README.md