grape-idioms
CommunityIdiomatic Grape APIs with Rails integration.
Authorslbug
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Defines and enforces idiomatic Grape API practices to reduce design drift, improve input validation, and ensure consistent error handling across Rails apps.
Core Features & Use Cases
- Define input contracts with params do and declared(params, include_missing: false) to shape inbound data.
- Standardize error envelopes, rescue_from handlers, and versioning strategies to maintain consistent API behavior.
- Use grape-entity/presenter patterns to shape responses and share logic with Rails controllers.
- Rails integration tips to align Grape endpoints with Rails apps and reuse services.
Quick Start
Define a basic Grape API with input contracts using params do and declared(params, include_missing: false), add standardized error handling, and implement versioned routes.
Dependency Matrix
Required Modules
None requiredComponents
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: grape-idioms Download link: https://github.com/slbug/claude-ruby-grape-rails/archive/main.zip#grape-idioms Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.