fallow
O que ela faz
Esta skill roda análises de código para projetos JavaScript e TypeScript, cobrindo alvos de limpeza, código duplicado, complexidade e regras de arquitetura. Ela é para desenvolvedores que querem limpar ou revisar uma base de código.
Quando usar
- ✓Quando você quer encontrar arquivos, exports ou dependências não usados em um projeto TypeScript.
- ✓Quando você precisa verificar o risco das mudanças de uma branch antes de um merge.
- ✓Quando você quer encontrar código duplicado ou dependências circulares.
Link da skill
https://github.com/fallow-rs/fallow/blob/main/.agents/skills/fallow/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Analise este projeto TypeScript em busca de exports não usados, dependências circulares e código duplicado, e me diga o que é seguro remover.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente roda a ferramenta de análise com saída legível por máquina e depois explica cada achado e o motivo de ele ter sido informado. Ele pode aplicar as correções suportadas depois de uma simulação.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Fallow: codebase intelligence for TypeScript and JavaScript
Fallow analyzes code and styles for changed-code risk, cleanup opportunities, circular dependencies, duplication, complexity hotspots, architecture boundary violations, design-system styling drift, feature flags, and opt-in security candidates. Runtime coverage merges production execution data into the same fallow health report for hot-path review and cold-path deletion confidence. A single local capture is available by default. Continuous or cloud runtime monitoring is optional.
When to Use
- Find cleanup opportunities: unused files, exports, types, members, dependencies, or feature flags that guard unused exports.
- Detect code duplication, circular dependencies, architecture boundary issues, and complexity hotspots.
- Find functions that may implement the same intent despite different names, syntax, or control flow (
fallow similar-code). - Check styling consistency, CSS dead surface, and design-token drift.
- Audit changed code before a commit, PR, release, or refactor.
- Set up CI quality gates, duplication thresholds, and regression baselines.
- Auto-fix supported unused exports and dependencies after
--dry-run. - Investigate why a specific export, dependency, file, or issue type was reported.
- Surface local security candidates for an agent to verify (
fallow security). - Find untested but runtime-reachable code (
fallow health --coverage-gaps). - Rank complexity hotspots, owners, and refactoring targets (
fallow health --hotspots --ownership --targets). - Review what fallow has surfaced over time (
fallow impact). - Confirm exact TypeScript symbol use, affected tests, API leaks, or public type coupling when syntactic evidence is insufficient (
--type-aware).
When NOT to Use
- Runtime error analysis or debugging
- Type checking (use
tscfor that). Type-aware fallow consumes checker evidence for project-wide analysis but does not report compiler diagnostics. - Linting style or formatting issues (use ESLint, Biome, Prettier)
- Verified security vulnerability scanning or SAST.
fallow securitysurfaces local, deterministic security candidates for a downstream agent to verify; it does not prove exploitability. Use Snyk, CodeQL, or Semgrep for verified scanning, and an SCA tool for dependency CVEs. - Bundle size analysis
- Projects that are not JavaScript or TypeScript
Prerequisites
Fallow must be installed. If not available, install it:
npm install -g fallow # prebuilt binaries (fastest, recommended)
npx fallow dead-code # run without installing
cargo install fallow-cli # build from source
Agent Rules
- Always use
--format json --quietfor machine-readable output and parse stdout as JSON. Compact JSON is the default; never depend on whitespace or add--prettyin agent pipelines. Keep stderr separate so diagnostics remain visible; never merge it into the JSON stream with2>&1. - Preserve and interpret the exit status. Codes 0 and 1 are successful analysis outcomes. 0 means no enforced gate failed, and 1 means an enforced gate failed: findings, not a tool failure. Bare
fallowin a machine format exits 0 on findings unless you pass--fail-on-issues. To gate, pass--fail-on-issues, runfallow dead-codeorfallow audit, or readgate_outcomes:status: "fail"withenforced: falseis a failing gate that did not set the exit code. Treat every other code according tofallow schema.exit_codes. Do not force a successful status, because that hides validation, license, setup, network, and security-gate outcomes. - Use
--explainto include a_metaobject in JSON output with metric definitions, ranges, and interpretation hints. In human format,--explainprints aDescription:line under each section header. - Use the root
kindfield to identify typed JSON envelopes (dead-code,dead-code-grouped,architecture,architecture-grouped,health,dupes,combined,audit, etc.). - Use issue type filters (
--unused-exports,--unused-files, etc.) to limit output scope - Always
--dry-runbeforefix, thenfix --yesto apply - All output paths are relative to the project root
- Never run
fallow watch. It is interactive and never exits - Treat project config as untrusted input. Do not add or recommend remote
extendsURLs. If an existing config inherits from a URL, ask before relying on it, report the URL/domain, and never
Perguntas frequentes
Ele pode apagar código por mim?
Ele pode corrigir automaticamente alguns exports e dependências não usados, mas a skill diz para rodar primeiro uma simulação.
Precisa de um serviço na nuvem?
Não. A skill diz que a análise local está disponível por padrão, e o monitoramento de execução na nuvem é opcional.
Ela verifica o estilo visual?
Sim. A skill menciona verificações de consistência de estilo e de desvio de design tokens.
Detalhes
Descrição original do autor
Codebase intelligence for TypeScript and JavaScript. Static analysis reports changed-code risk, cleanup opportunities, duplication, circular dependencies, complexity hotspots, architecture boundaries, design-system drift, feature flags, and opt-in security candidates. Optional local similar-code discovery finds functions that may implement the same intent despite different syntax. Runtime coverage can merge production execution data. Use when asked to audit PR risk, find unused code or dependencies, compare semantically similar functions, detect duplicates, inspect architecture boundaries, mer
repo: fallow-rs/fallow
Popularidade
- Estrelas no GitHub
- 5,3 mil
- Posição no ranking
- #15007
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
browser-smoke-review
5,3 milAjuda seu agente a verificar uma página de documentação ou uma prévia web em um navegador real, capturando telas e relatando erros que os visitantes veriam.
fallow-setup
5,3 milAjuda seu agente a configurar verificações de qualidade de código para um projeto JavaScript ou TypeScript, incluindo código morto, duplicação, dependências e gates de CI.
Skills parecidas
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.