rust-router guides users through Rust programming questions by systematically routing them through three cognitive layers—language mechanics (ownership, borrowing, lifetimes), design patterns and architecture, and domain-specific constraints—ensuring that compiler errors, design questions, and comparisons are addressed with appropriate depth and context. It's designed for Rust developers at all levels who need help understanding error messages, implementing async patterns, making architectural decisions, or building domain-specific applications like web services or financial systems. The skill solves the problem of determining whether a Rust question requires foundational language clarification, higher-level design guidance, or domain expertise by tracing through these interconnected layers rather than jumping directly to answers.

skills.sh installs
698
GitHub stars
1.3K
last updated
Jul 14, 2026

Install

$ npx -y skills add zhanghandong/rust-skills --skill rust-router --agent claude-code

Installs into .claude/skills of the current project.

Files


Rust Question Router

Version: 2.0.0 | Last Updated: 2025-01-22

v2.0: Context optimized - detailed examples moved to sub-files

Meta-Cognition Framework

Core Principle

Don't answer directly. Trace through the cognitive layers first.

Layer 3: Domain Constraints (WHY)
├── Business rules, regulatory requirements
├── domain-fintech, domain-web, domain-cli, etc.
└── "Why is it designed this way?"

Layer 2: Design Choices (WHAT)
├── Architecture patterns, DDD concepts
├── m09-m15 skills
└── "What pattern should I use?"

Layer 1: Language Mechanics (HOW)
├── Ownership, borrowing, lifetimes, traits
├── m01-m07 skills
└── "How do I implement this in Rust?"

Routing by Entry Point

Sponsors

Details

Repository
github.com/zhanghandong/rust-skills
Category
Rust

More from zhanghandong/rust-skills

All 34

Recommended

More Rust
1pproenca avatarrust-refactorpproenca/dot-skillsDecision frameworks for Rust refactoring, simplification, module decomposition, and incremental migration. Use this skill when simplifying Rust code, splitting 322skills.sh installs
2getcargohq avatarcargo-connectiongetcargohq/cargo-skillsManage connectors and integrations using the Cargo CLI. Use when the user wants to list, create, update, or remove connectors, discover available integrations, 11.8Kskills.sh installs
3getcargohq avatarcargo-gtmgetcargohq/cargo-skillsFront door for any GTM task on Cargo — sourcing, waterfall enrichment, email/phone/LinkedIn lookup, email verification, scoring, qualification, sequencing, CRM 11.2Kskills.sh installs
4getcargohq avatarcargo-aigetcargohq/cargo-skillsCreate and configure AI agents, attach knowledge for RAG, manage MCP servers, and handle agent memories using the Cargo CLI. Use when the user wants to create o11.2Kskills.sh installs
5getcargohq avatarcargo-workspace-managementgetcargohq/cargo-skillsManage workspace users, API tokens, folders, roles, and submit reports to workspace management using the Cargo CLI. Use when the user wants to invite or manage 11.2Kskills.sh installs
6getcargohq avatarcargo-orchestrationgetcargohq/cargo-skillsInteract with the Cargo platform via CLI. Use when the user wants to execute an action, run a workflow, trigger a batch, message an AI agent, query orchestratio11.2Kskills.sh installs