# Rust Practice Playbook

> A production-ready playbook for debugging, building, and shipping Rust applications on Windows.

Rust Practice Playbook is a paid AI agent skill on Agensi by rr, in Prompt & Skill Engineering. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [rr](https://www.agensi.io/creators/11rr)
- Category: [Prompt & Skill Engineering](https://www.agensi.io/skills/prompt-skill-engineering)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/rust-practice-playbook
- Tags: prompt-engineering, code-review, api, rust, windows, win32, compilers

## About this skill

Rust development on Windows is a minefield of linker errors, DPI scaling issues, and silent FFI failures. This skill provides a specialized knowledge base derived from real-world shipped projects to prevent common Rust pitfalls. It focuses on the transition from code that compiles to code that actually works in production environments.

### What it does
- **Fixes toolchain failures** by addressing specific issues with `dlltool`, `libgcc`, and MSVC linkers.
- **Audits AI-generated code** using a specialized checklist to catch version hallucinations and improper use of `.clone()`.
- **Debugs Windows GUI issues** specifically for `egui` and native Win32 API interactions including DPI scaling.
- **Resolves runtime crashes** in complex domains like Media Foundation audio, async deadlocks, and FFI encoding.
- **Enforces shipping discipline** through self-test modes and packaging verification scripts.

### How it works
1. **Identify the failure mode** by mapping symptoms to specific categories like `compile-errors` or `runtime-bugs`.
2. **Review the rules** to verify if logic follows established safety patterns for path normalization and slice handling.
3. **Execute the AI-assisted workflow** by following strict constraints on error reporting and architectural review.
4. **Run the verification checklist** to confirm the binary is ready for distribution on Windows.

### Frameworks & tools
Targeted at `x86_64-pc-windows-gnu` and LLVM-MinGW toolchains. Includes support for `egui`, `eframe`, Win32 API, Media Foundation, and Cargo.

### Why this beats prompting it yourself
Generic LLMs often suggest `Rc<RefCell<T>>` or `.clone()` as a quick fix for borrow errors, leading to poor design. This skill enforces a "design-first" approach and contains specific fixes for Windows-only linker and DPI bugs that general training data frequently misses.

### Use cases
- Debugging a "Finished release" build that fails to launch on a clean Windows install.
- Reviewing AI-written Rust to ensure it handles `unsafe` blocks and FFI signatures correctly.
- Implementing native Windows features like system trays or hotkeys with zero extra dependencies.
- Fixing audio/video sync issues in Media Foundation implementations.

### Known limitations
Focuses strictly on Windows platforms and GNU/MinGW toolchains. Does not cover Linux or macOS specific deployment issues.

## Requires

- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Rust Practice Playbook skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this playbook differ from just asking a standard AI for Rust help?

This skill addresses Windows-specific hurdles like MSVC/MinGW linker errors, DPI scaling bugs in GUIs, and Media Foundation audio crashes that standard AI models often misdiagnose.

### Which specific Rust toolchains and targets does this skill support?

The playbook is optimized for the x86_64-pc-windows-gnu target and LLVM-MinGW toolchains, making it ideal for developers who need to ship standalone .exe files without heavy MSVC dependencies.

### What exactly is included in the purchase of the Rust Practice Playbook?

You receive a specialized knowledge base and a structured workflow that guides your AI agent through debugging, code auditing for safety, and final packaging verification.

### Can I use this skill to review and fix code originally generated by other AI tools?

Yes, it includes a specialized audit checklist designed to catch common AI hallucinations, such as non-existent crate versions or excessive use of .clone() to bypass the borrow checker.

### Does this skill provide support for cross-platform deployment to Linux or macOS?

No, this skill is purpose-built for the Windows ecosystem; it does not contain logic for resolving Linux-specific dependencies or macOS-specific code signing and notarization.

### How do I get started with the playbook after purchase?

Once imported into your compatible AI agent or IDE extension, you can immediately begin using the 'Identify failure mode' workflow to troubleshoot existing compiler or runtime errors.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
