rails-37-style-rails-components-action-text
CommunityEnhance Action Text with robust patterns.
Software Engineering#web development#rails#rich text#stimulus#html sanitization#action text#css styling
AuthorChwistophe
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses common challenges and provides best practices for using Action Text in Rails applications, ensuring robust handling of rich text content, sanitization, and rendering.
Core Features & Use Cases
- Sanitizer Configuration: Ensures custom HTML tags and attributes are correctly processed in production.
- Render-Time Transformations: Allows for flexible HTML modifications (like autolinking) without altering stored content.
- Client-Side Enhancements: Uses Stimulus controllers for dynamic link retargeting within rich text.
- Error Handling: Provides strategies for gracefully handling malformed attachments and attachments.
- Customization: Enables overriding default attachment partials and applying comprehensive CSS styling.
- Testing Utilities: Offers helpers for reliable HTML comparison in tests.
- Form Integration: Addresses styling consistency when Action Text is used within forms.
- Use Case: When implementing a blog post editor using Action Text, you need to ensure that custom HTML tags are allowed, links open correctly in new tabs, and images are displayed without breaking the page if the URL is invalid.
Quick Start
Use the rails-37-style-rails-components-action-text skill to apply best practices for Action Text in your Rails application.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: rails-37-style-rails-components-action-text Download link: https://github.com/Chwistophe/agent-skills-unofficial-37-signals-rails-way-fizzy/archive/main.zip#rails-37-style-rails-components-action-text Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.