structure
Skill2 starsChanged 14 days agoMITView on GitHub
Orchestrates refactoring agents sequentially to fix structural violations.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- jtmuller5/small-business-skillstheir own version, first seen Oct 20, 2026
- VladTheProgrammer/claude-asimovtheir own version, first seen Oct 8, 2026
- flowing-abyss/obsidian-vault-skillstheir own version, first seen Sep 19, 2026
- dfrysinger/qrspi-plustheir own version, first seen Jun 19, 2026
- alirezarezvani/gaiostheir own version, first seen Jun 6, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- alirezarezvani/gaios★ 37same name
- dfrysinger/qrspi-plus★ 37same name
- flowing-abyss/obsidian-vault-skills★ 9same name
- jtmuller5/small-business-skills★ 0same name
- VladTheProgrammer/claude-asimov★ 0same 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 repository21 other files it gives its agents.
- auto-commitSkill
- cleanSkill
- code-reviewSkill
- coverageSkill
- documentSkill
- purifySkill
- puritySkill
- refactorSkill
- spae-buildSkill
- spae-checkSkill
- spae-fixSkill
- spae-inspectSkill
- spae-orchestrateSkill
- spae-planSkill
- spae-prepareSkill
- spae-spawnSkill
- spae-specSkill
- spae-verifySkill
- testSkill
- tipSkill
- troubleshootSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Run refactoring subagents sequentially to fix structural violations in target code.
- Distinctive: line 42
Always use the subagent tool for subagent invocation.
- Distinctive: line 53
Never run subagents in parallel or concurrently.
- Distinctive: line 63
Every run, halted or not, ended in Report.
- Distinctive: line 70
Keep prose terse while ensuring clarity.
- Distinctive: line 73
Use lists and sub-lists for long sentences and dense paragraphs.
“Common” is measured: kept by at least 6 in 10 of the 5 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
Structure
When to use
- The user wants to fix structural violations autonomously using the
refactoragent.
Goal
- Run refactoring
subagentssequentially to fix structural violations in target code.
Input
- Accept optional arguments (file or folder paths).
Workflow
Halt on any Halt conditions entry after every spawn.
- Refactoring Loop:
- Spawn a
refactorsubagent with the optional argument; await its result. Complete: repeat step 1.No Changes: proceed to step 2.
- Spawn a
- Report: emit the result per Result directives:
Result:Completedwhen the workflow reaches Report without a halt;Haltedwhen a subagent reportsFailed;Failedon any other Halt conditions entry.
Directives
- Always use the subagent tool for subagent invocation.
- Pass the argument verbatim to each subagent; never read or expand file-path arguments.
- Route only from each subagent's
Resultvalue. - Spawn only the subagents the workflow names.
Constraints
- Restrict activities to spawning subagents, reading their results, and reporting; never write files, run git operations, activate skills, or prompt the user mid-run.
- Never run subagents in parallel or concurrently.
- Halt conditions: halt immediately; report per Report, listing
the diagnostic under
Findings:- A subagent
Failedresult. - A subagent result missing or outside the workflow's literals.
- A process failure (crash, timeout,
AgentError).
- A subagent
Verification
- Subagents ran one at a time, in workflow order.
- Every run, halted or not, ended in Report.
- The orchestrator wrote no file.
Result directives
- Minimum words. Maximum signal.
- Return the final execution status block.
- Keep prose terse while ensuring clarity.
- Optimize prose for agent, token, and context efficiency.
- Split actions, findings, and summaries into terse bullet points.
- Use lists and sub-lists for long sentences and dense paragraphs.
- Emit the result template as live markdown—never in a code fence.
- Output nothing outside the template.
Result template
<!-- prettier-ignore-start -->### Execution Summary
- **Actions**:
- [Terse list of actions from spawned subagents]
- **Files**:
- [Terse list of files affected by spawned subagents]
- **Findings**:
- [Terse list of findings from spawned subagents]
- **Summary**:
- [Terse list of summary from spawned subagents]
> **Structure Status** • `[scope]`
> **Result**: [Completed | Halted | Failed]
> **Impact**: [Terse impact statement]<!-- prettier-ignore-end -->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.

