dhh-rails-style

EveryInc · Development

该技能提供详细的Ruby on Rails代码编写指导,遵循37signals/DHH的特定约定和哲学。基于实际生产代码库,涵盖控制器模式、模型设计、测试方法和gem选择。帮助开发者采用REST纯净性、胖模型、瘦控制器和数据库优先方法,同时避免37signals明确拒绝的常见Rails社区模式。

This skill should be used when writing Ruby and Rails code in DHH's distinctive 37signals style. It applies when writing Ruby code, Rails applications, creating models, controllers, or any Ruby file. Triggers on Ruby/Rails code generation, refactoring requests, code review, or when the user mentions DHH, 37signals, Basecamp, HEY, or Campfire style. Embodies REST purity, fat models, thin controllers, Current attributes, Hotwire patterns, and the "clarity over cleverness" philosophy.

npx skills add https://github.com/EveryInc/compound-engineering-plugin --skill dhh-rails-style

星标 21126 · 安装量 708

GitHub · SkillBox 全部技能