Command Palette

Search for a command to run...

Назад к скиллам
скилл № 16608

new

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…

БесплатноБез исполняемых скриптов
rust-off-railsот rust-off-rails★ 55 звёзд на GitHub

Установить new в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

/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, each piece from a snippet (cargo offrails snippets), a generator ($FW/generators/scaffold.md, …) or the guides, the parts for accounts (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.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл new?

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.

Как установить скилл new?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл new запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить new с