claude-md-dependency-rescan
Installation
SKILL.md
CLAUDE.md Dependency Rescan (forked, read-only)
Optional explicit manifest: $ARGUMENTS (default: auto-detect all five manifest types).
Run these steps in order. Do not modify any file.
- Detect manifests. Look for
package.json,requirements.txt,pyproject.toml,go.mod,Cargo.tomlat the repo root and one level deep (workspaces/monorepos). - Extract declared dependencies from each:
package.json→ keys ofdependenciesanddevDependencies(skip versions).requirements.txt→ first token of each non-comment line.pyproject.toml→[project.dependencies]/[tool.poetry.dependencies]keys.go.mod→ module paths underrequire (...).Cargo.toml→ keys under[dependencies]/[dev-dependencies].
- Inventory documented deps in every
CLAUDE.md(and.claude/rules/*.md): grep for the Tech Stack / Dependencies sections and the lists under them. - Compute three sets per file:
added: in manifest but absent from this CLAUDE.md.removed: documented in this CLAUDE.md but absent from manifest.renamed: documented and present in manifest but spelled differently (react-routervsreact-router-dom,pgvspsycopg2).
- Return in this exact shape: