Write and maintain Minitest tests for a Rails 8 application using the Minitest::Spec DSL. Covers model tests, command/service tests, controller/integration tests, job tests, ViewComponent tests, and system tests. Use this skill whenever writing, fixing, or reviewing tests, or when the user asks to add test coverage, write specs, create test cases, or debug failing tests. Also trigger when generating new models, controllers, commands, jobs, or components that need accompanying tests.
$npx -y skills add mattsears/rails-cto --skill rails-cto-minitestInstalls into the current project.
Run `npx skills use "https://github.com/mattsears/rails-cto" --skill "mattsears/rails-cto/rails-cto-minitest"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/mattsears/rails-cto" that are relevant to the current task. Run `npx skills add "https://github.com/mattsears/rails-cto"` and select the relevant skills, then follow their instructions.