frontend-conventions - Apply Bike Index frontend conventions
Guides frontend views, components, styling, interactivity, numbers, dates, routes, and assets according to Bike Index conventions.
Tags
Updated: 2026-11-29Capabilities
What this skill does
- Apply Tailwind class prefixing
- Use standard form classes
- Render numbers consistently
- Use Counts for site figures
- Use approved UI components
- Prefer existing components
- Replace helpers with components
- Apply ViewComponent rules
- Render dates with UI::Time
- Format and lint ERB
- Use Stimulus for JavaScript
- Use dashed marketing URLs
- Avoid deprecated SCSS and CoffeeScript
Inputs
- Frontend source files
- Routes and link paths
- Image and icon assets
- Existing UI components
- Tailwind configuration
Outputs
- Updated frontend code
- Formatted ERB files
- Frontend lint results
- Updated routes or link paths
Requirements
- Rails frontend application
- Tailwind CSS
- Stimulus.js
- Available bin/lint command
- Bike Index UI components
