agentleFS
rust-off-railsrust-off-rails/rustoffrails/skills/check/SKILL.md

check

Skill49 starsChanged 25 days agoApache-2.0View on GitHub

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

  • Reads credentials

80 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use daily-arxiv, exp-eval and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • JuliusBrusseeSkill

    backprop

    Bug → spec protocol. When a bug is found or a test fails, trace the cause, decide whether a new §V invariant would catch recurrence, append to §B. This is the one non-obvious thing SDD does that plan-then-execute doesn't. Triggers on test failure, bug report, post-mortem, or explicit user ask.

    Also in 4 projects that use this

  • skyllwtSkill

    exp-pilot-eval

    Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.

    Also in 4 projects that use this

  • skyllwtSkill

    exp-pilot-run

    Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.

    Also in 4 projects that use this

  • +6 more from Lambenthan
  • +1 more from skyllwt

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 69 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Only for Rust off Rails apps (a .offrails/ directory exists).

    line 9
  2. Very specific:

    Read the app's AGENTS.md for FRONTEND_MODE and ISLANDS.

    line 11

“Common” is measured: kept by at least 6 in 10 of the 69 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/offrails:check — the Definition of Done

Only for Rust off Rails apps (a .offrails/ directory exists).

  1. Read the app's AGENTS.md for FRONTEND_MODE and ISLANDS. For Postgres: use TEST_DATABASE_URL if set (or in .env). Otherwise, if Docker is available, run docker compose up -d db. If neither works, say that Postgres was skipped. Never claim it passed.
  2. Run cargo offrails verify --full (apps before 0.7.2 have no verify: run sh .offrails/tools/offrails-check, then every command in .offrails/workflow.md#definition-of-done for that mode, in order). It runs offrails-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. Every FAIL line is a failure; every skip line is said in the report. offrails-check covers 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), pass BASE=<its URL> so the browser smoke runs too.
  3. Fix failures per "When something fails" in workflow.md, then rerun: cargo nextest run <test> for one test, cargo offrails verify (fast) while fixing, --full once more at the end.
  4. 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 $ARGUMENTS containing --deep, also mutation testing (§5).
  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).
  6. Regenerate docs/test-report.md (test-standards §8).
  7. Report a pass/fail line per step. Never call it green while any step is red or skipped without saying so.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.