Agent skill

Rails Testing

by marckohlbrugge in marckohlbrugge/37signals-skills

Apply Rails testing standards with Minitest, fixtures, and pragmatic coverage boundaries.

No licenceAuto-check passedBackend & APIs

Install Rails Testing

skills CLI
$ npx skills add marckohlbrugge/37signals-skills --skill rails-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install marckohlbrugge/37signals-skills rails-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/marckohlbrugge/37signals-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/rails-testing .claude/skills/rails-testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rails-testing
GitHub stars
724
Token cost
~1.1k tokens
SKILL.md length
469 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

Apply Rails testing standards with Minitest, fixtures, and pragmatic coverage boundaries.

  • Reviewing test quality
  • SKILL.md covers Defaults, Coverage Budget (where…, Fixtures and Good Practices, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Improving flaky and slow Rails test suites

What it does

Rails Testing is an agent skill from marckohlbrugge/37signals-skills. Apply Rails testing standards with Minitest, fixtures, and pragmatic coverage boundaries. Use when creating tests, reviewing test quality, or improving flaky and slow Rails test suites.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Backend development and Test generation. The repository describes itself as: Unofficial agent skills + reference guide that teach AI coding assistants to write Rails the 37signals way — extracted from Fizzy, Campfire, and DHH's code reviews.

When your agent uses it

  • Reviewing test quality
  • Improving flaky and slow Rails test suites

Example prompts

  • “/rails-testing”

What it can do on your machine

Read from SKILL.md and the folder at commit c58e7d5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rails Testing loads about 1.1k tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 469 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 469 words (~1,061 tokens).

“Use for test-writing and test-review tasks. Patterns from Campfire and Fizzy test suites.”

— opening of SKILL.md by marckohlbrugge
name
rails-testing
disable-model-invocation
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/rails-testing of marckohlbrugge/37signals-skills.

Open the folder on GitHubat commit c58e7d5

Compare with similar skills

Rails Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rails Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rails Testing this skillmarckohlbrugge/37signals-skills724—~1.1kAutomated safety check: PassNone
Run Testsnetboxlabs/netbox-branching155—~1.2kAutomated safety check: PassCustom licence
Django Test Performancehashgraph-online/awesome-codex-plugins1.3k—~1.1kAutomated safety check: PassMIT
Django Test Profilinghashgraph-online/awesome-codex-plugins1.3k—~892Automated safety check: PassMIT
Spring Boot Test Patternsgiuseppe-trisciuoglio/developer-kit357—~2.3kAutomated safety check: NotesMIT
Speeding Up Laravel Testsfreekmurze/dotfiles1k—~1.1kAutomated safety check: NotesNone

Similar skills

  • Run Tests

    netboxlabs/netbox-branching

    Run the netboxbranching plugin's Django test suite against a local NetBox checkout.

    155 GitHub stars~1.2k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Django Test Performance

    hashgraph-online/awesome-codex-plugins

    Improve slow Django test suites through measured profiling, safe test settings, database and migration tuning, parallel execution, test-data cleanup, and CI workflow changes.

    1.3k GitHub stars~1.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Django Test Profiling

    hashgraph-online/awesome-codex-plugins

    Profile and measure slow Django test suites with Django's runner, pytest-django, shell timing, py-spy, cProfile, pytest durations, and profiler visualizations.

    1.3k GitHub stars~892 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Spring Boot Test Patterns

    giuseppe-trisciuoglio/developer-kit

    Provides comprehensive testing patterns for Spring Boot applications covering unit, integration, slice, and container-based testing with JUnit 5, Mockito, Testcontainers, and performance optimization.

    357 GitHub stars~2.3k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes
  • Speeding Up Laravel Tests

    freekmurze/dotfiles

    A skill your agent uses when Laravel/Pest test suites are slow, CI duration is growing, individual tests take seconds, or the user asks to speed up, optimize, or profile tests.

    1k GitHub stars~1.1k tokensUpdated 3 days ago
    Backend & APIsAuto-check: notes
  • Coverage Check

    AI-Unified-Process/marketplace

    Audits an already-written use case (UC-XXX) or test case (TC-XXX) against its specification and reports a coverage matrix: which main success scenario steps, alternative flows, business rules…

    142 GitHub stars~2.7k tokensUpdated 6 days ago
    Testing & QAAuto-check passed

More from marckohlbrugge/37signals-skills

All 8 skills in this repo
  • Rails Best Practices Core

    marckohlbrugge/37signals-skills

    Apply core Ruby on Rails best practices for architecture, naming, safety, and maintainability.

    724 GitHub stars~1.7k tokensUpdated 4 mo ago
    Auto-check passed
  • Rails Jobs

    marckohlbrugge/37signals-skills

    Apply best practices for Rails background jobs using simple orchestration, idempotency, and safe retries.

    724 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Rails Security Multitenancy

    marckohlbrugge/37signals-skills

    Apply Rails security and multi-tenant safety practices including scoped queries, SSRF defenses, rate limiting, and tenant-scoped realtime updates.

    724 GitHub stars~1.7k tokensUpdated 4 mo ago
    Auto-check passed
  • Dhh

    marckohlbrugge/37signals-skills

    Review Ruby/Rails code like DHH would - direct, opinionated, allergic to over-engineering.

    724 GitHub stars~2.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Rails Hotwire Realtime

    marckohlbrugge/37signals-skills

    Apply Hotwire, Turbo, Stimulus, and ActionCable best practices for real-time Rails interfaces.

    724 GitHub stars~1.9k tokensUpdated 4 mo ago
    Auto-check passed
  • Rails Migrations

    marckohlbrugge/37signals-skills

    Write and review Rails database migrations safely, including reversible changes, lock-aware operations, and rollout sequencing.

    724 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed

Questions about Rails Testing

What does Rails Testing do?

Apply Rails testing standards with Minitest, fixtures, and pragmatic coverage boundaries. Rails Testing is an agent skill from marckohlbrugge/37signals-skills. Apply Rails testing standards with Minitest, fixtures, and pragmatic coverage boundaries.

When should I use Rails Testing?

Rails Testing fits situations like: reviewing test quality; improving flaky and slow Rails test suites.

How do I install Rails Testing in Claude Code?

Run `npx skills add marckohlbrugge/37signals-skills --skill rails-testing -a claude-code`. Or copy the skill folder (skills/rails-testing in marckohlbrugge/37signals-skills) into .claude/skills/rails-testing in your project. Claude Code loads it when a task matches its description.

How do I install Rails Testing in Codex?

Run `npx skills add marckohlbrugge/37signals-skills --skill rails-testing -a codex`. Or copy the skill folder (skills/rails-testing in marckohlbrugge/37signals-skills) into .agents/skills/rails-testing in your project. Codex loads it when a task matches its description.

Can I use Rails Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add marckohlbrugge/37signals-skills --skill rails-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rails-testing, .gemini/skills/rails-testing, .github/skills/rails-testing and .opencode/skills/rails-testing in your project.

What does Rails Testing need to run?

SKILL.md names no scripts, command-line tools or credentials: Rails Testing is instructions for the agent only.

Does Rails Testing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rails Testing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Rails Testing use?

No licence was found for Rails Testing or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Rails Testing use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rails Testing?

Skills that share tags, products or a category with Rails Testing: Run Tests (netboxlabs/netbox-branching, 155 stars), Django Test Performance (hashgraph-online/awesome-codex-plugins, 1.3k stars), Django Test Profiling (hashgraph-online/awesome-codex-plugins, 1.3k stars) and Spring Boot Test Patterns (giuseppe-trisciuoglio/developer-kit, 357 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rails Testing?

marckohlbrugge (a GitHub user) maintains it in marckohlbrugge/37signals-skills, which has 724 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on June 9, 2026.

Source: marckohlbrugge/37signals-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.