rust-router

Route Rust programming questions to specialized sub-skills by cognitive layer.

51|6|Updated Mar 28, 2019
One-click install
npx skills add https://github.com/Mte90/dotfiles --skill rust-router-mte90
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-router
Source: https://github.com/Mte90/dotfiles/tree/main/.config/opencode/skills/rust-router
Command: npx skills add https://github.com/Mte90/dotfiles --skill rust-router-mte90

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill acts as an intelligent router for all Rust-related queries, ensuring that questions about errors, design, and coding are directed to the most appropriate knowledge base or sub-skill for accurate and context-aware answers.

Core Features & Use Cases

  • Error Code Resolution: Maps specific Rust compiler error codes (e.g., E0382, E0597) to their explanations and solutions.
  • Design Pattern Guidance: Routes queries about architectural choices, best practices, and domain-specific design patterns in Rust.
  • Language Mechanics Explanation: Directs questions about ownership, borrowing, lifetimes, traits, and concurrency to relevant sub-skills.
  • Use Case: When a user encounters a "borrow error" or asks "how to implement async in Rust," this skill will identify the core issue and guide the AI to the correct resources for a detailed explanation and solution.

Quick Start

Use the rust-router skill to explain the E0382 error in a web API context.

Frequently Asked Questions about rust-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resolve Rust compiler errors like E0382 or E0597?

To resolve Rust compiler errors like E0382 or E0597, the system maps specific error codes to their explanations and solutions. It analyzes the error context and routes the query to specialized sub-skills for accurate, context-aware resolution.

What is the best way to understand Rust ownership and borrowing mechanics?

Understanding Rust ownership and borrowing mechanics involves directing language mechanic questions to specialized sub-skills. The router analyzes user intent and keywords to deliver detailed explanations about lifetimes, traits, and concurrency constraints.

How do I implement async programming in Rust correctly?

Implementing async programming in Rust correctly requires routing queries to domain-specific modules. The router identifies the core async issue and guides the AI to the correct resources for detailed explanations and solutions for asynchronous challenges.

Where can I find guidance on Rust design patterns and architectural choices?

Finding guidance on Rust design patterns and architectural choices involves routing queries about best practices to specialized sub-skills. It analyzes user intent to deliver context-aware answers for domain-specific architectural implementations.

Can I get domain-specific solutions for Rust concurrency challenges?

Getting domain-specific solutions for Rust concurrency challenges is supported by analyzing user intent and keywords. The router directs these questions to relevant sub-skills to handle domain constraints and provide targeted architectural solutions.

Why does my Rust borrow checker fail in a web API context?

Your Rust borrow checker fails in a web API context due to ownership and borrowing rule violations. The router identifies these core issues and guides the AI to relevant resources for detailed explanations and architectural solutions.