Generate a full resource (migration, model, policy, controller, routes, views or pages, tests) in a Rust off Rails app, like `rails g scaffold`. Use when the user asks to scaffold or add a CRUD resource with fields, e.g. "scaffold Book title:string rating:integer".
Installs into .claude/skills of the current project.
Are you the author of Scaffold?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/rust-off-rails-scaffold)
---
name: scaffold
description: Generate a full resource (migration, model, policy, controller, routes, views or pages, tests) in a Rust off Rails app, like `rails g scaffold`. Use when the user asks to scaffold or add a CRUD resource with fields, e.g. "scaffold Book title:string rating:integer".
argument-hint: "<Model> field:type[?|!] …"
---
# /offrails:scaffold
Only for Rust off Rails apps (a `.offrails/` directory exists). If there isn't one, suggest `/offrails:new` and stop.
Request: $ARGUMENTS
1. If not already done this session, read `.offrails/AGENTS.md` and its load order, and note `FRONTEND_MODE` from the app's `AGENTS.md`.
2. Ask the feature-level questions from `.offrails/interview.md` that the request leaves open (ownership, deletion, who can see it), and only those.
3. Execute `.offrails/generators/scaffold.md` exactly, following only the app's `FRONTEND_MODE` branch.
4. Finish with the Definition of Done (`.offrails/workflow.md`), then report per "Talking to the human".