What problem does it solve?
This Skill provides a comprehensive guide to the Sage Protocol's Rust codebase, ensuring adherence to architectural patterns, coding conventions, and build/lint requirements, thereby streamlining development and maintaining code quality.
Core Features & Use Cases
- Codebase Navigation: Understand the workspace layout and internal crate aliasing.
- Build & Lint Enforcement: Learn the mandatory commands for formatting and linting, enforced by CI.
- Coding Standards: Follow strict rules for line width, edition, MSRV, tabs, imports, and field initialization.
- Error Handling: Implement the dual-layer pattern using
thiserror and anyhow.
- Async Runtime & Serialization: Understand Tokio usage, async traits, and serialization best practices for IPC.
- Protocol & Architecture: Grasp MCP protocol details, daemon architecture, and Iced GUI patterns.
- Testing & Configuration: Learn testing strategies and configuration management.
Quick Start
Load this skill at session start for any Rust development task in the sage-protocol/sage repository.