Home / Skills / fallow-rs/fallow

binary-loop

Iteratively reduce Fallow binary size using cargo-bloat and release-build measurements while preserving features, performance, and compatibility.

skillLicense: MIT Source: fallow-rs/fallow

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit fallow-rs/fallow/.agents/skills/binary-loop .claude/skills/binary-loop

Or install it for every project:

npx degit fallow-rs/fallow/.agents/skills/binary-loop ~/.claude/skills/binary-loop

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

---
name: binary-loop
description: Iteratively reduce Fallow binary size using cargo-bloat and release-build measurements while preserving features, performance, and compatibility.
---

# Binary size loop

1. Measure the release binary and capture cargo-bloat evidence.
2. Select one dependency, monomorphization, feature, or codegen contributor.
3. Implement a bounded change.
4. Rebuild with identical release settings.
5. Keep the change only when size improves and verification passes.
6. Repeat until the target is met or remaining candidates have poor tradeoffs.
7. Run `review`.

Do not trade away supported targets or public behavior without explicit scope.