agent-architect
Skill1 starsChanged 4 months agoMITView on GitHub
Provide architecture guardrails for non-trivial feature work, refactors, integrations, and structural changes. Use proactively before generating or reviewing code that may introduce boundaries, dependencies, state, lifecycles, abstractions, concurrency, or evolution costs. Resolve the user's backward-compatibility intent and obtain consent for the proposed architecture before implementation, then choose the smallest justified design and make validation and remaining risks explicit.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- anyaa-labs/agent-skillstheir own version, first seen Sep 8, 2026
- InnovationMachineTeam/skillstheir own version, first seen Aug 1, 2026
- ryankolean/summit-claude-skillstheir own version, first seen Apr 17, 2026
- Dimks777/aiclubtheir own version, first seen Apr 3, 2026
- nihao555-hub/claude-code-agent-skillstheir own version, first seen Apr 1, 2026
- ChewbaccaRoars/pathfinder-skillstheir own version, first seen Mar 22, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- nihao555-hub/claude-code-agent-skills★ 4same name
- ryankolean/summit-claude-skills★ 4same name
- anyaa-labs/agent-skills★ 2same name
- ChewbaccaRoars/pathfinder-skills★ 2same name
- InnovationMachineTeam/skills★ 1same name
- Dimks777/aiclub★ 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 repository4 other files it gives its agents.
- find-skillsSkill
- pdfSkill
- prompt-engineeringSkill
- sdk-documentSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. 0 are common, 15 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Read references/decision-protocol.md before asking the user anything.
- Very specific: line 15
After Gate 0 is resolved, follow every remaining applicable gate in references/decision-protocol.md.
- Very specific: line 16
Read references/source-article.md before the first design decision.
- Very specific: line 17
Read the relevant entries in references/gof-patterns.md before choosing, rejecting, implementing, or reviewing a GoF pattern.
- Distinctive: line 19
Prefer the smallest design that isolates the proven change.
- Distinctive: line 26
Do not begin by generating structure or choosing a pattern by resemblance.
- Distinctive: line 27
Do not inspect the repository, select an architecture, or propose implementation details before resolving the user's compatibility intent …
- Distinctive: line 28
Do not assume backward compatibility merely because a system may be in production, and do not assume a breaking redesign is acceptable …
- Distinctive: line 29
Treat compatibility as a scoped contract.
- Distinctive: line 30
Do not impose English or any other fixed language on user-facing questions, proposals, or reports.
- Distinctive: line 31
Do not implement an architecture that the user has not approved, except when the user has explicitly authorized a default approval policy …
- Distinctive: line 32
Do not introduce an interface, factory, wrapper, event, inheritance hierarchy, global object, or framework layer without naming the …
- Distinctive: line 33
Do not claim a pattern is appropriate because its class diagram resembles the code.
- Distinctive: line 34
Do not use a pattern merely because a framework uses it internally.
- Distinctive: line 35
Do not convert uncertainty into speculative abstraction.
- Distinctive: line 36
Do not call an event an asynchronous solution.
- Distinctive: line 37
Do not use Singleton to avoid dependency injection.
- Distinctive: line 38
Do not use inheritance when composition, a callback, or a direct function makes the variation clearer and safer.
- Distinctive: line 39
Do not present an unverified refactor as complete.
“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
Agent Architect
Design for the next verified change, not for a pattern name. Treat patterns as tools for managing observed or strongly evidenced variation - not as decorations.
Mandatory operating protocol
- Classify the request only far enough to determine whether this skill applies. Do not inspect the repository or begin architecture analysis during this classification.
- Read
references/decision-protocol.mdbefore asking the user anything. At this point, use only Gate 0; do not inspect the repository or make a design decision. - Apply Gate 0 and receive the user's compatibility intent before repository inspection, architecture analysis, pattern selection, or implementation planning for any task that may affect behavior, contracts, data, configuration, integrations, or extension points.
- After Gate 0 is resolved, follow every remaining applicable gate in
references/decision-protocol.md; do not skip a gate because the answer appears obvious. - Read
references/source-article.mdbefore the first design decision. It is the complete English source article and primary reference for the skill. - Read the relevant entries in
references/gof-patterns.mdbefore choosing, rejecting, implementing, or reviewing a GoF pattern. Read all candidate entries when candidates are easily confused. - Inspect the repository only after the compatibility-intent gate is resolved. Identify callers, current tests, error paths, ownership, state, framework conventions, and existing abstractions.
- Prefer the smallest design that isolates the proven change. A direct implementation is a valid and often preferred result.
- Present the bounded architecture proposal and apply the architecture-consent gate before implementation.
- Implement only after recording the decision evidence required by the protocol. Preserve or add tests before behavior-preserving refactors.
- Re-run focused validation, then review cross-module compatibility, lifecycle, concurrency, observability, and rollback implications.
Non-negotiable rules
- Do not begin by generating structure or choosing a pattern by resemblance. First identify what changes independently and what remains stable.
- Do not inspect the repository, select an architecture, or propose implementation details before resolving the user's compatibility intent when the task can affect an existing contract or behavior.
- Do not assume backward compatibility merely because a system may be in production, and do not assume a breaking redesign is acceptable merely because the repository appears unfinished.
- Treat compatibility as a scoped contract. Name the preserved and intentionally changed behaviors; do not merely state that a design is compatible.
- Do not impose English or any other fixed language on user-facing questions, proposals, or reports. Use the user's current interaction language unless the user explicitly requests a different language.
- Do not implement an architecture that the user has not approved, except when the user has explicitly authorized a default approval policy or has validly advanced the presented proposal to implementation.
- Do not introduce an interface, factory, wrapper, event, inheritance hierarchy, global object, or framework layer without naming the concrete variation it isolates and the cost it adds.
- Do not claim a pattern is appropriate because its class diagram resembles the code. Decide by intent, collaborators, lifecycle, and failure modes.
- Do not use a pattern merely because a framework uses it internally. Follow the framework's extension mechanisms rather than reproducing its internal architecture.
- Do not convert uncertainty into speculative abstraction. If variation is not evidenced, retain the simpler design and state the trigger that would justify extraction later.
- Do not call an event an asynchronous solution. Define transaction boundaries, delivery guarantees, ordering, retries, idempotency, and consistency separately.
- Do not use Singleton to avoid dependency injection. Prefer explicit dependencies and container-managed lifetimes.
- Do not use inheritance when composition, a callback, or a direct function makes the variation clearer and safer.
- Do not present an unverified refactor as complete. Report the exact validation performed and the remaining risk.
Required design record
For any non-trivial design, optimization, or refactor, include this record in the response or design artifact before implementation:
## Compatibility intent and consent
- User-selected compatibility intent and evidence:
- Preserved contracts and behavior:
- Explicitly breakable contracts and behavior:
- Compatibility mechanism, owner, retirement condition, and rollback boundary:
- Architecture approval status and user feedback:
## Design diagnosis
- Objective and non-goals:
- Observed evidence and affected callers:
- Stable core:
- Independent variation points:
- Current smells or failure modes:
- Constraints: compatibility, lifecycle, transactions, concurrency, performance, framework rules:
## Alternatives
- Smallest direct design:
- Candidate patterns and the variation each isolates:
- Adjacent patterns rejected, with reasons:
- Added structure and ongoing cost:
## Decision
- Chosen design (or justified decision to use no pattern):
- Public API and dependency-direction impact:
- Migration and rollback plan, if relevant:
## Verification
- Existing tests preserved:
- New normal, boundary, failure, and integration cases:
- Cross-module and operational checks:
- Remaining uncertainty or risk:Reference map
references/source-article.md: Complete English source article for the ten-pattern framing, examples, misuse warnings, framework mappings, and bibliography.references/gof-patterns.md: Teaching catalog for all 23 Gang of Four patterns. Each entry explains intent, problem, structure, collaboration, trade-offs, neighboring patterns, misuse, and verification.references/decision-protocol.md: Binding compatibility-intent and architecture-consent gates, diagnostic questions, selection matrix, refactoring sequence, review gates, and anti-pattern controls.
Completion standard
Finish only when the selected design is justified against a simpler alternative, the compatibility contract and architecture consent are recorded, adjacent patterns are ruled in or out by intent, behavior is verified at the appropriate boundary, and no new abstraction lacks a named variation point.
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.

