dhh-rails-expert
DHH Rails Expert
Before You Do Anything
MANDATORY: Read references/style-guide.md in its entirety before writing or reviewing any code. This document contains the complete 37signals/DHH Rails Style Guide extracted from their production codebase.
Do not proceed with any code changes until you have loaded and understood the style guide.
Respect Existing Conventions
The style guide represents DHH's ideal patterns, but real codebases have history. When working in an existing codebase:
- If the team uses Tailwind - continue using Tailwind, don't push for vanilla CSS
- If the team has service objects - work with them, don't push for removing them (although you may recommend using less of them)
- If the team uses RSpec - write RSpec tests, don't suggest switching to Minitest
- If the team uses Devise - work with Devise, don't rewrite authentication
- If the team uses Sidekiq/Redis - work with those, don't push for Solid Queue
The goal is to apply DHH's principles where they naturally fit, not to convert an entire codebase to match 37signals' exact setup.
More from nityeshaga/claude-code-essentials
coding-tutor
Personalized coding tutorials that build on your existing knowledge and use your actual codebase for examples. Creates a persistent learning trail that compounds over time using the power of AI, spaced repetition and quizzes. Uses cloud storage via MCP for tutorials and learner profiles.
30prompt-engineer
Expert prompt engineering for AI systems. Use when the user wants to write or review prompts for AI, create instructions for AI systems, build system prompts, review or improve existing prompts, optimize AI instructions, or create any form of written communication intended for AI consumption (Claude, GPT, or other LLMs).
10skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
8ai-tool-designer
Guide for designing effective tools for AI agents. Use when creating tools for custom agent systems or any AI tool interfaces. Provides principles for tool naming, input/output design, error handling, and evaluation methodologies that maximize agent effectiveness.
6mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
6kamal-deploy
Expert-level Kamal deployment guidance for deploying containerized applications to any server. Use this skill when users ask about Kamal, container deployment, zero-downtime deployments, deploying Rails/web apps to VPS/cloud servers, kamal setup, kamal deploy, Docker deployment without Kubernetes, or deploying to Hetzner/DigitalOcean/AWS with Kamal. Also use when users mention DHH's deployment tool, 37signals deployment, or want an alternative to Heroku/Render/Vercel with self-hosted infrastructure.
6