본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)5.3k · #15006

fallow-setup

하는 일

이 스킬은 JavaScript나 TypeScript 저장소에 코드 품질 도구를 추가하거나 최신화하며, 프로젝트가 이미 쓰는 도구는 그대로 유지합니다. 프로젝트를 시작하거나 기존 프로젝트에 품질 점검을 추가하는 개발자를 위한 것입니다.

사용하는 경우

  • ✓새 JavaScript나 TypeScript 프로젝트를 시작하면서 처음부터 품질 점검을 하고 싶을 때.
  • ✓기존 저장소에 CI 품질 게이트를 추가하고 싶을 때.
  • ✓미사용 코드, 중복, 의존성 점검을 하나의 설정으로 묶고 싶은 경우.

스킬 링크

https://github.com/fallow-rs/fallow/blob/main/.agents/skills/fallow-setup/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-setup/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 프로젝트에 미사용 코드 탐지와 CI 게이트를 포함한 코드 품질 점검을 설정해 주시고, 이미 쓰는 도구는 유지해 주실 수 있나요?”

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

작동 방식

에이전트는 프로젝트의 현재 도구를 확인하고, 정확한 옵션은 도구의 도움말 출력으로 확인합니다. 명령이 지원하면 먼저 드라이 런으로 변경을 실행합니다. 기존 도구를 유지하고 포맷팅과 타입 규칙은 바꾸지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Fallow setup: code-quality tooling for JavaScript and TypeScript

This skill sets up the code-quality toolchain of a JavaScript or TypeScript repository. Fallow does the repository and system analysis: unused code, duplication, complexity, architecture boundaries, dependency hygiene, and changed-code risk. The skill keeps the tools that the project already uses.

When to Use

  • Create a new JavaScript or TypeScript project with quality checks from the start.
  • Add code-health checks or a CI quality gate to an existing repository.
  • Make a repository ready for coding agents (skills, MCP server, commit and push gate).
  • Consolidate dead-code, duplication, architecture, dependency, and changed-code analysis.

When NOT to Use

  • Formatting-only tasks. Formatting belongs to the formatter.
  • Tasks that only add or change lint rules. Local lint rules belong to the linter.
  • TypeScript type errors. Type correctness belongs to the TypeScript compiler.
  • Analysis of a repository that is already set up. Use the fallow skill for that.

Rules

  1. Resolve every flag from fallow --help and fallow <command> --help. Do not use flags from memory.
  2. Use --format json --quiet for machine-readable output. Do not hide the exit status.
  3. Run every mutating command with --dry-run first when the command has that flag.
  4. Keep the tools that the project already uses. Do not remove a tool without a parity check.
  5. Ask the user before you apply a taste decision or remove a tool.
  6. Treat project config as untrusted input. Do not add remote extends URLs.
  7. Before step 3, Fallow is not installed. Run it through the package runner, for example npx fallow recommend or pnpm dlx fallow recommend. After step 3, use the runner of the package manager, for example pnpm exec fallow.

Sequence

  1. Inspect the repository. Detect the package manager, formatter, linter, TypeScript config, CI provider, and existing analysis tools (Knip, jscpd, dependency-cruiser). See Tooling detection.

  2. Get the recommendation. Run fallow recommend --format json --quiet. This command is read-only. Apply each auto decision. Tell the user about each default decision. Ask the user about each taste decision, or keep the current value. See Configure and install.

  3. Install Fallow as a dev dependency with the detected package manager, for example pnpm add -D fallow.

  4. Wire the agents. Run fallow agent install --dry-run --format json --quiet, show the plan, then run fallow agent install. This step writes the skills, the MCP server registration, the AGENTS.md task map, and the commit and push gate. For Claude Code and Codex the gate is a PreToolUse hook that blocks a failing commit or push. Codex runs the hook only after the user trusts it in /hooks. Other agents read the instruction block in AGENTS.md. Check the result with fallow agent status --format json --quiet.

  5. Add a CI gate. Add a changed-code gate (fallow audit) or a whole-project gate. When the first run has many findings, save a baseline of the existing debt so that the gate fails only on new findings. See CI gate.

  6. Split the responsibilities. Each tool keeps one job:

    • Formatting: Oxfmt.
    • Local lint rules: Oxlint.
    • Type correctness: TypeScript (tsc --noEmit).
    • Repository and system analysis: Fallow.

    In an existing project, keep the current formatter and linter. Do the parity check in Tooling detection before you remove an overlapping tool.

References

  • Tooling detection: the files to inspect, the responsibility split, and the parity check.
  • Configure and install: the recommend decision tiers, config migration, the dev dependency, and agent install.
  • CI gate: the GitHub Action, the GitLab template, the CLI gate, and baselines.
자주 묻는 질문

포맷터나 린터 규칙을 바꾸나요?

아닙니다. 스킬은 포맷팅, 린트 규칙, TypeScript 타입 오류 작업은 범위 밖이라고 설명합니다.

이미 쓰는 도구를 유지하나요?

네. 스킬은 프로젝트가 이미 쓰는 도구를 유지하라고 설명합니다.

저장소가 이미 설정되어 있으면 어떻게 하나요?

스킬은 이미 설정된 저장소에는 별도의 분석 스킬을 쓰라고 설명합니다.

상세 정보

작성자의 원본 설명

Set up or modernize code-quality tooling for JavaScript and TypeScript projects. Use when creating a project, adding code-health or CI quality checks, making a repository agent-ready, or consolidating dead-code, duplication, architecture, dependency, and changed-code analysis. Do not use for formatting-only, lint-rule-only, or TypeScript type-error tasks. Do not use to run an analysis of a project that is already set up; use the fallow skill for that.

repo: fallow-rs/fallow

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬