37signals Style logo

37signals Style

Community
marckohlbrugge
37signals-style

Apply 37signals' opinionated Rails style (Fizzy, Campfire, DHH's reviews) - rich models over service objects, state as records instead of booleans, CRUD-only routing, predicate-method authorization, vanilla Rails over gems. Use for Rails coding, refactoring and review in apps that follow 37signals/DHH conventions, or when the user asks to write Rails "the 37signals way".

Overview

Publishermarckohlbrugge
Repositoryskills
Skill name37signals-style
Stars
749
Forks
57
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by marckohlbrugge on GitHub. Read the source before you install it.

Installation

Install the 37signals Style AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/marckohlbrugge/skills/tree/main/skills/37signals-style
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/marckohlbrugge/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/37signals-style .claude/skills/37signals-style
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 37signals Style in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 37signals Style on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 37signals Style is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

37signals Style

The opinionated layer on top of rails-best-practices-core. Distilled from 37signals codebases (Campfire, Fizzy) and DHH's review patterns. Not everyone writes Rails this way; apply it where the app already does, or where the user asks for it.

Rich Models, No Service Layer

  • Domain behavior lives in models. No app/services/, form objects or decorators.
  • POROs live in app/models/: presentation objects (Event::Description), complex operations (SystemCommenter), view-context bundles (User::Filtering). They're model-adjacent, not controller-adjacent.
  • Slice large models into concerns named for capability (Closeable, Watchable, Assignable), each self-contained (associations + scopes + methods), ~50-150 lines, cohesive. Prefer nested modules under the model's namespace (Card::Closeable in app/models/card/closeable.rb) for domain slices; reserve app/models/concerns/ for genuinely cross-model behavior. Never extract concerns containing only private methods.
  • Association extensions for bulk domain operations: define grant_to/revise on the has_many proxy; use insert_all for bulk creates and dependent: :delete_all on join tables with no callbacks.

State as Records, Not Booleans

Instead of closed: boolean, create a Closure record with creator and timestamps. You get who/when for free, and scoping is trivial:

ruby
has_one :closure, dependent: :destroy
scope :closed, -> { joins(:closure) }
scope :open, -> { where.missing(:closure) }

Request Context

  • Current attributes (Current.user, Current.account), with cascading setters (assigning session resolves identity, which resolves user for the account).
  • Default values via lambdas: belongs_to :creator, class_name: "User", default: -> { Current.user }; belongs_to :account, default: -> { board.account }.
  • Human-friendly URLs: override to_param with a per-tenant number rather than exposing raw IDs/UUIDs.

Everything Is CRUD

  • Turn verbs into nouns. Close → resource :closure (POST closes, DELETE reopens); publish → resource :publication. No custom member actions.
  • Singular resource for one-per-parent state; scope module: to group nested controllers (Cards::ClosuresController); shallow nesting for deep hierarchies.
  • Resource-scoping controller concerns (CardScoped sets @card via Current.user.accessible_cards.find_by!(...)) shared across nested controllers, including shared Turbo render helpers.
  • Same controllers serve HTML/Turbo/JSON via respond_to; no separate API namespace.

Authorization Without a Library

  • No Pundit/CanCanCan: simple predicate methods on models (card.editable_by?(user), user.can_administer_board?(board)).
  • Controllers check (head :forbidden unless ...), models define what the permission means.
  • Declarative controller macros for auth posture: allow_unauthenticated_access, ensure_can_administer.

Vanilla Rails Over Gems

Before adding a gem ask: is 50-150 lines in-repo simpler than a dependency? Commonly skipped: Devise, Pundit, ViewComponent, RSpec, FactoryBot, Redis (Solid Queue/Cache/Cable use the DB), service objects, form objects, decorators, GraphQL, SPA frameworks, Tailwind.

Testing in this style: 37signals-testing. Review in DHH's voice: dhh.

Always Flag

  • Service objects replacing straightforward model methods.
  • Non-RESTful custom actions when resource modeling is clearer.
  • Boolean state columns where a record would capture who/when.
  • Authorization gems or policy objects where a model predicate would do.
  • Private-only concerns: inline them.

Frequently asked questions

What does the 37signals Style AI skill do?

Apply 37signals' opinionated Rails style (Fizzy, Campfire, DHH's reviews) - rich models over service objects, state as records instead of booleans, CRUD-only routing, predicate-method authorization, vanilla Rails over gems. Use for Rails coding, refactoring and review in apps that follow 37signals/DHH conventions, or when the user asks to write Rails "the 37signals way".

Why use 37signals Style on TypingMind?

Because you install it once and use it with any model. 37signals Style is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 37signals Style in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/marckohlbrugge/skills/tree/main/skills/37signals-style. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use 37signals Style?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 37signals Style?

As many as you like. As long as a model supports skills, you can use 37signals Style with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 37signals Style AI skill free?

It is published on GitHub by marckohlbrugge. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇