agentleFS
orbyn-devorbyn-dev/orbyn-fullstack-skills/skills/architect/SKILL.md

architect

Skill4 starsChanged 10 days agoMITView on GitHub

Design data shapes, interfaces, ownership, statecharts and module boundaries for substantive features or refactors; use for lifecycle rules, code organization, vertical modules and shared-code extraction.

174 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use ecosystem-reference, fractal-delegation and 9 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

  • 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

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 162 edited versions we read keep these.

  • 3

    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
  1. Distinctive:

    Follow the consuming project's instructions and requested scope.

    line 8
  2. Distinctive:

    Read the relevant stack boundaries and trace the current design with how.

    line 10
  3. Distinctive:

    When comparative research informs the design, translate its assumptions and local mismatches into concrete owners, interfaces, …

    line 35

“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

Follow the consuming project's instructions and requested scope; use the portable defaults only where guidance is missing. Read the relevant stack boundaries and trace the current design with how. Use orbyn-research for a consequential external unknown.

Method

  1. Start from one real caller and a failure it must handle. Write the proposed call and result before drawing directories, then the necessary types, owner, interfaces and lifecycle. Include authority, concurrency, failure, recovery and compatibility when the task affects them.
  2. Inventory the current owner of identity, mutable state, effects and cleanup. A new interface must take responsibility away from callers rather than merely rename their parameters.
  3. Compare alternatives where the choice is consequential. A small sketch is enough when an established pattern fits. Otherwise follow one normal and one interrupted operation through each alternative's owners, and compare how many independent decisions callers must repeat, compatibility with released consumers and the cost of recovery. Select a design when that resolves the choice. If a measurement is needed, give the smallest prototype a decision threshold and disposable inputs. Use arena only when competing candidates would settle a real uncertainty; do not launch a model panel for every function boundary.
  4. Choose the smallest coherent design and explain its trade-off. Keep domain ownership separate from platform rendering: a task editor can share the update contract while web and mobile keep their own focus and navigation behavior. If escape hatches or duplicated state interpretation keep recurring, reconsider the owner/type design and fix that source of complexity instead of adding wrappers.
  5. Check the interface against a stale write, revoked access and a retry after an unknown result, where those cases apply.
  6. Return an owner/interface table, a representative call, state transitions, the rejected alternative and a migration order. Use orbyn-plan when the design needs a delivery sequence. Record a durable rationale only when future maintainers need the decision.

For a proposal-approval feature, specify the durable proposal state, authenticated apply operation, stale-version behavior and shared result shape before designing the buttons. Return a contract the API, web and mobile owners can implement without inventing their own lifecycle. A model sketch is enough only when it answers those ownership questions.

Scope and delivery

A design-only request ends with the design contract and reorganizes no files. This skill request does not authorize reorganizing a consuming application. A small clear fix needs no architecture redesign. Keep sketches out of production code unless they are being completed in the same delivery. Implementation checks belong to the resulting change, within the user's scope.

For substantial implementation, the lead delegates against the selected design under the workflow, reviews the returned diff, performs authorized verification and routes repeated design friction back into the contract. A child implements its owned scope directly.

Design rules

Choose authoritative data, ownership and lifecycle before adding logic. Simplify the affected design before extending it, and remove needless indirection without losing required behavior. Integrate new requirements into that design, and encode a demonstrated recurring failure at the boundary that can prevent it. Migrate controlled callers and retire the old API once compatibility evidence permits it.

When comparative research informs the design, translate its assumptions and local mismatches into concrete owners, interfaces, lifecycle/failure rules and regression checks. A similar upstream diagram or implementation does not establish this project's contract.

For durable transitions, put the migration owner's concrete writer/admission contract in the design, including stale-writer rejection and current-writer controls. A link to migration guidance alone is not the deliverable.

Read when needed

  • Where code belongs, cross-feature imports or shared-code extraction: vertical code organization. Group code by the functionality it owns within existing stack boundaries, and specify public entry points, private internals and allowed dependency directions before moving files. Return the proposed owner map, import contract, trade-off and scoped migration/verification plan. Explaining an existing import path belongs to how.
  • Statecharts, lifecycle races or behavior a human needs to inspect: behavior models and statecharts. Separate the agreed design from current-code behavior, expose forbidden states and connect important rules to source and preview scenarios. A chart alone does not verify a property: use tdd for model checking and drift, and orbyn-ui-design for the human preview.
  • Domain artwork over a statechart: illustrated statecharts and technical-illustration, keeping plain semantics and evidence accessible.
  • A picture of deployed services and how they connect, not states over time: stack-diagram.
  • Caller burden, shallow wrappers, dependency cycles or API longevity: maintainable modules. The Python/Go/SQL example connects one contract across language boundaries without imposing a framework.
  • Unresolved language, framework or storage choice: stack selection for the constraint/evidence comparison, then own interfaces and lifecycle here. An established project's bounded feature usually keeps its stack.
  • Implementation: the relevant language reference, preserving FFI/transport encoding, ownership and failure contracts across polyglot boundaries.
  • Cross-team, independently released or quantitatively constrained systems: large changes. Name measured/required/assumed constraints, distinguish code and organizational ownership, pilot a complete slice, then migrate resumable batches. Never infer deployed adoption from local edits.
  • A new service or materially changed operating envelope: service readiness. Small internal changes keep their existing operating contract.
  • Requested command-interface design or terminal behavior: the conditional CLI contract, then the target's parser/runtime owners.
  • Asynchronous admission, recovery ownership, event ordering, duplicate registry keys or stale catalog entries: runtime boundaries.
  • Expo modules/views/config plugins, DOM/native bridges, brownfield and incremental web migration: mobile boundaries. Preserve target-native ownership; no automatic scaffolding or macro migration.
  • Worked examples, to reuse the reasoning shape with the project's actual owners: reviewing a proposed change (synthetic input, ownership contract, recovery behavior and a tempting failure) and organizing a task editor (functional cohesion, a public interface and shared ownership without merging client/server or platform boundaries).
  • One decision needing a worked check, reading only that method: foundations, subtraction, simplification, reader load, coherent redesign, structural prevention, domain structure, repeated failure, alternatives or API retirement.

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.