Use when advanced RSpec features including custom matchers, shared examples, metadata, and hooks.
View on GitHubTheBushidoCollective/han
jutsu-rspec
January 24, 2026
Select agents to install to:
npx add-skill https://github.com/TheBushidoCollective/han/blob/main/jutsu/jutsu-rspec/skills/rspec-advanced/SKILL.md -a claude-code --skill rspec-advancedInstallation paths:
.claude/skills/rspec-advanced/# rspec advanced Master advanced RSpec features including custom matchers, shared examples, metadata, and hooks. This skill provides comprehensive coverage of essential concepts, patterns, and best practices for professional RSpec development. ## Overview RSpec is a powerful tool for ruby development, providing robust capabilities for maintaining code quality and ensuring reliable software delivery. This skill covers the fundamental through advanced aspects of working with RSpec. ## Installation and Setup ### Basic Installation Setting up RSpec requires proper installation and configuration in your development environment. ```bash # Installation command specific to RSpec # Follow official documentation for latest version ``` ### Project Configuration Create appropriate configuration files and setup for your project structure: - Configuration file setup - Project structure organization - Team collaboration setup - CI/CD integration preparation ## Core Concepts ### Fundamental Principles Understanding the core principles of RSpec is essential for effective usage: 1. **Architecture** - How RSpec is structured and operates 2. **Configuration** - Setting up and customizing behavior 3. **Integration** - Working with other tools and frameworks 4. **Best Practices** - Industry-standard approaches ### Key Features RSpec provides several key features that make it valuable: - Feature 1: Core functionality - Feature 2: Advanced capabilities - Feature 3: Integration options - Feature 4: Performance optimization - Feature 5: Extensibility ### Configuration Strategy Proper configuration ensures RSpec works optimally: - Environment-specific setup - Team standards enforcement - Performance tuning - Error handling configuration ### Advanced Usage For complex scenarios, RSpec offers advanced capabilities: - Custom extensions - Advanced patterns - Performance optimization - Scalability considerations ## Code Examples ### Example 1: Basic Setup ```ruby // Bas