github.com/RoleModel/rolemodel-skills
Skill | Added | Review |
|---|---|---|
action-cable Setup and use ActionCable for real-time features in Rails applications using WebSockets. Use when implementing real-time updates, live notifications, broadcasting changes, or when the user mentions WebSockets, ActionCable, channels, broadcasting, or Turbo Streams over cable. | 82 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
stimulus-controllers Create and register Stimulus controllers for interactive JavaScript features. Use when adding client-side interactivity, dynamic UI updates, or when the user mentions Stimulus controllers or JavaScript behavior. | 86 Impact Pending No eval scenarios have been run Securityby Advisory Suggest reviewing before use Reviewed: Version: 097ad6b | |
testing-patterns Write automated tests using RSpec, Capybara, and FactoryBot for Rails applications. Use when implementing features, fixing bugs, or when the user mentions testing, specs, RSpec, Capybara, or test data. Avoid using rails console or server for testing. | 82 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
turbo-fetch Implement dynamic form updates using Turbo Streams and Stimulus. Use when forms need to update fields based on user selections without full page reloads, such as cascading dropdowns, conditional fields, or dynamic option lists. | 90 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
routing-patterns Review, generate, and update Rails routes following professional patterns and best practices. Covers RESTful resource routing, route concerns for code reusability, shallow nesting strategies, and advanced route configurations. | 77 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
optics-context Use the Optics design framework for styling applications. Apply Optics classes for layout, spacing, typography, colors, and components. Use when working on CSS, styling views, or implementing design system guidelines. | 71 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
form-auto-save Automatic form submission after user input changes using a debounce mechanism to prevent excessive server requests. Creates a seamless auto-save experience for forms with rich text editors or multiple fields. | 63 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
usability-heuristics Audit UI implementations against Nielsen's 10 Usability Heuristics for User Interface Design. Produces a structured issue log with severity ratings, heuristic mappings, and remediation guidance. Use when conducting heuristic evaluations, reviewing UI code for usability compliance, or auditing existing interfaces. | 88 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
laws-of-ux Review and guide UI implementations using the 21 Laws of UX. Identifies usability issues in HTML, CSS, and JavaScript by applying established cognitive, visual, and behavioral principles. Use when reviewing UI code, building new interfaces, or auditing user experience. | 88 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
dynamic-nested-attributes Implement Rails nested attributes with dynamic add/remove functionality using Turbo Streams and Simple Form. Use when building forms where users need to manage multiple child records (has_many associations), add/remove nested items without page refresh, or create bulk records inline. | 86 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
controller-patterns Review and update existing Rails controllers and generate new controllers following professional patterns and best practices. Covers RESTful conventions, authorization patterns, proper error handling, and maintainable code organization. | 70 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
frontend-patterns Frontend patterns for Rails applications using Slim templates, Stimulus JavaScript framework, CSS with Optics utilities. Use when building views, adding interactivity, styling components, or when the user mentions Slim, Stimulus, JavaScript, CSS, or frontend development. | 82 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
json-typed-attributes Define typed attributes backed by JSON fields in Rails models. Use when models need flexible data storage with type casting, validations, and form integration. Supports integer, decimal, string, text, boolean, date, and array types. | 71 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
bem-structure Expert guidance for writing, refactoring, and structuring CSS using BEM (Block Element Modifier) methodology. Provides proper CSS class naming conventions, component structure, and Optics design system integration for maintainable, scalable stylesheets. | 56 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b | |
ai-ux-enhancements Automated UX review rules optimized for AI-driven design evaluations, addressing gaps in usability and user empowerment. Complementary to laws-of-ux skill, focusing on efficiency, control, cognitive workload, learnability, and personalization. | 56 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 097ad6b |