rust-router

Installation
Summary

Router for Rust questions, errors, and design patterns across ownership, async, and domain-specific architectures.

  • Routes all Rust queries through a three-layer cognitive framework: language mechanics (ownership, borrowing, lifetimes), design choices (patterns, performance, error handling), and domain constraints (web, fintech, embedded, CLI)
  • Automatically triggers negotiation mode for comparative queries ("vs", "best practice", "compare") and dual-skill loading when domain keywords combine with technical errors
  • Includes error code routing table (E0382, E0597, E0277, etc.) that maps compiler errors directly to relevant skills, plus keyword conflict resolution for ambiguous terms like "unsafe" and "tokio"
  • Enforces Rust 1.85+ with 2024 edition and strict linting (clippy pedantic, unsafe_code warn) as default project settings
SKILL.md

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?"
Related skills

More from zhanghandong/rust-skills

Installs
634
GitHub Stars
1.1K
First Seen
Jan 20, 2026