TR

thibautbaissac/rails_ai_agents

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

671 stars 84 forks 质量 60 趋势 25MIT

thibautbaissac/rails_ai_agents 是从 https://github.com/thibautbaissac/rails_ai_agents. 导入的 MCP 服务器候选人。

概览

thibautbaissac/rails_ai_agents 是从 https://github.com/thibautbaissac/rails_ai_agents. 导入的 MCP 服务器候选人。

概述(AI 翻译)

Ruby on Rails 开发的生产准备 Claude Code 配置:**19 个专用代理,26 个斜杠命令(包括 SDD 套件),18 个技能,14 条规则(11 条路径范围 + 3 条始终在线),1 个 MCP,以及 6 个生命周期钩子。将它放入你的项目中,你的 AI 助手立刻了解 Rails 的惯例、TDD 工作流程和生产模式。

还包括:

  • 规范驱动开发(SDD)套件——完整的规范到实现流水线 + 轻量级模式,用于修复错误。
  • 一个独立的37signals风格约定包(.claude_37signals/),供偏好丰富模型+Minitest而非默认分层设置的团队设计。
  • Claude 代码可扩展性指南
  • 还有更多!

最新更新

  • 添加全强度的穴居人规则(代币简化)
  • 添加计划、审查和PR工件命令。
  • 添加 tmux 会话启动器脚本用于 Rails 开发。

快速启动

如果你愿意… 复制
默认设置(分层架构,RSpec,Pundit,PostgreSQL) .claude/
37signals风格的约定(富模型、关注点、Minitest) .claude_37signals/ 代替 .claude/
规格驱动开发命令(/sdd:*, /sdd-change:*) `.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Rails AI Agents

A production-ready Claude Code setup for Ruby on Rails development: 19 specialized agents, 26 slash commands (including the SDD kit), 18 skills, 14 rules (11 path-scoped + 3 always-on), 1 MCP, and 6 lifecycle hooks. Drop it into your project and your AI assistant instantly knows Rails conventions, TDD workflows, and production patterns.

Also includes:

  • Spec Driven Development (SDD) kit — a full specification-to-implementation pipeline + lightweight mode for bug fixes.
  • a separate 37signals-style conventions pack (.claude_37signals/) for teams that prefer rich models + Minitest over the default layered setup.
  • Claude Code Extensibility Guide
  • and more!

Latest Updates

  • Add caveman rule with full intensity level (token reduction)
  • Add plan, review, and PR artifact commands.
  • Add tmux session launcher script for Rails development.

Quick Start

# Most projects: copy the default .claude/ directory into your Rails project
cp -r .claude/ /path/to/your-rails-app/.claude/
If you want… Copy
Default setup (layered architecture, RSpec, Pundit, PostgreSQL) .claude/
37signals-style conventions (rich models, concerns, Minitest) .claude_37signals/ instead of .claude/
Spec Driven Development commands (/sdd:*, /sdd-change:*) .specify/ in addition to your chosen .claude* pack
Statusline statusline/
Sentry integration mcp/sentry_monitor/

.specify/ is optional unless you want the SDD workflow. .claude_37signals/ is currently a conventions pack (instructions, agents, skills, rules, settings), while the slash-command set documented below lives under .claude/commands/.

OpenAI Codex and GitHub Copilot Support

This repo includes a practical setup for both OpenAI Codex and GitHub Copilot (including different Copilot-backed models such as GPT, Claude, and Gemini), while keeping .claude/ as the canonical source.

  • AGENTS.md is the shared high-level project instruction file.
  • .agents/skills/ is the mirrored skills directory used by Codex and reusable from Copilot.
  • .claude/skills/ remains the canonical source for shared skills.
  • .github/copilot-instructions.md is the Copilot entrypoint.
  • .github/instructions/claude-rules/ contains generated path-scoped bridge files that point back to .claude/rules/.

Because Codex skill discovery is currently unreliable with symlinks, this repo includes a local sync script that copies Claude skills into real directories:

scripts/sync_claude_skills_to_codex.sh
scripts/sync_claude_rules_to_copilot.sh

Run these scripts after adding, removing, or renaming any skill or rule. If Codex or Copilot is already running, restart or reload the chat session to pick up updates.

What’s Inside

Agents (.claude/agents/)

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →