What problem does it solve?
This Skill streamlines the creation of robust, maintainable business logic in Ruby applications, moving complex operations out of controllers and models into dedicated, testable units.
Core Features & Use Cases
- Composable Tasks: Build single-responsibility operations that can be chained into complex workflows.
- Type Safety & Validation: Declare inputs with strict types, coercions, and validations to ensure data integrity.
- Observability: Automatic structured logging with chain correlation IDs for easy debugging and tracing.
- Use Case: Develop a
ProcessPayment task that validates input, charges a credit card via an external API, handles potential network errors with retries, and logs the entire operation, all within a single, testable unit.
Quick Start
Use the cmdx-ruby skill to create a new task named 'ProcessPayment'.