red-test-patterns

Official

Write failing RED tests fast with confidence.

AuthorLaunchPadLab
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you quickly create correct failing (RED phase) Minitest tests before any implementation exists, so you can drive development with clear expectations instead of guessing.

Core Features & Use Cases

  • RED-first test templates by component type: Covers new model, service, controller, view component, and policy tests with appropriate structure.
  • Expected failure guidance: Includes the typical error message you should see when the target code (class/route/component/policy) does not exist yet.
  • Fixture setup for RED tests: Provides example fixture data to support failing tests that depend on associated records.
  • Run commands and selection tips: Shows how to run a single file, target a specific test by name, or run an entire directory to verify failures.

Quick Start

Use the red-test-patterns skill to draft the first failing RED test for your new Rails component, including the matching fixtures and the command to run it to confirm it fails for the right reason.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: red-test-patterns
Download link: https://github.com/LaunchPadLab/ai-bank/archive/main.zip#red-test-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.