name: coding-guidelines description: "Use when asking about Rust code style or best practices. Keywords: naming, formatting, comment, clippy, rustfmt, lint, code style, best practice, P.NAM, G.FMT, co
阅读全文
Clippy Lint → Rule Mapping
Clippy Lint → Rule Mapping Clippy LintCategoryFix unwrap_usedErrorUse ? or expect() needless_clonePerfUse reference await_holding_lockAsyncScope guard before await linkedlistPerfUse Vec/VecDeque wildc
阅读全文
Rust Dependencies Visualizer
name: rust-deps-visualizer description: "Visualize Rust project dependencies as ASCII art. Triggers on: /deps-viz, dependency graph, show dependencies, visualize deps, 依赖图, 依赖可视化, 显示依赖"
阅读全文
Type-Driven Design
name: m05-type-driven description: "CRITICAL: Use for type-driven design. Triggers: type state, PhantomData, newtype, marker trait, builder pattern, make invalid states unrepresentable, compile-time v
阅读全文
Rust Call Graph
name: rust-call-graph description: "Visualize Rust function call graphs using LSP. Triggers on: /call-graph, call hierarchy, who calls, what calls, 调用图, 调用关系, 谁调用了, 调用了谁" argument-hint:
阅读全文
IoT Domain
name: domain-iot description: "Use when building IoT apps. Keywords: IoT, Internet of Things, sensor, MQTT, device, edge computing, telemetry, actuator, smart home, gateway, protocol, 物联网, 传感器,
阅读全文
Ecosystem Integration
name: m11-ecosystem description: "Use when integrating crates or ecosystem questions. Keywords: E0425, E0433, E0603, crate, cargo, dependency, feature flag, workspace, which crate to use, using extern
阅读全文
Workflow Examples
Workflow Examples rust-router 的工作流程示例 Example 1: Error Code with Domain Context User: "Why am I getting E0382 in my trading system?" Analysis: 1. Entry: Layer 1 (E0382 = ownership/move error)
阅读全文
Negotiation Protocol
Negotiation Protocol 比较查询和跨领域问题的处理协议 When to Enable Negotiation For complex queries requiring structured agent responses, enable negotiation mode. Query PatternEnable NegotiationReason
阅读全文
Rust Question Router
name: rust-router description: |- CRITICAL: Use for ALL Rust questions including errors, design, and coding. HIGHEST PRIORITY for: 比较, 对比, compare, vs, versus, 区别, difference, 最佳实践,
阅读全文