跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

rails-deps

Configure recommended Rails development dependencies. Checks for essential gems like strong_migrations, herb, bullet, and letter_opener. Provides installation and configuration guidance.

iuhoay · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add iuhoay/skills --skill rails-deps

技能说明


name: rails-deps description: Configure recommended Rails development dependencies. Checks for essential gems like strong_migrations, herb, bullet, and letter_opener. Provides installation and configuration guidance. allowed-tools:

  • Read
  • Glob
  • Grep
  • Bash

Rails Dependencies

Configure recommended Rails development dependencies for better developer experience and code quality.

Quick Start

Run /rails-deps:check to see which recommended gems are installed in your project.

Recommended Gems

GemCategoryPurpose
strong_migrationsSafetyCatch unsafe migrations in development
herbToolingHTML+ERB parsing, formatting, and linting
bulletPerformanceDetect N+1 queries
letter_openerDevelopmentPreview emails in browser

Commands

CommandDescription
/rails-deps:checkCheck which recommended gems are installed
/rails-deps:install [gem]Install and configure a specific gem
/rails-deps:setupInteractive setup for all recommended gems

Gem Details

For detailed installation and configuration guides, see:

GemReference
strong_migrationsstrong_migrations.md - Catch unsafe migrations
herbherb.md - HTML+ERB parsing and tooling
bulletbullet.md - N+1 query detection
letter_openerletter_opener.md - Email preview

Quick Install Commands

# strong_migrations
gem "strong_migrations"
bundle install && rails generate strong_migrations:install

# herb
gem "herb", group: :development
bundle install && bundle exec herb analyze .

# bullet
gem "bullet", group: :development
# Add configuration to config/environments/development.rb

# letter_opener
gem "letter_opener", group: :development
# Set delivery_method to :letter_opener in development.rb

Triggers

This skill activates when you mention:

  • "setup dependencies", "configure gems", "install strong_migrations"
  • "setup herb", "install bullet", "letter_opener"
  • "rails development gems", "project setup", "recommended gems"