M3

marckohlbrugge/37signals-skills

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

730 stars 质量 49 趋势 4

marckohlbrugge/37signals-skills 是从 https://github.com/marckohlbrugge/37signals-skills. 导入的特工技能候选人。

概览

marckohlbrugge/37signals-skills 是从 https://github.com/marckohlbrugge/37signals-skills. 导入的特工技能候选人。

概述(AI 翻译)

代理技能和参考指南,教AI编码助手以37signals的方式编写Rails——摘自Fizzy、Campfire和DHH的100+条代码评审。

非官方。 这是一个基于37signals公开代码和讨论的社区项目——与37signals无关或认可。

把技能导入Claude Code或Cursor,你的代理就会开始应用和37signals相同的模式:丰富域模型覆盖服务对象,状态作为记录,CRUD所有路由,固定装置覆盖工厂,原版轨道覆盖宝石。

技能

技能 内容 召唤
rails-best-practices-core 架构、命名、建模模式、REST 路由、授权——所有 Rails 工作的基线 自动
rails-hotwire-realtime 涡轮流/帧、变形、刺激、ActionCable、存在感、乐观用户界面、网页推送 按需
rails-jobs 主动作业设计、_later/_now 约定、实体队列、重复任务、重试策略 按需
rails-migrations 安全模式变更、分阶段展开、脚本回填、多数据库/多适配器设置 按需

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

37signals Skills

Agent skills and a reference guide that teach AI coding assistants to write Rails the 37signals way — extracted from Fizzy, Campfire, and 100+ of DHH’s code reviews.

Unofficial. This is a community project based on 37signals’ public code and discussions — not affiliated with or endorsed by 37signals.

Drop the skills into Claude Code or Cursor and your agent starts applying the same patterns 37signals uses: rich domain models over service objects, state as records, CRUD-everything routing, fixtures over factories, vanilla Rails over gems.

The Skills

Skill What it covers Invocation
rails-best-practices-core Architecture, naming, modeling patterns, REST routing, authorization — the baseline for all Rails work Automatic
rails-hotwire-realtime Turbo Streams/Frames, morphing, Stimulus, ActionCable, presence, optimistic UI, web push On demand
rails-jobs Active Job design, _later/_now conventions, Solid Queue, recurring tasks, retry policy On demand
rails-migrations Safe schema changes, staged rollouts, script backfills, multi-DB/multi-adapter setups On demand
rails-security-multitenancy Path-based tenancy, Identity→Session→User auth, scoped lookups, SSRF, CSRF, rate limiting On demand
rails-testing Minitest + fixtures, coverage budget, Turbo/broadcast assertions, multi-tenant test wiring On demand
rails-webhooks Outbox delivery, failure classification, delinquency circuit breakers, payload signing On demand
dhh Review code like DHH would — direct, opinionated, allergic to over-engineering /dhh

“On demand” skills are marked disable-model-invocation: true so they don’t bloat every request — invoke them explicitly (e.g. as a slash command) or let the core skill point to them.

Installation

Claude Code

Copy the skills you want into your personal or project skills directory:

git clone https://github.com/marckohlbrugge/37signals-skills.git

# Personal (all projects)
cp -R 37signals-skills/skills/* ~/.claude/skills/

# Or per-project
cp -R 37signals-skills/skills/* your-app/.claude/skills/

Then ask for a review with /dhh, or just write Rails code — the core skill activates automatically.

Cursor

# Per-project
cp -R 37signals-skills/skills/* your-app/.cursor/skills/

Codex

Copy the skills into your global Codex skills directory:

git clone https://github.com/marckohlbrugge/37signals-skills.git
mkdir -p ~/.agents/skills
cp -R 37signals-skills/skills/* ~/.agents/skills/
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add marckohlbrugge/37signals-skills
新手?先看 mcpskill.org 教程 →