feature-dev

Orchestrate a multi-phase Rails development workflow with feature slicing, TDD, and automated review.

17|1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/thoughtbot/rails-consultant --skill feature-dev-thoughtbot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-dev
Source: https://github.com/thoughtbot/rails-consultant/tree/main/skills/feature-dev
Command: npx skills add https://github.com/thoughtbot/rails-consultant --skill feature-dev-thoughtbot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill solves the problem of feature bloat and inconsistent implementation by enforcing a disciplined, step-by-step workflow that moves from conceptual slicing to verified, test-driven code.

Core Features & Use Cases

  • Structured Slicing: Breaks down complex epics into shippable, single-slice increments.
  • Outside-In TDD: Ensures every line of production code is justified by a failing test, maintaining a lean codebase.
  • Automated Review: Integrates code review and automated fixes to ensure quality and adherence to project conventions.

Quick Start

Invoke the feature-dev skill by providing a clear description of the specific feature slice you want to build and test.

Frequently Asked Questions about feature-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement Rails features using test-driven development?

To implement Rails features using test-driven development, you apply an outside-in approach where every line of production code is justified by a failing test. This ensures a lean codebase and moves from conceptual slicing to verified code.

What is the best way to break down complex Rails epics into shippable increments?

The best way to break down complex Rails epics into shippable increments is through structured feature slicing. This workflow divides large features into single-slice increments that result in atomic commits and production-code diffs under 300 lines.

How does automated code review work during Rails feature development?

Automated code review during Rails feature development works by integrating review checks and automated fixes directly into the workflow. This ensures code quality and strict adherence to existing architectural conventions after writing tests.

Can I use this TDD workflow for any Ruby on Rails codebase?

Yes, you can use this TDD workflow for any Rails codebase, provided you adhere to its strict constraints. The workflow requires satisfying requirements for atomic commits and production-code diffs under 300 lines within your existing architecture.

Why should I use outside-in TDD for Rails feature development?

You should use outside-in TDD for Rails feature development because it solves feature bloat and inconsistent implementation. It enforces a disciplined, step-by-step workflow that ensures every code change is verified by a failing test.

What are the limitations of enforcing a strict test-first Rails workflow?

Limitations of enforcing a strict test-first Rails workflow include the requirement to keep production-code diffs under 300 lines and the need to strictly adhere to existing architectural conventions. Complex features must be sliced into discrete, atomic commits.