dev-rust-engineer

Organize Rust modules and scaffold tests for Cargo projects.

2|1|Updated Sep 11, 2025
One-click install
npx skills add https://github.com/ThiagoGuislotti/copilot-instructions --skill dev-rust-engineer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-rust-engineer
Source: https://github.com/ThiagoGuislotti/copilot-instructions/tree/main/.codex/skills/dev-rust-engineer
Command: npx skills add https://github.com/ThiagoGuislotti/copilot-instructions --skill dev-rust-engineer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates and standardizes the organization, implementation, and testing of Rust modules to ensure consistent project structure, reliable test discovery, and comprehensive error coverage.

Core Features & Use Cases

  • Standardized Rust module layout and Cargo project organization.
  • Enforced test discovery and error-test coverage for refactors and new modules.
  • Quick adoption for tasks involving Cargo crates, module restructuring, and test creation or fixes.

Quick Start

Organize Rust crates and tests following the repository's module structure rules to ensure green builds and thorough test coverage.

Frequently Asked Questions about dev-rust-engineer

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

FAQPage Schema
How do I organize Rust modules in a Cargo project for reliable test discovery?

Standardize your Cargo project layout and apply explicit test scaffolding patterns to guarantee consistent module structure and reliable test discovery across your Rust codebase.

What is the best way to restructure Rust code while maintaining error test coverage?

Restructure Rust code by applying an end-to-end workflow that includes mandatory error handling behavior checks and explicit error test coverage to ensure refactors do not break existing tests.

How do I scaffold tests for new Rust modules in a Cargo crate?

Scaffold tests for new Rust modules by implementing test creation patterns that satisfy mandatory discoverable test requirements, ensuring comprehensive error coverage and green builds.

Does this Rust module organization approach work with existing Cargo crates?

Yes, the module organization and test scaffolding workflow applies directly to tasks involving existing Cargo crates, module restructuring, and test creation or fixes without requiring a new project.

Why are my Rust module tests not being discovered by Cargo?

Rust module tests fail discovery when the project lacks the prescribed module organization patterns; enforcing standardized crate structure and explicit test scaffolding resolves discoverability issues.