architect
Skill72 starsChanged 7 months agoMITView on GitHub
Surface architectural friction in the codebase and design better module interfaces. Uses parallel sub-agents to explore radically different interface designs. Based on "deep modules" philosophy — small interfaces hiding significant complexity. Use when code feels tangled, hard to test, or hard to navigate.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- BabylonSocial/babylontheir own version, first seen Nov 30, 2026
- gandolh/my-personal-skillstheir own version, first seen Nov 29, 2026
- MondayNotAGoodDay/skillstheir own version, first seen Nov 29, 2026
- gaia-computer-technologies/gaia-ai-architecttheir own version, first seen Nov 29, 2026
- karanmrn/karanagentskillstheir own version, first seen Nov 29, 2026
- The-Utopia-Studio/skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use ecosystem-reference, fractal-delegation and 10 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.
naman10parikhSkillecosystem-reference
Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.
Also in 5 projects that use this
naman10parikhSkillfractal-delegation
Also in 5 projects that use this
jaydubya818Skillfigure-it-out
Use when novel or multi-phase work needs an auditable workflow and no narrower playbook fits.
Also in 66 projects that use this
shiwenbin1617Skillketchup-video
Catch the user up like /ketchup, with a short subtitled video of slides for what happened and the waiting calls as text under it. Use for /ketchup-video.
Also in 22 projects that use this
bnemaSkillsetup-pstack
Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.
Also in 33 projects that use this
eryzerzSkillmake-bot-ui
Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.
Also in 25 projects that use this
- +5 more from naman10parikh
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- pascalorg/editor★ 26ksame name
- elizaOS/eliza★ 20ksame name
- backnotprop/pstack★ 5.4ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- jsmastery-pro/skills★ 1.4ksame name
- SethGammon/Citadel★ 927same name
- nagi-studio/skills★ 706same name
- moeru-ai/xsai★ 670same name
183 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.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 160 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 50
Ask the user: "Which of these would you like to explore?"
- Very specific: line 95
If it warrants implementation → save as a spec in docs/contexts/<name>/specs/
- Very specific: line 96
If it's a significant architectural decision → consider an ADR in docs/contexts/<name>/adrs/
- Very specific: line 97
Update docs/contexts/<name>/CONTEXT.md if ownership or contracts change
“Common” is measured: kept by at least 6 in 10 of the 160 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
Architecture Improvement
Explore the codebase to surface architectural friction, then design deep module interfaces using parallel sub-agents. A deep module (Ousterhout) has a small interface hiding a large implementation — more testable, more navigable, more resilient to change.
Process
1. Discover project context
Read domain documentation:
docs/CONTEXT_MAP.md— bounded contexts and relationshipsdocs/contexts/*/CONTEXT.md— ownership, invariants, contractsdocs/UBIQUITOUS_LANGUAGE.md— canonical terminology
2. Explore the codebase
Navigate organically, noting friction:
- Where does understanding one concept require bouncing between many small files?
- Where are modules so shallow that the interface is nearly as complex as the implementation?
- Where have pure functions been extracted "for testability" but the real bugs hide in how they're called?
- Where do tightly-coupled modules create integration risk at the seams?
- Which parts are untested or hard to test?
- Where do bounded context boundaries leak? (one context directly accessing another's internals)
The friction you experience IS the signal.
3. Present candidates
Present a numbered list of deepening opportunities:
1. [Cluster Name]
Modules: [which modules/concepts are involved]
Coupling: [why they're coupled — shared types, call patterns, co-ownership]
Dependency type: [in-process | local-substitutable | remote-owned | true-external]
Test impact: [what tests would be replaced by boundary tests]
Context: [which bounded context(s)]
2. ...Ask the user: "Which of these would you like to explore?"
4. Frame the problem space
For the chosen candidate, write a user-facing explanation:
- The constraints any new interface would need to satisfy
- The dependencies it relies on
- A rough illustrative code sketch (NOT a proposal — just grounding)
Show this to the user, then proceed to design.
5. Design multiple interfaces
Spawn 3+ sub-agents in parallel. Each must produce a radically different interface:
- Agent 1: "Minimize the interface — 1-3 entry points max"
- Agent 2: "Maximize flexibility — support many use cases and extension"
- Agent 3: "Optimize for the most common caller — make the default case trivial"
- Agent 4 (if applicable): "Ports & adapters — inject all external dependencies"
Each agent outputs:
- Interface signature (types, methods, params)
- Usage example
- What complexity it hides internally
- Dependency strategy
- Trade-offs
6. Compare and recommend
Present designs sequentially, then compare in prose:
- Interface simplicity (fewer methods, simpler params = better)
- General-purpose vs specialized
- Implementation efficiency
- Depth (small interface + deep implementation = good)
- Ease of correct use vs ease of misuse
Give your recommendation. Be opinionated — the user wants a strong read.
7. Capture the decision
Based on user's choice:
- If it warrants implementation → save as a spec in
docs/contexts/<name>/specs/ - If it's a significant architectural decision → consider an ADR in
docs/contexts/<name>/adrs/ - Update
docs/contexts/<name>/CONTEXT.mdif ownership or contracts change
Dependency categories
| Category | Description | Test strategy |
| In-process | Pure computation, no I/O | Merge and test directly |
| Local-substitutable | Has local test stand-in (e.g., SQLite for Postgres) | Test with substitute |
| Remote but owned | Your own services across network boundary | Port + adapter pattern, in-memory adapter for tests |
| True external | Third-party services (Stripe, OpenAI) | Mock at boundary |
Testing principle
Replace, don't layer. Once boundary tests exist for a deepened module, delete the old shallow unit tests. Tests assert on observable outcomes through the public interface, not internal state.
Related skills
/domain— stress-test the chosen design against the domain model/spec— formalize the improvement into a spec/slice— break the refactor into vertical slices/holistic— understand the broader system before refactoring
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.

