Skip to content
Back to skills

New

ASecurity

Create 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.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 19, 2026
ai-agentsrustgorailsgit

Security analysis

A100/100

Scanned October 19, 2026

npx -y skills add rust-off-rails/rustoffrails --skill new --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of New?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for New
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rust-off-rails-new-rustoffrails/badge)](https://www.skillsdirectory.com/skills/rust-off-rails-new-rustoffrails)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: new
description: Create 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.
argument-hint: "[app name] [one-line description]"
---

# /offrails:new — `rails new` for Rust off Rails

Framework root for this skill: `${CLAUDE_PLUGIN_ROOT}` (call it `$FW`). Every path below is relative to it.

Request: $ARGUMENTS

1. **Preflight.** The current directory must be empty or a fresh git repo. If it already contains `.offrails/`, stop: this is an existing app, so use `/offrails:feature` or `/offrails:scaffold` instead.
2. **Load the framework:** read `$FW/AGENTS.md`, then its load order (`interview.md`, `doctrine.md`, `structure.md`, `stack.md`, `workflow.md`). Those docs win over your habits.
3. **Interview** per `$FW/interview.md`, using `AskUserQuestion`. Skip any question the request already answers. "You decide" means take the defaults. Max 3 rounds.
4. **Confirm the plan** (the compact block in `interview.md`), **including the parts** you propose from the plan (`$FW/template/README.md#choosing-parts`, with the link https://github.com/rust-off-rails/samples), and wait for a yes.
5. **Generate** by executing `$FW/generators/new.md` step by step: step 1 runs the template generator (`cargo run -q --manifest-path "$FW/tools/offrails-gen/Cargo.toml" --target-dir <dir>/target/offrails-gen -- new <dir> <crate> "<Name>" --pitch … --parts …`), which copies the template, vendors `$FW` into `.offrails/` and adds the parts. Never retype the skeleton.
6. **Build the plan's features** one vertical slice at a time (`$FW/generators/scaffold.md`, `authentication.md`, …), each finishing on a green `cargo offrails verify` (seconds; `cargo nextest run <test>` while one is red); `cargo offrails verify --full` once, after the last slice.
7. **Report** in product terms: what exists, `bin/setup && bin/dev`, what's next. Mention `/offrails:feature`, `/offrails:deploy` and `/offrails:doctor`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.