rails-model-generator

Community

TDD-driven Rails model scaffolding.

AuthorThibautBaissac
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Too many Rails teams waste time wiring models, migrations, and tests in separate steps, leading to misaligned design and flaky validation.

Core Features & Use Cases

  • TDD-driven workflow that starts with a failing spec, followed by a migration, then the model implementation, ensuring correctness by design.
  • Provides templates and guidance for defining model attributes, validations, associations, and database structure, enabling repeatable scaffolding.
  • Use Case: when adding a new core domain model, this Skill guides you from requirements through to green specs and a working table.

Quick Start

Define requirements for the new model, write a failing spec that expresses the desired behavior, and progressively implement the model through migration and code until the test suite passes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: rails-model-generator
Download link: https://github.com/ThibautBaissac/rails_ai_agents/archive/main.zip#rails-model-generator

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 223,000+ vetted skills library on demand.