organize
Skill2 starsChanged 6 days agoMITView on GitHub
Improves how a codebase is organised without changing what it does - splits files that do several unrelated jobs, moves code to where a reader would look for it, breaks up utils dumping grounds, removes circular dependencies and stale duplicate modules, and makes the layout consistent. Plans first, then makes one pure move at a time, keeping every existing import path working. Use when the user asks to organise, restructure, reorganise or tidy a project's structure, files, folders or modules, says a file is too big or code is hard to find, or types /organize or /anti-slopware organize.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- Daniel-Gutierrez-0/claude_skillstheir own version, first seen Nov 22, 2026
- MarchTalk/ai-content-skillstheir own version, first seen Nov 16, 2026
- willcoliveira/mac-cleanup-agenttheir own version, first seen Nov 15, 2026
- AndyMelnykov/obsidian-claudetheir own version, first seen Nov 15, 2026
- paulogabriel/beryltheir own version, first seen Nov 8, 2026
- SethGammon/Citadeltheir own version, first seen Nov 4, 2026
Used with
Projects with it also use postmortem, dashboard and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Hongyu-yuSkillpostmortem
Use when analyzing failures, outages, incidents, or negative outcomes, conducting blameless postmortems, documenting root causes with 5 Whys or fishbone diagrams, identifying corrective actions with owners and timelines, learning from near-misses, establishing prevention strategies, or when user mentions postmortem, incident review, failure analysis, RCA, lessons learned, or after-action review.
Also in 3 projects that use this
GoogleSkilldashboard
Configures and launches the GKE Capacity & Triage Dashboard scoped to a GCP project ID, GKE cluster name, or target ML workload ID. Uses the configure-and-launch-dashboard action and launch-workload-dashboard workflow to verify local dashboard health, discover cluster capacity, trigger live scans, and generate deep-linked URLs. Use when the user types "/dashboard", says "launch dashboard", "open dashboard", "show capacity", or "view triage dashboard" with a project, cluster, or workload. Don't use for general workload log querying or automated failure attribution (use the troubleshoot skill).
Also in 3 projects that use this
genomewalkerSkilllearn
Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.
Also in 4 projects that use this
ElasticSkillcreate-skill
Interactively create a new Claude Code skill and add it to the elastic-docs-skills catalog. Use when the user wants to generate a new skill, scaffold a slash command, or build automation for docs tasks.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 4 projects that use this
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
Also in 3 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- SethGammon/Citadel★ 927same name
- yunshu0909/yunshu_skillshub★ 760same name
- mcpware/claude-code-organizer★ 395same name
- mcpware/cross-code-organizer★ 395same name
- TyrealQ/q-skills★ 108same name
- sanghun0724/cmux-claude-skills★ 33same name
- seongjaeryu/bindly-claude-code★ 8same name
- MarchTalk/ai-content-skills★ 4same name
- mayankjain1815-commits/CITADEL★ 4same name
- AndyMelnykov/obsidian-claude★ 2same name
9 more not listed
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 repository9 other files it gives its agents.
- anti-slopwareSkill
- code-docsSkill
- dep-checkSkill
- error-slopSkill
- junk-sweepSkill
- review-mapSkill
- slim-prSkill
- split-prSkill
- test-slopSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
2
Distinctive
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 50
Never create layers, interfaces or abstractions.
- Distinctive: line 77
Run the checks after every move: If they fail, undo that move and list it under "Skipped".
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
organize
Good structure means a reader can guess where something lives, and a change to one feature touches one place. AI-written code drifts away from that: each new piece lands in whichever file was open, and utils collects everything else.
Moving code is risky and makes large diffs, so this skill plans first, moves in small pure steps, and keeps old paths working.
1. Read the request
| Argument | Meaning | Default |
report | Write the plan. Change nothing. | on |
apply | Carry out the plan, after showing it | off |
| a path | Folder or package to organise | the project |
2. Understand the project first
Before judging anything, learn its conventions: how the existing folders are divided (by feature, by layer, by type), where tests live, what the framework requires, what is public. Read the README and any architecture notes. The project's own structure is the standard. Extend the pattern it already has. Do not bring in a different one.
Record a baseline: run the build, tests, linter and type-checker.
3. Find
- A file doing several unrelated jobs: data model, parsing, formatting and a command-line entry point in one file. The test is unrelated reasons to change, not length.
- A dumping ground:
utils,helpers,common,mischolding unrelated things. Each belongs with its topic or its only user. - Code in the wrong place: a helper used by one module but living in another; presentation code in the data layer; a constant defined far from its only use.
- Circular dependencies, and the tricks that hide them: imports inside functions, late imports at the bottom of a file. Usually something shared needs a home both sides can depend on.
- Dependencies pointing the wrong way: low-level code importing high-level code.
- Stale duplicates:
thing_old,thing2,thing_new,thing_backup, kept beside the real one and referenced by nothing. Remove one only when the project is under version control, so it can be recovered. Otherwise list it and leave it. - Inconsistent layout: the same kind of thing in two places or under two naming schemes.
- Names that mislead: a file whose name no longer describes what it holds.
4. Not a problem
Leave these alone.
- A long file with one job. Length alone is never a reason to split.
- Layout a framework or tool requires: routing folders, migrations and their order, entry points, plugin folders, generated code.
- Anything loaded by name: modules named in configuration, plugin lists, entry points, strings passed to an importer. Search for the dotted path as text before moving anything.
- A structure that is consistent but not the one you would choose.
- Small projects. Three files do not need folders.
Never create layers, interfaces or abstractions. Organising moves existing code; it does not design new architecture.
5. Plan
List the moves in the order they will be made. Each move is one line: what moves, from where, to where, and why. Put dependency fixes before the moves that rely on them. Flag any move that changes a public path.
organize: <n> moves planned
1. <what>: <from> -> <to>. <why>
2. ...
Left alone: <file>: <why it looks like a candidate and is not>
Not sure: <file>: <what made it unclear>With report, stop here.
6. Apply (only with apply, after the plan is shown)
One move at a time:
- Move, do not edit. The moved code stays character for character the same. The only other things that change are imports and the way a moved name is referred to (
utils.money(x)becomesmoney(x)). Any improvement to the code itself is a separate change, for another day or another skill. - Keep every old path working. Where code is imported from its old location by tests, documentation, other packages or anything public, leave a re-export at the old location. Remove a re-export only if the user asks. A re-export covers reading a name, not changing it. If any code assigns to or patches a module-level value through the old path (a setting, a constant patched in a test, a registry), leave that value where it is. Search for such assignments before moving it.
- Update references that are text: configuration, entry points, documentation, scripts. An entry point must still resolve.
- Do not edit tests. They must pass unchanged, through the old paths. That is the proof the move was safe.
- Use the version-control move (
git mv) when the whole file moves, so history follows. - Run the checks after every move. If they fail, undo that move and list it under "Skipped".
7. Report
organize: <n> moves made, <files before> -> <files after> files
Moved:
- <what>: <from> -> <to>
Removed: <stale duplicate>: <how you confirmed nothing references it>
Old paths kept working: <path> re-exports from <new path>
Skipped: <move>: <why>
Left alone: <file>: <why>
Checks: <command> <before> -> <after>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.

