malky-rust-scaffolder

Generate a Rust Axum API project with migrations and tests from templates.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mmacphail/my-claude-rules --skill malky-rust-scaffolder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: malky-rust-scaffolder
Source: https://github.com/mmacphail/my-claude-rules/tree/main/malky-rust-scaffolder
Command: npx skills add https://github.com/mmacphail/my-claude-rules --skill malky-rust-scaffolder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolds a production-ready Rust Axum API project from Alexandre's personal template, saving time on setup and boilerplate.

Core Features & Use Cases

  • Generates a standalone Rust crate with Cargo.toml, main.rs, config, router, state, and example features
  • Includes a template-driven scaffold script (scaffold.py) that substitutes placeholders like APP_NAME to produce a ready-to-run project
  • Provides an example feature module (src/features/example) and wiring guidance to rename and integrate it into the router

Quick Start

Run the scaffold script with a project name to generate a new Rust API project.

Frequently Asked Questions about malky-rust-scaffolder

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

FAQPage Schema
How do I scaffold a production-ready Rust Axum API project?

To scaffold a Rust Axum API project, use a placeholder-based generator script that substitutes your project name into predefined templates, producing a complete crate with migrations, tests, and an example feature.

What is included when bootstrapping a Rust REST API with Axum and SQLx?

Bootstrapping a Rust REST API with Axum and SQLx includes generating a standalone crate containing Cargo.toml, main.rs, configuration, router setup, state management, and a ready-to-use example feature module.

Does the Rust Axum scaffolding template include database migrations and tests?

Yes, the Rust Axum scaffolding template includes database migrations and tests. It generates a complete project structure designed to be production-ready right out of the box.

Can I use this scaffolder for a new Rust API service without manual boilerplate setup?

Yes, you can use this scaffolder for new Rust API services to eliminate manual boilerplate setup. It applies specifically to Axum and SQLx stacks, automatically wiring the project for immediate use.

How do I integrate the example feature module into the Axum router after scaffolding?

After scaffolding, you integrate the example feature module by following the included wiring guidance to rename the module and add it to the main router configuration within the generated Rust project.

What's the best way to start a Rust project for an Axum and SQLx stack?

The best way to start an Axum and SQLx stack project is running a template-driven scaffold script. It substitutes placeholders like the application name to produce a ready-to-run Rust API project instantly.