fallow

Analyze JavaScript and TypeScript codebases for dead code, duplication, complexity, and security candidates.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/mkloz/teamforge-frontend --skill fallow-mkloz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fallow
Source: https://github.com/mkloz/teamforge-frontend/tree/main/.agents/skills/fallow
Command: npx skills add https://github.com/mkloz/teamforge-frontend --skill fallow-mkloz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fallow-cli, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Fallow provides comprehensive codebase intelligence for JavaScript and TypeScript projects, addressing various code quality concerns such as dead code, duplication, complexity, architecture violations, feature flags, and security candidates.

Core Features & Use Cases

  • Dead Code Analysis: Identifies and reports unused files, exports, types, dependencies, enum members, and class members.
  • Code Duplication Detection: Finds and highlights duplicate code within the project.
  • Complexity Analysis: Evaluates function complexity based on cyclomatic and cognitive metrics.
  • Architecture Boundary Violations: Checks for imports that cross architectural boundaries.
  • Feature Flag Detection: Identifies feature flag patterns in the codebase.
  • Security Candidates: Reports potential security issues that require further verification.
  • Use Case: Before a release or refactor, use Fallow to clean up the codebase, identify and remove dead code, reduce duplication, audit complexity, and ensure security.

Quick Start

Analyze the codebase using Fallow with the command: fallow

Frequently Asked Questions about fallow

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

FAQPage Schema
How do I detect dead code and unused exports in a JavaScript codebase?

Dead code detection in a JavaScript codebase is automated by analyzing unused files, exports, types, dependencies, enum members, and class members. Running a static analysis tool identifies and reports these unused elements for safe removal.

How do I check cyclomatic complexity and code duplication before a TypeScript refactor?

Cyclomatic complexity and code duplication checks are performed using static analysis to evaluate function metrics and highlight matching code blocks. This identifies highly complex functions and duplicate patterns to target during refactoring.

Can I enforce architecture boundaries and detect cross-boundary imports in JavaScript projects?

Architecture boundary violations are detected by checking for imports that cross defined architectural boundaries. Static analysis identifies these illegal imports to help maintain structural integrity within JavaScript and TypeScript projects.

How do I identify feature flags and potential security candidates in TypeScript code?

Feature flags and security candidates are identified through static analysis of the TypeScript codebase. The analysis reports feature flag patterns and flags potential security issues that require further manual verification.

Do I need to install Python packages to run static code analysis on JavaScript projects?

Python packages are required to run static code analysis on JavaScript projects. You must install the fallow-cli package and its associated Python dependencies before executing the analysis command.

What is the best way to integrate dead code analysis into a continuous integration workflow?

Integrating dead code analysis into a continuous integration workflow is best achieved by running the analysis command during the CI pipeline. This automates codebase intelligence checks for dead code, complexity, and duplication before release.