fallow-setup
Fungsinya
Skill ini menambahkan atau memodernisasi alat kualitas kode di repositori JavaScript atau TypeScript, dan tetap memakai alat yang sudah digunakan proyek. Skill ini untuk pengembang yang memulai proyek baru atau menambahkan pemeriksaan kualitas ke proyek yang ada.
Kapan dipakai
- ✓Saat Anda memulai proyek JavaScript atau TypeScript baru dan ingin pemeriksaan kualitas sejak awal.
- ✓Saat Anda ingin menambahkan gerbang kualitas CI ke repositori yang sudah ada.
- ✓Saat Anda ingin menggabungkan pemeriksaan kode mati, duplikasi, dan dependensi dalam satu penyiapan.
Link skill
https://github.com/fallow-rs/fallow/blob/main/.agents/skills/fallow-setup/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Siapkan pemeriksaan kualitas kode untuk proyek TypeScript ini, termasuk deteksi kode yang tidak terpakai dan gerbang CI, dan pertahankan alat yang sudah kami pakai.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent memeriksa alat proyek yang ada, memakai keluaran bantuan alat untuk opsi yang tepat, dan menjalankan perubahan sebagai uji coba lebih dulu jika perintahnya mendukung. Alat yang sudah ada dipertahankan, dan aturan format atau tipe tidak diubah.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum
Apakah skill ini mengubah aturan formatter atau linter saya?
Tidak. Menurut skill ini, tugas aturan format, lint, dan error tipe TypeScript berada di luar cakupannya.
Apakah alat yang sudah saya pakai akan dipertahankan?
Ya. Menurut skill ini, alat yang sudah digunakan proyek tetap dipertahankan.
Bagaimana jika repositori sudah disiapkan?
Menurut skill ini, repositori yang sudah disiapkan sebaiknya memakai skill analisis yang terpisah.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 5.3k
- Peringkat
- #15006
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
browser-smoke-review
5.3kMembantu agent Anda memeriksa halaman dokumentasi atau pratinjau web di browser sungguhan, mengambil tangkapan layar, dan melaporkan error yang akan dilihat pengunjung.
fallow
5.3kMembantu agent Anda menemukan kode yang tidak terpakai, duplikasi, dependensi melingkar, dan perubahan berisiko dalam proyek JavaScript atau TypeScript.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.