Spec Organization

Community

Structure RSpec tests with clarity.

Authorbastos
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Well-organized RSpec specs are easier to maintain, faster to run, and clearer to read. This skill provides patterns for structuring test suites, including how to organize directories, share reusable setup and behavior, and label tests for efficient filtering.

Core Features & Use Cases

  • Directory organization patterns: guidance on common layouts (models, controllers, services, requests, system specs) to align with project structure.
  • Shared logic reuse: how to define and apply shared_examples and shared_contexts to reduce duplication and improve consistency, with examples showing usage in model and service specs.
  • Tagging and filtering strategies: how to annotate specs for selective execution and CI performance, plus practical examples of filtering by tags during runs.

Quick Start

Describe your current test structure and ask for a recommended layout for organizing an RSpec suite.

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: Spec Organization
Download link: https://github.com/bastos/ruby-plugin-marketplace/archive/main.zip#spec-organization

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.