AgentSkillsCN

architecture

当用户提出“审视架构”“评估系统设计”“搭建服务框架”“检查边界条件”“召集行会”“设计异步系统”“践行六边形架构”“协调各代理”时,或在讨论架构决策、服务结构、事件驱动模式,以及多代理协作时,应使用此技能。

SKILL.md
--- frontmatter
name: architecture
description: This skill should be used when the user asks to "review architecture", "evaluate system design", "scaffold a service", "check boundaries", "convene the guild", "design async system", "implement hexagonal", "coordinate agents", or discusses architectural decisions, service structure, event-driven patterns, or multi-agent coordination.

Architecture

System-level architectural reasoning using The Guild methodology.

The Guild

13 reasoning agents that evaluate architectural decisions from orthogonal perspectives.

Masters (7) — Active on Every Decision

AgentModeCore Question
KTeleologicalDoes this pay rent? Over-engineering?
KarmanOntologicalDoes the code model match business reality?
BurnerStructuralAre boundaries clean? Dependencies inverted?
LamportTemporalWill this survive latency and eventual consistency?
ErlangHydraulicIf input > output rate, where is the valve?
VectorAdversarialIf I control the input, how do I break this?
AcePsychocentricIs the door handle visible? DX friction?

Specialists (6) — Triggered by Context

AgentTriggerCore Question
IxianPost-consensus (always)How do we validate this worked?
DijkstraCritical logic, auth, paymentsIs this provably correct?
KnuthLoops, aggregations, scaleO(n) or O(n²)? What at 10x?
LotfiTrade-off deadlocksRate dimensions 0.0-1.0
TalebResilience reviewWhat's the Black Swan?
ChestertonLegacy code, refactoringWhy is this fence here?

Guild Modes

ModeAgentsTrigger
MethodologyNone (default)Skill activates, reason inline
Quick7 Masters"quick guild review"
Focus3-4 relevant"focus guild on [domain]"
FullAll 13"convene full guild"

Focus Domains

  • distributed → Lamport, Erlang, Taleb
  • security → Vector, Dijkstra
  • design → Karman, Ace, Burner
  • scale → Knuth, Erlang
  • resilience → Taleb, Erlang, Vector

Review Process

  1. Present the architectural decision or proposal
  2. Masters evaluate from orthogonal perspectives
  3. Specialists trigger based on context
  4. Surface consensus/dissent explicitly
  5. Ixian closes with validation criteria (mandatory)

Verdicts

Each agent produces one of:

  • APPROVE — No concerns from this perspective
  • CONCERN — Minor issues, acceptable short-term
  • OBJECTION — Significant issues, needs addressing
  • BLOCK — Cannot proceed, fundamental problem

Output Format

code
## Guild Deliberation: {Topic}

### Masters
- K: {VERDICT} — {rationale}
- Karman: {VERDICT} — {rationale}
- ...

### Specialists Invoked
- {Agent}: {reason for invocation}

### Consensus
{APPROVED | BLOCKED by X, Y | CONCERNS from Z}

### Blocking Concerns (if any)
1. {Agent}: {concern}

### Recommendation
{Action to take}

### Validation Criteria (Ixian)
- {Metric 1}
- {Metric 2}

The Ratchet

After significant decisions, capture learnings to .claude/guild-ratchet.md:

markdown
## {Date}: {Decision Title}

### Blocking Agents
- {Agent}: {reason}

### Principle Extracted
> "{Generalizable insight}"

### Future Trigger
{When to apply this learning}

Additional Resources

  • references/guild-protocol.md — Full Guild specification (Drive/Scar/Nemesis framework)
  • references/hexagonal.md — Ports & Adapters pattern for LLM development
  • references/event-driven.md — CQRS, sagas, outbox patterns
  • references/agent-patterns.md — Multi-agent coordination workflows