rustf

Generate RustF controllers, modules, models, and middleware with Cargo.

2|Updated Oct 26, 2025
One-click install
npx skills add https://github.com/numerum-tech/rustf --skill rustf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rustf
Source: https://github.com/numerum-tech/rustf/tree/main/sample-app/.claude/skills/rustf
Command: npx skills add https://github.com/numerum-tech/rustf --skill rustf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill improves code generation, style adherence, and development efficiency in projects using the RustF MVC framework by providing automatic layering enforcement, API validation, and rapid code scaffolding.

Core Features & Use Cases

  • Layered Architecture: Enforces MVC layering and provides clear guidelines for Controllers, Modules, Models, and more.
  • Code Generation: Generates boilerplate code with consistent style and adheres to RustF conventions, saving time on common patterns.
  • Use Case: When developing a RustF project, the Skill can be used to automatically create controllers, modules, models, and middleware according to the RustF framework guidelines, helping developers maintain a structured codebase.

Quick Start

Use the rustf skill in a RustF project by executing the command 'rustf-cli new controller --name my_controller'.

Frequently Asked Questions about rustf

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

FAQPage Schema
How do I generate RustF controllers and models automatically?

To generate RustF controllers and models automatically, use the `rustf-cli new` command with the desired component type and name. This scaffolds boilerplate code that adheres to RustF MVC layering conventions.

What is the best way to enforce MVC layering in a Rust web project?

Enforcing MVC layering in a Rust web project is best handled by validating syntax against RustF conventions. This ensures clear separation and guidelines for Controllers, Modules, and Models.

Does RustF support route macros and middleware auto-discovery?

Yes, RustF supports route macros and middleware by utilizing the auto_discover proc-macro. This provides IDE support and validates API syntax to ensure correct framework conventions.

Can I use Cargo to manage dependencies in a RustF MVC framework project?

You can use Cargo to manage dependencies in a RustF MVC framework project. The framework utilizes Cargo alongside auto_discover proc-macros to provide IDE support and validate syntax.

Why does my RustF template naming fail API validation?

RustF template naming fails API validation when syntax does not adhere to RustF conventions. The skill validates route macro syntax, middleware, and template naming to maintain a structured codebase.