← ClaudeAtlas

trimlisted

Trim a named file to its smallest, highest-signal form — zero information loss, behavior identical.
ledtorch/coding-agent-workflow · ★ 0 · Code & Development · score 70
Install: claude install-skill ledtorch/coding-agent-workflow
## Input The text after the command — `/trim <file-path>` (Claude Code) or `$trim <file-path>` (Codex). Called **the target file** below. ## Context (gather first) Run these and read the output: ``` git branch --show-current git status --short ``` ## Charter **Distill the named target to its smallest, highest-signal form — losing nothing actionable.** Fewer lines, one home per fact, no dead weight. Observable behavior, public contracts, and types come out identical. Test for any change: *does this leave less text AND the same actionable content?* If it grows the file, it isn't `/trim`. If it changes what the user observes, it isn't `/trim`. **Performance is a side effect, never the goal.** You MAY fix obviously wasteful runtime work — a redundant loop, a value recomputed every call — but **only when the fix also removes code**. Never add memoization, caching, lazy-loading, or virtualization here. > **Do not re-add:** no mode/pass selector — audit mode was removed with its methodology > doc (`development/refactor.md`; git has it). The `refact` **commit type** and the > `references/refact-<slug>.md` plan prefix ([plan.md](../plan/SKILL.md)) are code-refactor terms, > unrelated to this command's rename from `/refact` — keep both. ## Scope (the target file) **The target path(s)** is the whole input, nothing else. `/trim references/development/conventions.md` trims that file. No mode token, no pass selector. - **Edits ONLY the explicitly named target(s)** — never adjac