What problem does it solve?
This Skill provides a rigorous, phased approach to developing and refining Discourse service objects, ensuring adherence to best practices in Ruby, SOLID principles, and Discourse's specific architectural patterns.
Core Features & Use Cases
- Structured Development: Guides users through distinct phases: Understanding, Assessment, Implementation, Quality Check, Business Logic Review, Security Review, and Specs.
- Quality Assurance: Enforces strict checklists and audit loops for service quality, business logic correctness, and security.
- Best Practices: Promotes idiomatic Ruby, SOLID principles, and Discourse-specific conventions for service object design.
- Use Case: A senior engineer needs to refactor a complex controller action into a robust service object. This Skill ensures the new service is well-tested, secure, maintainable, and follows all Discourse development standards.
Quick Start
Use the discourse-service-authoring skill to refactor the update_post controller logic into a new service object, following all development phases and quality checks.