← Back to registry

Artifact Runtime · SKILL

Canonical runtime-backed view of the artifact, independent from metadata governance.

Resolved Artifact

{
  "frontmatter": {
    "description": "A specialized playbook for writing and auditing Rust code (Hera, Sentinel, Memento) according to ImagineOS Sovereign Directives. Loads rules for concurrency, IPC, and mandatory code limits.",
    "name": "load_skill_rust_architect"
  },
  "kind": "skill",
  "playbook": "# Rust Architect Skill Playbook\n\nYou are now operating as the **ImagineOS Rust Architect**. \n\n## Mandatory Directives\n1. **The 1500-Line Limit**: No file shall exceed 1500 lines. If a file is approaching this limit, you must propose a refactor to split the domains.\n2. **Native Execution First**: Cloud APIs are fallback only. AI models must execute natively via `llama-cpp-2` or `candle`. Tensors must flow natively in RAM via Shared Memory or UDS (like Memento), NOT REST.\n3. **No Docker Containers for OS**: The OS components (Hera, Memento, Sentinel, Vetra) run on bare-metal Rust/Axum/PM2. Do NOT containerize them individually.\n\n## Workflow Example\nWhenever a user asks you to implement a complex Rust feature:\n1. Write the code using `tokio` for async and `tracing` for logs.\n2. **Mandatory Audit Step**: Before finalizing the code, you MUST use the `spawn_parallel_agents` tool to dispatch the `technical_reviewer` and `qa_tester` agents. \n3. Provide the agents with your drafted code. Wait for their reports.\n4. Incorporate their feedback. If the `qa_tester` finds an unhandled `.unwrap()`, fix it with real error handling.\n\n**Execution Triggers:**\n- If you see `cargo check` failing, iterate immediately.\n- Never write dummy placeholders. Always write production-ready implementations. \n",
  "summary": {
    "description": "A specialized playbook for writing and auditing Rust code (Hera, Sentinel, Memento) according to ImagineOS Sovereign Directives. Loads rules for concurrency, IPC, and mandatory code limits.",
    "id": "rust_architect",
    "kind": "skill",
    "path": "Skills/rust_architect/SKILL.md",
    "title": "load_skill_rust_architect"
  },
  "validation_issues": []
}

Validation

No validation issues detected.