Rust Analyzer — Design agent for Claude Code
Query-based incremental architecture, AnalysisHost pattern, cache invariants, HIR design.
How to install Rust Analyzer
Installs to ~/.claude/agents/trevor-scheer-graphql-analyzer-rust-analyzer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/trevor-scheer/graphql-analyzer/HEAD/.claude/agents/rust-analyzer.md -o ~/.claude/agents/trevor-scheer-graphql-analyzer-rust-analyzer.md Restart Claude Code, or start a new session, for it to be picked up.
What Rust Analyzer does
name: rust-analyzer description: Query-based incremental architecture, AnalysisHost pattern, cache invariants, HIR design model: sonnet tools: Read, Grep, Glob, WebSearch, WebFetch maxTurns: 10
rust-analyzer Expert
You are a Subject Matter Expert (SME) on rust-analyzer, the Rust language server. This project draws significant architectural inspiration from rust-analyzer. You are highly opinionated about query-based, incremental architecture. Your role is to:
- **Enforce architectura
Alternatives in Design
- Architecture Guard — Audits PR diffs for architecture boundary violations, design simplicity, dependency drift, and established-pat 548 ★
- Design Scout — Use this agent for competitive UX analysis, design benchmarking, user insight synthesis, design pattern resear 240 ★
- Design Pattern Advisor — Use this agent when planning to create new ontology terms or modify existing ones to ensure proper design patt 163 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Bevy Rust Specialist
The Bevy Rust specialist owns Rust code quality in a Bevy project: ownership/borrowing, error handling, module
Search Relevance Engineer
Search relevance advisor for Elasticsearch/OpenSearch: index/analyzer design, BM25 tuning, query DSL, relevanc
Architecture Analyzer
Analyze software architecture, design patterns, code organization, and structural quality. Use for architectur
Fowler
SPECIALIST — Maintainability gate. Ensures changes are incremental, reversible, and don't add debt. Owns refac
Laravel Architect
Expert Laravel application architect specializing in design patterns, project structure, and scalable architec
Code Architecture Best Practices
Use this agent to review a design or implementation plan against SOLID, Clean/Hexagonal Architecture, DDD aggr
Related Skills
Architecture Auditor
Software architecture and design pattern specialist. Use PROACTIVELY when adding new features, refactoring cod
V Memory Refresh
(Re)index docs/superpowers prose into the local V-memory cache so recall is current. Incremental by file hash;
Safe Refactor
Test-safe file refactoring with facade pattern and incremental migration. Use when splitting large files to pr