ordo_rust_architecture

Guides building, repairing, and reviewing Rust crates in Ordo Cargo workspaces.

Updated Aug 10, 2026
One-click install
npx skills add https://github.com/Rekonquest/ordo-pro --skill ordo-rust-architecture-rekonquest
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ordo_rust_architecture
Source: https://github.com/Rekonquest/ordo-pro/tree/main/default-user-files/skills/ordo_rust_architecture
Command: npx skills add https://github.com/Rekonquest/ordo-pro --skill ordo-rust-architecture-rekonquest

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Rust changes in large Cargo workspaces often land in the wrong crate, break architectural boundaries, or pass with lingering warnings. This Skill enforces Ordo's crate ownership rules, dependency discipline, and verification gates so fixes address root causes instead of symptoms. ## Core Features & Use Cases - Crate Boundary Enforcement: Maps behavior to the correct owning crate (protocol, bus, runtime, MCP, plugins, jobs, memory/RAG, security, transport, Tauri backend) and keeps contracts in shared lower crates. - Dependency and Error Rules: Requires workspace dependency versions, minimal feature flags, typed actionable errors, and no hidden side effects or duplicate UI surfaces. - Verification Gates: Mandates cargo check, test, and clippy per crate or workspace, plus npm Tauri checks for Ordo Studio, with zero-warning completion criteria. - Use Case: When asked to fix a compile error in an Ordo provider crate, the Skill identifies the owning crate, repairs the root cause, adds regression tests, and runs the appropriate cargo gates before reporting. ## Quick Start Ask the assistant to fix the clippy warnings in the Ordo MCP client crate and verify the change with the proper cargo gates.

Frequently Asked Questions about ordo_rust_architecture

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

FAQPage Schema
How do I fix Rust compile errors in a Cargo workspace correctly?▼

Identify the crate that owns the failing behavior, fix the root cause rather than the symptom, and preserve existing crate boundaries. Then verify with cargo check, cargo test, and cargo clippy scoped to that crate, broadening to workspace gates if shared contracts changed.

How should I add a new dependency to a Rust workspace crate?▼

Prefer versions already declared in workspace dependencies, use minimal feature flags, and avoid broad default features. Evaluate security impact, build cost, cross-platform support, and whether an existing workspace crate already covers the need before adding anything.

Which crate should own new behavior in a multi-crate Rust project?▼

The crate that owns the concept owns the behavior: shared wire types go in protocol crates, orchestration in runtime, provider calls in cloud crates, and MCP concerns in MCP crates. Cross-crate behavior gets its contract in the lower shared crate.

Does this approach apply to Tauri backend code in desktop apps?▼

Yes, Tauri backend code follows the same crate boundary rules, exposing commands and data bridges to the frontend WebView. It should never create a second Rust UI window, and verification includes npm build and Tauri check scripts.

When should this Rust architecture skill not be used?▼

Do not activate it for pure UI styling, research-only tasks, document editing, or ordinary chat where no Rust architecture is involved. It is intended for coding and research modes working on Rust codebases.