Dhh Rails Style

🌐Community
by everyinc · vlatest · Repository

Enforces consistent Ruby on Rails coding style, improving readability and maintainability for your projects.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add everyinc-dhh-rails-style npx -- -y @trustedskills/everyinc-dhh-rails-style
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "everyinc-dhh-rails-style": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/everyinc-dhh-rails-style"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill, everyinc-dhh-rails-style, enables AI agents to generate code and documentation adhering to the coding style popularized by DHH (David Heinemeier Hansson), a prominent figure in the Ruby on Rails community. It promotes clean, readable, and maintainable code through consistent formatting, naming conventions, and architectural patterns. The skill aims to improve code quality and collaboration among developers.

When to use it

  • Generating new Rails applications: Use this skill when starting a new project to ensure the codebase follows established style guidelines from the outset.
  • Refactoring existing Ruby on Rails codebases: Apply the style guide to bring consistency to older projects, improving readability and maintainability.
  • Creating documentation for Rails projects: Generate consistent and well-formatted documentation that aligns with the project's coding style.
  • Automating code reviews: Integrate this skill into automated review processes to enforce stylistic consistency across a team.

Key capabilities

  • Rails Code Formatting
  • Ruby Code Formatting
  • Documentation Generation (aligned with Rails style)
  • Adherence to DHH Coding Conventions

Example prompts

  • "Format this Ruby code according to the dhh-rails-style guide."
  • "Generate documentation for this Rails controller, following the established coding conventions."
  • “Refactor this existing Rails model to adhere to the dhh-rails-style.”

Tips & gotchas

This skill assumes a basic understanding of Ruby on Rails principles. While it enforces style, it doesn't guarantee functional correctness; code still needs to be logically sound.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
everyinc
Installs
9

🌐 Community

Passed automated security scans.