minitest-testing

minitest-testing is a skill for Claude Code from Shoebtamboli/rails_claude_skills. It costs 40 tokens per session (2,333 once invoked), scanned A, original, MIT.

A guide for writing and improving Minitest tests in Ruby on Rails. Minitest is Ruby’s testing framework, and the guide covers models, controllers, full-browser system tests, fixtures, and Rails conventions.

In plain words
What is it for?
Use it to test database models, controller behavior, complete user flows with Capybara, and test data stored in fixtures.
Why use it?
It provides consistent testing patterns so application changes can be checked without relying only on manual testing.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to test database models, controller behavior, complete user flows with Capybara, and test data stored in fixtures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shoebtamboli/rails_claude_skills/minitest-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Shoebtamboli/rails_claude_skills --skill minitest-testing
Clone the repo
git clone --depth 1 https://github.com/Shoebtamboli/rails_claude_skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for minitest-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/shoebtamboli/rails_claude_skills/minitest-testing/github.svg)](https://agentmods.dev/skills/shoebtamboli/rails_claude_skills/minitest-testing)
Your own site
<a href="https://agentmods.dev/skills/shoebtamboli/rails_claude_skills/minitest-testing"><img src="https://agentmods.dev/badge/skills/shoebtamboli/rails_claude_skills/minitest-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for minitest-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/shoebtamboli/rails_claude_skills/minitest-testing"><img src="https://agentmods.dev/badge/skills/shoebtamboli/rails_claude_skills/minitest-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,333 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.02333
Opus 5.5 $0.00016 $0.00933
Sonnet 5.5 $0.00008 $0.00467
Haiku 4.5 $0.00004 $0.00233

Measured 3mo ago against content hash 68531264adb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

minitest-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

lib/generators/claude/skills_library/minitest-testing/SKILL.md · 399 lines

How it starts

The opening of the file, as written. The whole thing — 399 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Minitest Testing for Rails

Write comprehensive, maintainable Minitest tests following Rails conventions and best practices. This skill provides patterns for model tests, controller tests, system tests with Capybara, and fixture usage.


Core Testing Principles

1. Test Structure

Organize tests with clear phases:

Read the full file on GitHub · 399 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 399 lines · 40 tokens per session scan A 68531264adb8

Subscribe to this mod's changes

minitest-testing is a skill published in the GitHub repository Shoebtamboli/rails_claude_skills (16 stars, last pushed 5mo ago), licensed MIT. It adds 40 tokens to every session and 2,333 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

minitest-testing compared with skills from other repositories

minitest-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
minitest-testingShoebtamboli/rails_claude_skillsSkill165mo agoMITA40Claude Code
test-strategynimadorostkar/Claude-Skills-collectionSkill413d agoMITA106Claude Code
go-testingmuratmirgun/gophersSkill93mo agoMITA70Claude Code
quinnlingxling/awesome-skills-cnSkill3421mo agoMITA16Claude Code
agent-evalslingxling/awesome-skills-cnSkill3421mo agoMITB38Claude Code
swift-testing-expertThe-Artificer-of-Ciphers-LLC/skills-from-the-artificerSkill75d agoMITA73Claude Code, Codex
test-masterJeffallan/claude-skillsSkill13kyesterdayMITA104Claude Code