check
Run 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…
от rust-off-rails★ 55 звёзд на GitHub
Установить check в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/offrails:check — the Definition of Done
Only for Rust off Rails apps (a .offrails/ directory exists).
- Read the app's
AGENTS.mdforFRONTEND_MODEandISLANDS. For Postgres: useTEST_DATABASE_URLif set (or in.env). Otherwise, if Docker is available, rundocker compose up -d db. If neither works, say that Postgres was skipped. Never claim it passed. - Run
cargo offrails verify --full(apps before 0.7.2 have noverify: runsh .offrails/tools/offrails-check, then every command in.offrails/workflow.md#definition-of-donefor that mode, in order). It runsoffrails-check, fmt, the CSS, clippy, both suites, coverage (§5 of test-standards, the SQLite run instrumented), cargo-deny, gitleaks, routes and the TS checks in parallel, and prints one line per step. EveryFAILline is a failure; everyskipline is said in the report.offrails-checkcovers the header, AC traceability, Security-table tests, the tenancy suites and unscoped lookups mechanically, so don't re-judge those by eye. With a running app (bin/dev), passBASE=<its URL>so the browser smoke runs too. - Fix failures per "When something fails" in
workflow.md, then rerun:cargo nextest run <test>for one test,cargo offrails verify(fast) while fixing,--fullonce more at the end. - The gates no command proves, from
.offrails/guides/test-standards.md:- frontend coverage in TS modes;
- accessibility (§10): axe on every route in light and dark, desktop and mobile (apps with a UI);
- with
$ARGUMENTScontaining--deep, also mutation testing (§5).
- Walk the checklist under the commands, running each item's command, and check it against the diff (
git diff, plus untracked files). Also check that the change added the tests its archetype requires (test-standards §2–4). - Regenerate
docs/test-report.md(test-standards §8). - Report a pass/fail line per step. Never call it green while any step is red or skipped without saying so.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл check?
Run 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".
Как установить скилл check?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл check запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…