aj-geddes avatar

Ruby Rails Application

This covers the full Rails stack from project setup through authentication, with reference guides for models, controllers, migrations, and Active Record queries. You'll want this when building any Rails API or full-stack app that needs proper MVC architecture, database relationships, and JWT auth. The best practices section is solid on the usual Rails pitfalls like N+1 queries and putting business logic in controllers. It's focused on API mode with PostgreSQL, which is probably the most common Rails setup these days. The references walk through serializers and RESTful patterns, so it's clearly aimed at developers who know Ruby but want Rails conventions done right.

skills.sh installs
660
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill ruby-rails-application --agent claude-code

Installs into .claude/skills of the current project.

Files

Ruby Rails Application

Table of Contents

Overview

Build comprehensive Ruby on Rails applications with proper model associations, RESTful controllers, Active Record queries, authentication systems, middleware chains, and view rendering following Rails conventions.

When to Use

  • Building Rails web applications
  • Implementing Active Record models with associations
  • Creating RESTful controllers and actions
  • Integrating authentication and authorization
  • Building complex database relationships
  • Implementing Rails middleware and filters

Quick Start

Minimal working example:

rails new myapp --api --database=postgresql
cd myapp
rails db:create

Reference Guides

Detailed implementations in the references/ directory:

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Backend & APIs, Security, Code Review & Quality, AI & Agent Building, Databases
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1mvanhorn avatarpp-archive-ismvanhorn/printing-press-libraryUse this skill whenever the user wants to archive a URL, bypass a paywall, look up an existing archive, view a cached version of a webpage, pull article text fr651skills.sh installs
2riba2534 avatarfeishu-cli-bitableriba2534/feishu-cli飞书多维表格(Bitable/Base)操作。底层使用 base/v3 新 API,支持视图完整配置写入、 记录 upsert、记录批量获取、记录附件上传下载、记录修改历史、角色 CRUD + 协作者增删、 多维表格本体重命名/高级权限开关、数据聚合查询、 仪表盘 + 仪表盘块 CRUD、表单 + 表单问题 CRUD、648skills.sh installs
3sanjay3290 avatarpostgressanjay3290/ai-skillsExecute read-only SQL queries against multiple PostgreSQL databases. Use when: (1) querying PostgreSQL databases, (2) exploring database schemas/tables, (3) run646skills.sh installs
4alirezarezvani avatarsaas-scaffolderalirezarezvani/claude-skillsGenerates complete, production-ready SaaS project boilerplate including authentication, database schemas, billing integration, API routes, and a working dashboa641skills.sh installs
5fugazi avatarplaywright-e2e-testingfugazi/test-automation-skills-agentsAuthor and maintain versioned Playwright (@playwright/test) TypeScript UI specs for browser user flows. Use when asked to create, run, debug, or refactor E2E te634skills.sh installs
6intellectronica avatartavilyintellectronica/agent-skillsUse this skill for web search, extraction, mapping, crawling, and research via Tavily’s REST API when web searches are needed and no built-in tool is available,631skills.sh installs