fallow

Detects unused code, duplication, circular dependencies, and complexity hotspots in TypeScript and JavaScript codebases.

5|Updated Jun 22, 2026
One-click install
npx skills add https://github.com/A158Coke/WotbTools --skill fallow-a158coke
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fallow
Source: https://github.com/A158Coke/WotbTools/tree/main/.agents/skills/fallow
Command: npx skills add https://github.com/A158Coke/WotbTools --skill fallow-a158coke

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @fallow-cli/fallow-node.

What problem does it solve? Frontend codebases accumulate dead code, duplicated logic, circular dependencies, and overly complex modules over time, making reviews harder and refactors riskier. This Skill runs static analysis on TypeScript and JavaScript projects to surface these issues as actionable diagnostics. ## Core Features & Use Cases - Dead Code Detection: Identify unused exports, files, and modules that can be safely removed. - Duplication & Circular Dependency Analysis: Find repeated code blocks and dependency cycles that undermine architecture. - Complexity Hotspots: Locate overly complex modules that need refactoring attention. - Use Case: After a frontend change, run the dead-code check during the review-fix stage and include the diagnostics in the review report to catch leftover unused code before merging. ## Quick Start Run the fallow analysis on the frontend codebase and report any unused code, circular dependencies, and complexity hotspots.

Frequently Asked Questions about fallow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find unused code in a TypeScript project?

Run npx fallow check dead-code from the frontend directory after installing @fallow-cli/fallow-node. It scans the codebase and reports unused code as diagnostics you can act on or include in a review report.

How to detect circular dependencies in JavaScript?

Use npx fallow check circular-deps within a project that has @fallow-cli/fallow-node installed. The command analyzes module imports and reports dependency cycles that can cause bundling and maintenance problems.

What tool detects code duplication and complexity in frontend projects?

Fallow provides npx fallow check duplication for repeated code and npx fallow check complexity for complexity hotspots. Running npx fallow without arguments produces a full diagnostic report covering all checks.

Does fallow require a configuration file?

No, the configuration file is optional. You can generate frontend/fallow.config.json by running npx fallow init if you need customized analysis behavior.

What are the prerequisites for running fallow analysis?

The @fallow-cli/fallow-node package must be installed in the frontend directory first. After that, all commands run via npx from that directory against the current codebase.