agentleFS
Aquarius-muAquarius-mu/skillManager/skills/gameserver-agent-skills/architect/SKILL.md

architect

Skill1 starsChanged 52 days agoMITView on GitHub

Find deepening opportunities in the codebase — refactors that reduce coupling, simplify interfaces, and improve AI-navigability. Use when improving architecture, finding refactoring opportunities, or making a codebase easier to work with.

175 other projects use a version of this.

Adopted by

Most recently taken up by

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.
  • naman10parikhSkill

    ecosystem-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

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • tristanphvnSkill

    ketchup-video

    Catch the user up like /keel:ketchup, with a short silent video of slides for what happened and the waiting calls as text under it. Use for /keel:ketchup-video.

    Also in 14 projects that use this

  • jaydubya818Skill

    figure-it-out

    Use when novel or multi-phase work needs an auditable workflow and no narrower playbook fits.

    Also in 55 projects that use this

  • ianclearySkill

    principle-explain-the-number

    Apply before you trust, report, or act on a number you measured: a speedup, a regression, a throughput, a latency, or an eval result. Find what limits it, and rule out that it measured something other than the work you think.

    Also in 29 projects that use this

  • eryzerzSkill

    make-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 20 projects that use this

  • +6 more from naman10parikh

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 162 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use these terms exactly. Consistent language prevents drift.

    line 12
  2. Very specific:

    Read CONTEXT.md and any ADRs first if they exist.

    line 25
  3. Distinctive:

    Use the project's domain vocabulary (Manager names, sdp struct names) — not generic terms like "service" or "component".

    line 45
  4. Distinctive:

    Do NOT propose new interfaces yet: Ask: "Which of these would you like to explore?"

    line 47
  5. Very specific:

    New concept not in CONTEXT.md?: Add it

    line 55
  6. Distinctive:

    When looking for deepening opportunities in this codebase, focus on:

    line 61

“Common” is measured: kept by at least 6 in 10 of the 162 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Architect

Surface architectural friction and propose deepening opportunities — refactors that turn shallow modules into deep ones. The aim is AI-navigability, clear ownership, and reduced coupling.

Glossary

Use these terms exactly. Consistent language prevents drift.

  • Module — anything with an interface and an implementation (function, class, Manager, service)
  • Interface — everything a caller must know to use the module: types, error modes, ordering
  • Depth — leverage at the interface: a lot of behaviour behind a small interface. Deep = high leverage. Shallow = interface nearly as complex as the implementation
  • Seam — where an interface lives; a place behaviour can be altered without editing in place
  • Locality — complexity, bugs, and knowledge concentrated in one place
  • Deletion test — imagine deleting the module. If complexity vanishes, it was a pass-through. If complexity reappears across N callers, it was earning its keep.

Process

1. Explore

Read CONTEXT.md and any ADRs first if they exist.

Walk the codebase organically. Note where you experience friction:

  • Where does understanding one concept require bouncing between many small files?
  • Where are modules shallow — interface nearly as complex as the implementation?
  • Where do tightly-coupled modules leak responsibilities across their seams?
  • Which areas have repeated if (p == nullptr) { return ERR_X; } scattered across many callers instead of being centralised?
  • Where does the same data structure get modified in multiple places without a clear owner?

Apply the deletion test to anything suspect.

2. Present Candidates

Present a numbered list of deepening opportunities. For each:

  • Files — which files are involved
  • Problem — why the current architecture causes friction
  • Solution — plain English description of what would change
  • Benefits — explained in terms of locality, leverage, and reduced coupling

Use the project's domain vocabulary (Manager names, sdp struct names) — not generic terms like "service" or "component".

Do NOT propose new interfaces yet. Ask: "Which of these would you like to explore?"

3. Design Loop

Once the user picks a candidate:

  • Walk the design tree — constraints, dependencies, the shape of the deepened module
  • Resolve one decision at a time (invoke /grill if needed)
  • Side effects during the conversation:
    • New concept not in CONTEXT.md? Add it
    • User rejects with a load-bearing reason? Offer to record as an ADR
    • Design crystallises? Transition to /plan to create the implementation plan

4. C++ Game Server Specifics

When looking for deepening opportunities in this codebase, focus on:

  • Manager classes doing too much — split by domain responsibility
  • CmdParser handlers with embedded business logic — push logic into the Manager
  • Duplicated data-loading patterns across multiple Managers — centralise
  • Direct cross-Manager access — introduce a clean interface at the seam
  • Deeply nested if/else chains — extract to named functions with clear semantics

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.