跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Ce Dhh Rails Style

技能 已验证 活跃

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.

目的

To help developers write Ruby and Rails code that adheres to the specific, pragmatic, and opinionated style of 37signals and DHH, promoting clarity, maintainability, and efficient development.

功能

  • Applies DHH/37signals Rails conventions
  • Embodies REST purity, fat models, thin controllers
  • Codifies best practices for models, controllers, views, and architecture
  • Provides guidance on gem selection and testing philosophy
  • Reviews code against the specified style

使用场景

  • Writing new Ruby or Rails code following DHH's style
  • Refactoring existing code to align with 37signals conventions
  • Receiving code reviews that adhere to DHH's philosophy
  • Learning about the specific architectural and development patterns used at 37signals

非目标

  • Providing general Ruby or Rails advice outside the DHH/37signals style
  • Implementing code without understanding the underlying conventions
  • Suggesting external gems or patterns that contradict the established philosophy
  • Replacing the need for fundamental programming knowledge

安装

请先添加 Marketplace

/plugin marketplace add EveryInc/compound-engineering-plugin
/plugin install compound-engineering@compound-engineering-plugin

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标16.7k
许可证MIT
状态
查看源代码

类似扩展

Typescript Advanced Types

100

Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript projects.

技能
wshobson

Validate Plugin

100

Validate a Claude Code plugin structure, frontmatter, and MCP tool references

技能
ruvnet

Migrate Validate

100

Validate pending migrations for foreign key consistency, rollback safety, and best practices

技能
ruvnet

Lean Ctx

100

AI 代理的上下文运行时 — 包含 59 个 MCP 工具、10 种读取模式、95+ 种 shell 模式、支持 18 种语言的 tree-sitter AST。将 LLM 上下文压缩高达 99%。用于读取文件、运行 shell 命令、搜索代码或探索目录。如果不存在,则自动安装。

技能
yvgude

Semgrep Rule Creator

100

Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Use when writing Semgrep rules or building custom static analysis detections.

技能
trailofbits

使用我的浏览器

100

当工作依赖于用户实时浏览器会话或可见的渲染状态,而不是静态抓取时使用,尤其是在浏览器调试上下文或 DevTools 选择的元素或请求、登录仪表板或 CMS 流程、localhost 应用、上传、下载、媒体检查、DOM 或 iframe 检查、Shadow DOM,或看起来像软 404、身份验证墙、反机器人检查或速率限制的浏览器故障时。

技能
xixu-me