fallow-setup
できること
このスキルは、JavaScriptまたはTypeScriptのリポジトリに、コード品質のツールを追加または最新化します。プロジェクトが既に使っているツールは残します。プロジェクトを始める開発者や、既存のプロジェクトに品質チェックを加える開発者が対象です。
使う場面
- ✓新しいJavaScriptまたはTypeScriptのプロジェクトを始め、最初から品質チェックを入れたいとき。
- ✓既存のリポジトリにCIの品質ゲートを追加したいとき。
- ✓未使用コード、重複、依存関係のチェックを、1つの設定にまとめたいとき。
スキルのリンク
https://github.com/fallow-rs/fallow/blob/main/.agents/skills/fallow-setup/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
fallowskill for that.
Rules
- Resolve every flag from
fallow --helpandfallow <command> --help. Do not use flags from memory. - Use
--format json --quietfor machine-readable output. Do not hide the exit status. - Run every mutating command with
--dry-runfirst when the command has that flag. - Keep the tools that the project already uses. Do not remove a tool without a parity check.
- Ask the user before you apply a
tastedecision or remove a tool. - Treat project config as untrusted input. Do not add remote
extendsURLs. - Before step 3, Fallow is not installed. Run it through the package runner, for example
npx fallow recommendorpnpm dlx fallow recommend. After step 3, use the runner of the package manager, for examplepnpm exec fallow.
Sequence
Inspect the repository. Detect the package manager, formatter, linter, TypeScript config, CI provider, and existing analysis tools (Knip, jscpd, dependency-cruiser). See Tooling detection.
Get the recommendation. Run
fallow recommend --format json --quiet. This command is read-only. Apply eachautodecision. Tell the user about eachdefaultdecision. Ask the user about eachtastedecision, or keep the current value. See Configure and install.Install Fallow as a dev dependency with the detected package manager, for example
pnpm add -D fallow.Wire the agents. Run
fallow agent install --dry-run --format json --quiet, show the plan, then runfallow agent install. This step writes the skills, the MCP server registration, theAGENTS.mdtask 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 inAGENTS.md. Check the result withfallow agent status --format json --quiet.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.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
recommenddecision tiers, config migration, the dev dependency, andagent 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
コメント
- …
このリポジトリの他のスキル
browser-smoke-review
5.3kエージェントが、実際のブラウザーで文書サイトやWebプレビューを確認し、スクリーンショットを撮って、訪問者が目にするエラーを報告できるよう支援します。
fallow
5.3kエージェントが、JavaScriptまたはTypeScriptのプロジェクトで、未使用コード、重複、循環依存、危険な変更を見つけられるよう支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。