·dhh-rails-style
</>

dhh-rails-style

everyinc/compound-engineering-plugin

當以 DHH 獨特的 37signals 風格編寫 Ruby 和 Rails 代碼時,應該使用此技能。它適用於編寫 Ruby 代碼、Rails 應用程序、創建模型、控制器或任何 Ruby 文件。在 Ruby/Rails 代碼生成、重構請求、代碼審查或用戶提及 DHH、37signals、Basecamp、HEY 或 Campfire 風格時觸發。體現了 REST 純度、胖模型、瘦控制器、當前屬性、Hotwire 模式以及“清晰勝過聰明”的理念。

144安裝·10熱度·@everyinc

安裝

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

SKILL.md

Apply 37signals/DHH Rails conventions to Ruby and Rails code. This skill provides comprehensive domain expertise extracted from analyzing production 37signals codebases (Fizzy/Campfire) and DHH's code review patterns.

"The best code is the code you don't write. The second best is the code that's obviously correct."

| 1, controller | controllers.md | | 2, model | models.md | | 3, view, frontend, turbo, stimulus, css | frontend.md | | 4, architecture, routing, auth, job, cache | architecture.md | | 5, test, testing, minitest, fixture | testing.md | | 6, gem, dependency, library | gems.md | | 7, review | Read all references, then review code |

當以 DHH 獨特的 37signals 風格編寫 Ruby 和 Rails 代碼時,應該使用此技能。它適用於編寫 Ruby 代碼、Rails 應用程序、創建模型、控制器或任何 Ruby 文件。在 Ruby/Rails 代碼生成、重構請求、代碼審查或用戶提及 DHH、37signals、Basecamp、HEY 或 Campfire 風格時觸發。體現了 REST 純度、胖模型、瘦控制器、當前屬性、Hotwire 模式以及“清晰勝過聰明”的理念。 來源:everyinc/compound-engineering-plugin。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/everyinc/compound-engineering-plugin --skill dhh-rails-style
分類
</>開發工具
認證
收錄時間
2026-02-05
更新時間
2026-02-18

快速解答

什麼是 dhh-rails-style?

當以 DHH 獨特的 37signals 風格編寫 Ruby 和 Rails 代碼時,應該使用此技能。它適用於編寫 Ruby 代碼、Rails 應用程序、創建模型、控制器或任何 Ruby 文件。在 Ruby/Rails 代碼生成、重構請求、代碼審查或用戶提及 DHH、37signals、Basecamp、HEY 或 Campfire 風格時觸發。體現了 REST 純度、胖模型、瘦控制器、當前屬性、Hotwire 模式以及“清晰勝過聰明”的理念。 來源:everyinc/compound-engineering-plugin。

如何安裝 dhh-rails-style?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/everyinc/compound-engineering-plugin --skill dhh-rails-style 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/everyinc/compound-engineering-plugin