A Rails 8 application template with Phlex components and AI-powered development tools.
- Rails 8.0.3 with Ruby 3.4.4
- Phlex views and components (not ERB)
- Stimulus + Turbo for interactivity
- Tailwind CSS for styling
- SQLite with Solid Queue, Solid Cache, and Solid Cable
- Minitest with Capybara for testing
bin/setup # Install dependencies
bin/dev # Start development serverVisit http://localhost:3000
This template uses Phlex instead of ERB. Views are Ruby classes:
app/views/posts/index.rb # Not index.html.erb
app/components/posts/... # Reusable components
Scaffolding generates Phlex views automatically.
Built-in session-based auth with optional 2FA (TOTP). Configure features in config/boilermaker.yml.
Model IDs are obfuscated via Hashids in URLs.
Uses SQLite-backed Solid Queue, Solid Cache, and Solid Cable instead of Redis.
rails test # Run tests
rails generate scaffold Post title:string # Generates Phlex views
rubocop # Style checks
brakeman # Security scanAfter cloning, point origin to your new repo and add boilermaker as an upstream:
git remote set-url origin https://github.com/YOU/YOUR-NEW-REPO.git
git remote add boilermaker https://github.com/andrewhwaller/boilermaker.git
git push -u origin mainTo pull updates from boilermaker later:
git fetch boilermaker
git merge boilermaker/mainThis template includes Claude Code commands for AI-assisted development. Use these slash commands in Claude Code:
| Command | Description |
|---|---|
/prime |
Get oriented with the codebase - reads CLAUDE.md and key docs |
/architecture <requirements> |
Develop a spec for a new feature with multiple review iterations |
/implement <spec> |
Implement a feature from a spec using specialized agents |
/debug <issue> |
Debug an issue with code analysis and testing |
/review |
Review recent code changes against Rails/DHH standards |
The commands use these sub-agents behind the scenes:
- Application Architect - Creates implementation specs
- DHH Code Reviewer - Reviews code against Rails conventions
- Rails Programmer - Implements backend code
- Stimulus Turbo Developer - Implements frontend with Phlex/Stimulus/Turbo
- Test Writer - Writes comprehensive tests
- Code Analyzer - Traces logic and finds bugs
- Start a session:
/primeto load project context - Plan a feature:
/architecture docs/requirements/my-feature.md - Implement:
/implement docs/plans/my-feature-spec.md - Debug issues:
/debug "login form not submitting" - Review changes:
/reviewbefore committing
See /docs/overview.md for full documentation structure.