Back to Discover

fallow-skills

skill

fallow-rs

Agent skills for fallow, codebase intelligence for TypeScript and JavaScript. Teaches AI agents how to find unused code, duplication, circular deps, complexity hotspots, architecture drift, design-system drift, and (with Fallow Runtime) hot-path and cold-path evidence. Works with Claude Code, Cursor, Codex, Gemini CLI, and 30+ agents.

View on GitHub
111 starsMITSynced Aug 2, 2026

Install to Claude Code

/plugin marketplace add fallow-rs/fallow-skills

README

fallow
Agent skills for the fallow codebase intelligence layer for TypeScript and JavaScript.

MIT License CI Agent Skills fallow v3.11.0

Agent skills for fallow, codebase intelligence for TypeScript and JavaScript. The static layer reports quality, changed-code risk, cleanup opportunities, circular dependencies, code duplication, complexity hotspots, architecture boundary violations, and design-system styling drift in milliseconds. Optional runtime intelligence adds production execution evidence so agents can delete cold code, flag hot-path changes, and retire stale flags with proof. 123 framework plugins, zero configuration. Works with any agent that supports the Agent Skills specification: Claude Code, Cursor, OpenAI Codex, Windsurf, GitHub Copilot, Gemini CLI, Amp, and 30+ more. See Fallow for coding agents for the visual overview and store links.

Linters enforce style. Formatters enforce consistency. Fallow enforces relevance. Linters work file by file. TypeScript works type by type. Neither builds the full module graph, so neither can see what nothing depends on. Fallow does, in milliseconds. These skills teach agents how to use fallow effectively: which commands to run, what flags to use, how to interpret output, and how to avoid common pitfalls.

Quick Start

Agent Skills CLI

npx skills add fallow-rs/fallow-skills

Claude Code

/plugin marketplace add fallow-rs/fallow-skills
/plugin install fallow@fallow-skills

OpenAI Codex

codex plugin marketplace add fallow-rs/fallow-skills
codex plugin add fallow@fallow-skills

Fallow Impact statusline

Fallow Impact can show the latest whole-project issue count, the comparable trend, and everything cleared while tracking:

fallow impact  7 issues in last full scan · 5 fewer than prior · 4.9k cleared while tracking

Claude Code users can add the compact branded segment while preserving an existing command-based statusline:

/fallow:impact-statusline setup user compose

Use project instead of user for private project-local configuration. The setup previews the exact line before it changes settings, stores the previous value for safe removal, and never enables Impact. Run /fallow:impact-statusline remove user to restore the previous setting.

Codex and other agents can use the same stable local surface directly:

fallow impact statusline

Agent-specific CLI shortcuts

npx skills add fallow-rs/fallow-skills --agent windsurf
npx skills add fallow-rs/fallow-skills --agent amp
gemini skills install https://github.com/fallow-rs/fallow-skills.git

Manual install

tmp=$(mktemp -d)
git clone https://github.com/fallow-rs/fallow-skills.git "$tmp/fallow-skills"

Copy both skill directories into your agent's skills folder:

# OpenAI Codex, Amp, and agents using the shared Agent Skills location
mkdir -p ~/.agents/skills
cp -R "$tmp/fallow-skills/fallow/skills/." ~/.agents/skills/

# Claude Code
mkdir -p ~/.claude/skills
cp -R "$tmp/fallow-skills/fallow/skills/." ~/.claude/skills/

# Cursor
mkdir -p ~/.cursor/skills
cp -R "$tmp/fallow-skills/fallow/skills/." ~/.cursor/skills/

# Windsurf
mkdir -p ~/.codeium/windsurf/skills
cp -R "$tmp/fallow-skills/fallow/skills/." ~/.codeium/windsurf/skills/

# GitHub Copilot
mkdir -p .github/skills
cp -R "$tmp/fallow-skills/fallow/skills/." .github/skills/
Other agents

Use npx skills add fallow-rs/fallow-skills --all for installer-managed discovery, or copy the directories under fallow/skills/ into your agent's skills location. These skills follow the open Agent Skills specification and work with any compatible agent.

Prerequisites

Fallow must be installed in the target project:

npm install -g fallow    # prebuilt binaries
npx fallow                   # or run without installing

See the installation guide for all options including cargo install fallow-cli.

Available Skills

SkillDescriptionTrigger phrases
fallowCodebase intelligence for JS and TS, code and styles: quality, changed-code risk, cleanup opportunities, circular deps, duplication, complexity, design-system drift, and runtime evidence"check code health", "audit this PR", "find cleanup opportunities", "find duplicates", "what code actually runs"
fallow-reviewGraph-grounded review of changed-code risk, blast radius, and consequential structural decisions"review this branch", "review this PR", "check changed code before merge"

What's Included

This repository contains portable skills for users of the released product. Fallow's maintainer workflows stay in the main source repository, and public user documentation stays in fallow-rs/docs.

fallow

CategoryWhat it does
CleanupFind unused files, exports, types, dependencies, enum/class members, stale suppressions, and other safe cleanup candidates
DuplicationFind code clones with 4 modes: strict, mild, weak, semantic
ComplexityFunction complexity analysis, hotspot detection, health scores
Auto-FixRemove unused exports and dependencies with dry-run preview
CIGitHub Actions, SARIF upload, baseline comparison, PR-scoped checks
MonorepoPer-workspace analysis with cross-package resolution
DebugTrace export usage chains, file edges, and dependency usage

fallow-review

Reviews a branch or pull request with fallow's graph-grounded review brief. It subtracts deterministic findings, focuses attention by blast radius and risk, and frames consequential structural decisions for human judgment.

Reference Documentation

  • CLI Reference: all commands, flags, JSON output structure, config format
  • Gotchas: common pitfalls with WRONG/CORRECT examples
  • Patterns: workflow recipes for CI, monorepos, migration, and incremental adoption

Example Prompts

Once installed, you can use natural language:

  • "Audit the codebase quality"
  • "Are there any unused dependencies?"
  • "Find code duplication in the codebase"
  • "Clean up unused exports"
  • "Set up a CI quality gate"
  • "Check the complexity of this codebase"
  • "Why is this export flagged as unused?"
  • "Check if this PR introduces quality risk"
  • "Find unused files in the payments package"
  • "What's the duplication percentage?"

How It Works

User: "Find all unused exports"
  ↓
Agent loads fallow skill
  ↓
Skill instructs: run `fallow dead-code --format json --quiet --unused-exports`
  ↓
Agent executes command, parses JSON output
  ↓
Agent summarizes findings with file paths and line numbers

The skill provides agents with:

  1. Command knowledge: which fallow command + flags to use for each task
  2. Output parsing: how to interpret JSON results
  3. Guardrails: always dry-run before fix, never run watch, use --yes in non-TTY
  4. Debugging: how to trace false positives with --trace

Contributing

See AGENTS.md for repository structure and quality standards. source-lock.json pins the public Fallow contract used by the fallow skill. CI checks that pin against a clean source checkout and rejects contract or privacy-boundary drift. Maintainers can find the versioning, packaging, and store update procedure in RELEASING.md.

Related

License

MIT. See LICENSE for details.

Rendered live from fallow-rs/fallow-skills's GitHub README — not stored, always reflects the source repo.

1 Plugin

NameDescriptionCategorySource
fallowCodebase intelligence and local Impact summaries for TypeScript and JavaScript using fallow./fallow

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.