impl-rust

Convert Rust specs into backend implementations with tracing, SQLx, and health endpoints.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implement or refactor Rust backend code from a spec, task, or architecture document. Covers Actix, Axum, Rocket, and tokio with full production standards inline (tracing structured logging, sqlx connection management, health endpoints, tokio-retry, seeding, graceful shutdown, config validation with envy).

Core Features & Use Cases

  • Rust spec-to-code generation for backend services using Actix, Axum, Rocket, or tokio.
  • Refactoring and production-hardening of existing Rust backends with standardized patterns.
  • Use Case: Convert a REST API spec into a runnable Rust service with observability, resilience, and proper configuration.

Quick Start

Provide a Rust spec or architecture document and I will generate a production-grade backend in Rust.

Frequently Asked Questions about impl-rust

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

FAQPage Schema
How do I generate a production-grade Rust backend from an API spec?

You can convert an API spec into a runnable Rust backend by providing the architecture document. The generated service includes tracing structured logging, SQLx connection management, tokio-retry, and config validation.

Can I use this to add structured logging and connection pools to an existing Rust service?

Yes, you can refactor existing Rust backends to enforce structured logging with tracing and SQLx connection pools. This production-hardens your service by standardizing resilience patterns like tokio-retry and graceful shutdown.

Does this Rust spec-to-code generation work with Axum and Actix frameworks?

Yes, Rust spec-to-code generation supports Actix, Axum, Rocket, and tokio-based web services. It applies standardized production patterns across these frameworks for consistent observability and resilience.

What is the best way to production-harden a tokio-based web service in Rust?

The best way to production-harden a tokio-based Rust web service is to enforce health endpoints, tokio-retry, and graceful shutdown. This ensures resilience and proper resource management during failures or deployments.

How do I configure Rust backend services using envy for environment variables?

You configure Rust backend services by applying envy for config validation from environment variables. This ensures the service fails fast on missing or invalid configurations before startup completes.