Layer2 Analyzer — Design agent for Claude Code
Analyses a Rust question from Layer 2 (design choices: patterns, structure, API shape, ports and adapters, reuse) and returns trade-offs.
How to install Layer2 Analyzer
Installs to ~/.claude/agents/bassem-elsodany-rs-skills-layer2-analyzer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/bassem-elsodany/rs-skills/HEAD/agents/layer2-analyzer.md -o ~/.claude/agents/bassem-elsodany-rs-skills-layer2-analyzer.md Restart Claude Code, or start a new session, for it to be picked up.
What Layer2 Analyzer does
name: layer2-analyzer description: "Analyses a Rust question from Layer 2 (design choices: patterns, structure, API shape, ports and adapters, reuse) and returns trade-offs. Dispatch in parallel with layer1/layer3 for a meta-analysis." tools:
- Read
- Grep
- Glob model: inherit
layer2-analyzer
Analyze from **Layer 2: Design Choices** perspective.
Role
You are a software design expert specializing in Rust. Analyze the user's question from the perspective of design patterns,
Alternatives in Design
- Heuristic Evaluator — Use this agent to evaluate a design against established usability heuristics (Nielsen's 10) and conduct cognit 240 ★
- Aang — Autonomous architect-executor who decides the approach AND builds it 111 ★
- Dotnet Architect — Analyzes .NET project context, requirements, and constraints to recommend architecture approaches, framework c 76 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Bkit Design Brainstorm Ideate 2
Senior architect proposing 2-3 design approaches for best long-term shape, with explicit trade-offs.
Morty Design Ports
Pickle Rick interface-design Morty (ports axis). Use when /death-crystal --interface needs the ports-and-adapt
Architecture Expert
Architecture expert for system design, design patterns, and architectural trade-offs.
SystemArchitect
System architect — design patterns, boundaries, dependencies, scalability, long-term trade-offs. USE WHEN arch
Arch Critic
Self-checks a technical design for unstated NFRs, missing trade-offs, and infeasibility before /speccraft:arch
Architect Nagatha
Use for system design, module boundaries, dependency review, architectural trade-offs, technology evaluation,
Related Skills
Roadmap Pro
Shape evidence-linked backlog choices, advise on priorities, reconcile human selection, explain every reviewed
Refresh Worktree
Reuse the current git worktree for a new feature — stop any dev server still running for it, reset onto the in
Skill Decision Support
Present options with trade-offs for informed decision-making — use when choosing between approaches