/offrails:scaffold <Model> field:type[?|!] …from Rust off Rails
Generates a full CRUD resource (migration, model, policy, controller, routes, views, tests) in a Rust off Rails app, similar to `rails g scaffold`.
Ships in Rust off Rails. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Only for Rust off Rails apps (a .offrails/ directory exists). If there isn't one, suggest /offrails:new and stop.
Request: $ARGUMENTS
.offrails/AGENTS.md and its load order, and note FRONTEND_MODE from the app's AGENTS.md..offrails/interview.md that the request leaves open (ownership, deletion, who can see it), and only those.htmx mode: run cargo offrails g resource <plural> field:type… (--dry-run first; field syntax: .offrails/generators/README.md#fields; for a one-word public CRUD to read first, cargo offrails snippet show resource), commit, then do what it printed and what .offrails/generators/scaffold.md leaves to you (spec ACs into the tests, the // APP: lines, seeds, the browser smoke). Other modes: cargo offrails g model … (and g api … for a public API), then the rest of scaffold.md for the app's FRONTEND_MODE by hand.cargo offrails verify (--full if this is the last slice; .offrails/workflow.md#definition-of-done), then report per "Talking to the human".What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rust-off-rails/rustoffrails --plugin offrails9 skills in this plugin
/checkRun the Rust off Rails Definition of Done (fmt, clippy, tests on SQLite and Postgres, frontend checks, checklist) and fix what fails. Use before saying work is done, or when the user asks "is it green?", "run the tests", or "check everything"./deployMake a Rust off Rails app deployable and ship it (Docker, Fly.io, Kamal, Railway, Render), including production database setup and migrations on deploy. Use when the user asks to deploy, ship, host, or put an Off Rails app in production./doctorAudit a Rust off Rails app against the framework's conventions (structure, stack, banned crates, portability, security, tests, docs drift) and report or fix violations. Use when the user asks to review, audit, lint, or "doctor" an Off Rails app, or after a human edited code by hand./featureBuild or change a feature in a Rust off Rails app from a plain-language request or from the specs in product/. Use for "add X", "let users Y", "build what changed in product/", or any feature work in an app with a .offrails/ directory./generateRun a Rust off Rails generator other than scaffold, like `rails generate`: model, resource, migration, job, mailer, channel, authentication, task. Use when the user asks to add a background job, an email, live updates, login, a migration, or a model to a Rust off Rails app./newCreate a new Rust off Rails web app (the `rails new` of Rust). Use when the user wants to start a new Rust web app, SaaS, internal tool or site, or says "rails new", "new app", or "off rails". Runs the interview, confirms a plan, then generates the app.Other plugins' skills for the same job