rust-sdlc

Guide Rust projects through Cargo initialization, error handling, Tokio, testing, and CI/CD.

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/devendrapratapsingh/bizbuddy-ai-agent --skill rust-sdlc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-sdlc
Source: https://github.com/devendrapratapsingh/bizbuddy-ai-agent/tree/main/.claude/skills/rust-sdlc
Command: npx skills add https://github.com/devendrapratapsingh/bizbuddy-ai-agent --skill rust-sdlc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and tools for the entire Rust Software Development Lifecycle, ensuring robust, safe, and performant code from inception to deployment.

Core Features & Use Cases

  • Project Setup & Management: Initialize new Rust projects using Cargo, manage dependencies, and configure workspaces.
  • Memory Safety & Error Handling: Implement idiomatic Rust patterns for ownership, borrowing, lifetimes, and robust error management with thiserror and anyhow.
  • Asynchronous Programming: Leverage Tokio for concurrent operations, spawning tasks, and managing asynchronous workflows.
  • Testing & Quality: Write unit, integration, and benchmark tests, and integrate mocking with mockall.
  • Web Development: Build web services using popular frameworks like Axum and Actix Web.
  • Database Integration: Utilize SQLx for compile-time checked SQL queries.
  • CI/CD & Deployment: Set up CI pipelines with GitHub Actions, manage pre-commit hooks, and create efficient Docker images.
  • Cross-Compilation: Target various platforms using tools like cross.

Quick Start

Use the rust-sdlc skill to create a new Rust binary project named 'my_app'.

Frequently Asked Questions about rust-sdlc

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

FAQPage Schema
How do I structure a production-ready Rust application using Cargo, Tokio, and SQLx?

To structure a production-ready Rust application, initialize a Cargo workspace, implement async logic with Tokio, and integrate SQLx for compile-time checked database queries, ensuring safe and performant code.

What is the best way to handle errors in a Rust web service using Axum?

The best way to handle errors in a Rust web service is using idiomatic patterns with `thiserror` for custom library errors and `anyhow` for application-level error management, ensuring robust and safe error propagation.

How do I set up a CI/CD pipeline for a Rust project with GitHub Actions?

To set up a CI/CD pipeline for a Rust project, configure GitHub Actions to run Cargo tests, enforce pre-commit hooks, and build efficient Docker images for streamlined deployment and continuous integration.

Does the Rust development lifecycle support cross-compilation to multiple platforms?

Yes, the Rust development lifecycle supports cross-compilation to various platforms by utilizing the `cross` tool, allowing you to target different environments efficiently from a single codebase.

How do I test asynchronous Tokio code and mock database interactions in Rust?

To test asynchronous Tokio code and mock database interactions in Rust, write unit and integration tests using Cargo's built-in framework and integrate mocking capabilities with `mockall` to validate async workflows.

Can I use Actix Web instead of Axum for building web services in Rust?

Yes, you can use Actix Web instead of Axum for building web services in Rust; both frameworks are supported for developing performant, concurrent web applications within the complete Rust Software Development Lifecycle.