| name | fallow |
| description | Use this skill when the user wants to analyze a TypeScript/JavaScript codebase for dead code, duplication, complexity hotspots, or run quality gates for PRs. |
Fallow Plugin
Codebase analyzer for TypeScript and JavaScript. Finds unused code, circular dependencies, code duplication, and complexity hotspots. Rust-native, sub-second.
Commands
All Analyses
fallow — Run dead-code, dupes, and health analyses
Dead Code
fallow deadcode scan — Find unused files, exports, dependencies, types
Duplication
fallow dupes scan — Find copy-pasted code blocks
Complexity
fallow health analyze — Analyze complexity hotspots
Audit (PR Quality Gate)
fallow audit check — Quality gate for AI-generated code and PRs
Auto-fix
fallow fix apply — Auto-remove dead exports and deps
Score (Quick Health)
fallow score run — Get health score, hotspots, and refactoring targets in one call
CI Gate
fallow ci gate — CI quality gate with non-zero exit on new issues, SARIF output
Usage Examples
Run all analyses:
fallow
Dead code detection:
fallow dead-code
fallow dead-code --unused-exports
fallow dead-code --circular-deps
fallow dead-code --boundary-violations
fallow dead-code --changed-since main
Duplication scan:
fallow dupes
fallow dupes --mode semantic
fallow dupes --trace src/utils.ts:42