rust-architect — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited rust-architect (Plugin) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A comprehensive Claude Code skill for architecting production-ready Rust applications with complete documentation, ADRs, guardrails, and handoff materials.
This project is adapted from [elixir-architect](https://github.com/maxim-ist/elixir-architect) and generated by Claude Code.
Rust Architect is a Claude Code skill that acts as an expert system architect, creating comprehensive project documentation packages that enable Director and Implementor AI agents to successfully build complex Rust systems following industry best practices.
This skill creates:
Automatically launches Task agents to research:
Generates 20+ documentation files including:
Special handling for:
# In Claude Code, run:
/plugin install github.com/nanlong/rust-architectThe skill will be automatically available as rust-architect.
# Clone the repository
git clone https://github.com/nanlong/rust-architect.git
# Copy skill to Claude Code skills directory
mkdir -p ~/.claude/skills
cp -r rust-architect/skills/rust-architect ~/.claude/skills/To verify the skill is installed:
# In Claude Code
/skills listYou should see rust-architect in the list.
# In Claude Code
/skills rust-architectOr simply describe your need:
I need to architect a web service using Rust, axum, and sqlx with
complete documentation for Director and Implementor AI collaborationClaude will automatically invoke the skill if appropriate.
The skill gathers requirements through these questions:
User: Create architecture docs for a REST API service at /Users/me/projects/api_server
Claude: [Invokes rust-architect skill]
Skill: I'll help architect your REST API service. Let me gather some details:
1. Confirm tech stack: Rust 1.75+, tokio 1.35+, axum 0.7+, sqlx 0.7+?
2. Structure: Multi-crate workspace with separate api/core/db crates?
3. Special requirements:
- Authentication needed? (JWT, sessions)
- Expected requests per second?
- Real-time features (WebSockets)?
4. Will you use Director/Implementor AI workflow?
[After answering questions, skill launches expert Task agents]
Skill: Researching REST API patterns in Rust...
Analyzing axum middleware and state management...
Studying Rust workspace organization...
[Creates complete documentation package]
Skill: ✅ Project architecture complete!
Created 23 files at /Users/me/projects/api_server:
- Foundation docs (README, CLAUDE.md)
- 5 guardrail documents
- 8 architecture documents
- 4 Architecture Decision Records
- Handoff documentation
Ready for Director AI to create first feature design!The skill generates this structure at your specified location:
project_root/
├── README.md # Project overview
├── CLAUDE.md # Complete AI agent context
├── docs/
│ ├── HANDOFF.md # Director/Implementor workflow
│ ├── architecture/ # 8 comprehensive architecture docs
│ │ ├── 00_SYSTEM_OVERVIEW.md
│ │ ├── 01_DOMAIN_MODEL.md
│ │ ├── 02_DATA_LAYER.md
│ │ ├── 03_CORE_LOGIC.md
│ │ ├── 04_BOUNDARIES.md
│ │ ├── 05_CONCURRENCY.md
│ │ ├── 06_ASYNC_PATTERNS.md
│ │ └── 07_INTEGRATION_PATTERNS.md
│ ├── design/ # Empty - Director fills during features
│ ├── plans/ # Empty - Director creates Superpowers plans
│ ├── api/ # Empty - Director documents APIs
│ ├── decisions/ # Architecture Decision Records
│ │ ├── ADR-001-framework-choice.md
│ │ ├── ADR-002-error-strategy.md
│ │ ├── ADR-003-ownership-patterns.md
│ │ └── [domain-specific ADRs]
│ └── guardrails/ # AI collaboration rules
│ ├── NEVER_DO.md # Critical prohibitions (15 items)
│ ├── ALWAYS_DO.md # Mandatory practices (25 items)
│ ├── DIRECTOR_ROLE.md # Architect AI role definition
│ ├── IMPLEMENTOR_ROLE.md # Coder AI role definition
│ └── CODE_REVIEW_CHECKLIST.md15 critical prohibitions with code examples:
25 mandatory practices across:
Each of the 8 architecture files includes:
Each ADR documents:
Perfect for:
Special handling:
Perfect for:
Special handling:
Perfect for:
Special handling:
One of the unique features of this skill is creating documentation that enables a two-AI workflow:
The generated HANDOFF.md provides complete workflow documentation with message templates and communication protocols.
The skill enforces these proven Rust principles:
The skill includes realistic performance targets in documentation:
// ✅ ALWAYS prefer borrowing
fn count_words(text: &str) -> usize {
text.split_whitespace().count()
}
// ✅ Take ownership when transforming
fn to_uppercase(mut s: String) -> String {
s.make_ascii_uppercase();
s
}// ✅ ALWAYS use Result in libraries
pub fn parse_config(path: &Path) -> Result<Config, ConfigError> {
let content = fs::read_to_string(path)?;
Ok(toml::from_str(&content)?)
}// ✅ ALWAYS use tokio::time::sleep in async
async fn delay() {
tokio::time::sleep(Duration::from_secs(1)).await;
}Contributions welcome! Please:
git checkout -b feature/amazing-improvement)git commit -m 'Add: improved ADR template')git push origin feature/amazing-improvement)This skill works well with:
A: Yes, just specify "single crate" when asked about structure. The skill adapts, though workspace organization is recommended for larger projects.
A: The skill focuses on std applications but can adapt. Specify your requirements (no_std, target platform) and the skill will adjust recommendations.
A: No, it's optional. If you answer "no" to that question, the skill still creates complete architecture docs without the AI collaboration guardrails.
A: Yes! All documentation is Markdown, fully editable. Treat the generated files as a starting point and adapt to your needs.
A: The skill is optimized for tokio + axum + sqlx but can adapt. Specify your preferences (actix-web, diesel, etc.) when asked.
A: The skill sets review schedules (typically 6 months), but review ADRs whenever:
MIT License - See LICENSE file for details.
This Rust version is adapted from [elixir-architect](https://github.com/maxim-ist/elixir-architect) by @maxim-ist.
Special thanks to the original author for creating the comprehensive architecture skill framework that inspired this Rust adaptation.
This entire skill was generated and refined by [Claude Code](https://claude.ai/claude-code), an AI-powered development assistant, including:
This skill incorporates wisdom and patterns from:
Current Version: 1.0.0
Release Date: 2025-01-13
Compatibility: Claude Code 1.0+
Built with ❤️ by the Rust community
_Adapted from elixir-architect • Generated by Claude Code_
_Creating production-ready architectures, one documentation package at a time._
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.