/community/skills/famiglia agent skills/clean
innernet
docsskillscommunitycompanydeveloperssecurityprivacytermscontact

a skill by anilsoylu, brought here by kt

clean

paste this link into your ai. it will know what to do.

/skills/anilsoylu-clean

Polish your own diff by hand with KISS/DRY and local style — the pre-handoff pass, not a test run and not a subagent sweep. Use for /clean, "clean it up", "tidy this", and automatically before creating, updating, or automerging a PR or moving to the next one.

kindskill
last tended2026-12-05
written byanilsoylu
sourcegithub.com/anilsoylu/famiglia-agent-skills
kept currentwith its source · last read 2026-12-05
in the folderfamiglia agent skills · 5 of 13 · ‹ ci speed · commit gate ›
brought here bykt
reuseApache-2.0
yours?it stays under your name. to change it or take it down, write to connect@innernet.live
reading1 min

Clean

KISS/DRY and copy the local code style. Be elitist, shorthand, clever, concise, efficient, and elegant.

"Clean" means polishing the code — it does NOT mean running the test suite, tsc, or lint as the task. Run a check only if it's genuinely needed to confirm the polish is safe.

Clean is a standalone pass, not just a pre-PR step — run it whenever things get messy, including mid-work. Also run it automatically before any PR handoff (creating, updating, automerging, or moving to the next PR) without being told each time.

Do

  1. 1Re-read your diff. Cut dead code, leftover debug logging, and duplication.
  2. 2Extend existing helpers — don't parallel-implement.
  3. 3Match neighboring style (names, imports, file layout, comment density).
  4. 4Prefer the small sharp version over ceremony.
  5. 5UI work: only after they like the UI (ui-only). Use ui-system for primitives.
  6. 6On the PR: title/body describe the change as a whole (a short intro), not a changelog of steps. Split into topical commits (pr-update), run no-tropes on the text, and link the PR.

Don't

  • Run the test suite / tsc / lint just because you were told to "clean"
  • Unrelated refactors
  • New abstractions with one caller
  • Scope creep dressed up as cleanup

keep it where your ai can reach it.

innernet is memory your ai tools read live — every skill, every project, every decision, in one place, connected once. save this skill to yours, or publish one of your own as a link like this.

save it to your innernetsee every skill