37signals-api

Community

Single-controller Rails APIs with JSON via Jbuilder.

Authorjoshyorko
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rails apps often need to expose RESTful APIs without creating separate controller trees. This skill shows how to serve both HTML and JSON from the same controller using respond_to blocks and Jbuilder templates, aligning API design with traditional Rails workflows.

Core Features & Use Cases

  • Single controller handles HTML and JSON responses via respond_to blocks.
  • Jbuilder templates power structured JSON payloads with minimal boilerplate.
  • Use cases include public APIs, internal dashboards, and mobile clients that reuse existing Rails resources.

Quick Start

Create a Boards controller that responds to both HTML and JSON and add corresponding index/show JSON templates.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: 37signals-api
Download link: https://github.com/joshyorko/agent-skills/archive/main.zip#37signals-api

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.