tidy-first
Skill4 starsChanged 4 months agoMITView on GitHub
Inspect existing code against an accepted implementation design and apply only small, behavior-preserving structural tidies that make the upcoming behavior change safer or clearer. Use before implementing a behavior change in existing code when a concrete design exists.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Sturla22/skillstheir own version, first seen Mar 25, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Sturla22/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- build-incrementalSkill
- code-simplifySkill
- create-or-clone-repositorySkill
- design-firstSkill
- implementation-workflowSkill
- manage-git-worktreesSkill
- plan-driven-developmentSkill
- setup-wiki-backed-project-skillsSkill
- subagent-supervisionSkill
- task-briefSkill
- test-driven-debugSkill
- write-personal-wikiSkill
- write-project-wikiSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 10 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Prefer no tidy when the behavior change can be implemented clearly and safely as-is.
- Distinctive: line 15
Treat broad redesigns, public interface changes, migrations, and cross-system refactors as design work rather than tidies.
- Distinctive: line 21
Keep the tidy separate and independently reviewable from the upcoming behavior change.
- Distinctive: line 22
Verify preserved behavior with focused checks when practical.
- Distinctive: line 23
Stop when the accepted design can be implemented directly.
- Distinctive: line 27
Do not implement the requested behavior change.
- Distinctive: line 28
Do not change observable behavior, interfaces, persisted data, errors, logging semantics, validation, authorization, or compatibility …
- Distinctive: line 29
Do not perform unrelated cleanup, speculative abstraction, or broad refactoring.
- Distinctive: line 30
Do not continue tidying after the immediate obstacle has been removed.
- Distinctive: line 31
If behavior preservation is uncertain, stop and report the uncertainty instead of treating the change as a tidy.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tidy First
Inspect the existing implementation against the accepted design before changing behavior. Apply a tidy only when a specific structural obstacle makes the planned change harder to implement, verify, or review.
Decide Whether to Tidy
- Identify structural obstacles directly relevant to the accepted design.
- Tidy first only when a small, local change will reduce immediate implementation risk or complexity.
- Prefer no tidy when the behavior change can be implemented clearly and safely as-is.
- Treat broad redesigns, public interface changes, migrations, and cross-system refactors as design work rather than tidies.
Apply the Tidy
- Identify the smallest behavior-preserving change that removes the obstacle.
- Apply one focused structural change at a time.
- Keep the tidy separate and independently reviewable from the upcoming behavior change.
- Verify preserved behavior with focused checks when practical.
- Stop when the accepted design can be implemented directly.
Guardrails
- Do not implement the requested behavior change.
- Do not change observable behavior, interfaces, persisted data, errors, logging semantics, validation, authorization, or compatibility requirements.
- Do not perform unrelated cleanup, speculative abstraction, or broad refactoring.
- Do not continue tidying after the immediate obstacle has been removed.
- If behavior preservation is uncertain, stop and report the uncertainty instead of treating the change as a tidy.
Report the Result
Record or return the tidy decision, changes, verification results, and material discoveries as directed by the caller:
- Decision: Tidy applied or no tidy needed.
- Changes: The structural changes made.
- Verification: The checks performed and their results.
- Discoveries: Any relevant constraint, risk, or design issue found during the tidy.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

