rails-37-style-features-ai-llm-integration

Community

AI/LLM patterns for Rails apps

AuthorChwistophe
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides battle-tested patterns for integrating AI and LLM features into Rails applications, ensuring robust, scalable, and cost-effective solutions.

Core Features & Use Cases

  • Command Pattern: Implement undoable commands using STI for structured AI interactions.
  • Context Awareness: Enable commands to understand the user's current context (e.g., current page) for relevant actions.
  • Cost Tracking: Precisely monitor LLM API expenses in microcents for budgeting.
  • Tool Pattern: Define LLM-accessible tools for data retrieval and function calling.
  • Confirmation Flows: Implement safe bulk operations with user confirmation prompts.
  • Filter & Ordering: Safely parse LLM-driven filters and sort orders to prevent injection.
  • Use Case: Building a feature like "Fizzy Ask" where users can chat with an LLM to query application data, ensuring the LLM's actions are safe, trackable, and contextually relevant.

Quick Start

Use the rails-37-style-features-ai-llm-integration skill to implement a command pattern for user actions.

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: rails-37-style-features-ai-llm-integration
Download link: https://github.com/Chwistophe/agent-skills-unofficial-37-signals-rails-way-fizzy/archive/main.zip#rails-37-style-features-ai-llm-integration

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 223,000+ vetted skills library on demand.