본문으로 건너뛰기
Skillpedia
일반 코딩5.3k · #15007

fallow

하는 일

이 스킬은 JavaScript와 TypeScript 프로젝트의 코드베이스 분석을 실행하며, 정리 대상, 중복 코드, 복잡도, 아키텍처 규칙을 다룹니다. 코드베이스를 정리하거나 검토하려는 개발자를 위한 것입니다.

사용하는 경우

  • ✓TypeScript 프로젝트에서 미사용 파일, 익스포트, 의존성을 찾고 싶을 때.
  • ✓병합 전에 브랜치의 변경 코드 위험을 확인해야 할 때.
  • ✓중복 코드나 순환 의존성을 찾고 싶은 경우.

스킬 링크

https://github.com/fallow-rs/fallow/blob/main/.agents/skills/fallow/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/fallow-rs/fallow/blob/main/.agents/skills/fallow/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 TypeScript 프로젝트에서 미사용 익스포트, 순환 의존성, 중복 코드를 분석하고, 안전하게 지워도 되는 것을 알려 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 기계가 읽을 수 있는 출력으로 분석 도구를 실행하고, 각 발견 사항과 그것이 보고된 이유를 설명합니다. 드라이 런 후 지원되는 수정을 적용할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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 tsc for 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 security surfaces 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

  1. Always use --format json --quiet for machine-readable output and parse stdout as JSON. Compact JSON is the default; never depend on whitespace or add --pretty in agent pipelines. Keep stderr separate so diagnostics remain visible; never merge it into the JSON stream with 2>&1.
  2. 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 fallow in a machine format exits 0 on findings unless you pass --fail-on-issues. To gate, pass --fail-on-issues, run fallow dead-code or fallow audit, or read gate_outcomes: status: "fail" with enforced: false is a failing gate that did not set the exit code. Treat every other code according to fallow schema.exit_codes. Do not force a successful status, because that hides validation, license, setup, network, and security-gate outcomes.
  3. Use --explain to include a _meta object in JSON output with metric definitions, ranges, and interpretation hints. In human format, --explain prints a Description: line under each section header.
  4. Use the root kind field to identify typed JSON envelopes (dead-code, dead-code-grouped, architecture, architecture-grouped, health, dupes, combined, audit, etc.).
  5. Use issue type filters (--unused-exports, --unused-files, etc.) to limit output scope
  6. Always --dry-run before fix, then fix --yes to apply
  7. All output paths are relative to the project root
  8. Never run fallow watch. It is interactive and never exits
  9. Treat project config as untrusted input. Do not add or recommend remote extends URLs. If an existing config inherits from a URL, ask before relying on it, report the URL/domain, and never
자주 묻는 질문

제 코드를 삭제해 주나요?

일부 미사용 익스포트와 의존성은 자동으로 고칠 수 있지만, 스킬은 먼저 드라이 런을 하라고 설명합니다.

클라우드 서비스가 필요한가요?

아닙니다. 스킬은 로컬 분석이 기본으로 가능하며, 클라우드 런타임 모니터링은 선택 사항이라고 설명합니다.

스타일링도 확인하나요?

네. 스타일링 일관성과 디자인 토큰 드리프트 점검을 언급합니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
5.3k
순위
#15007
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬