mcpField
R
rails-guides

rails-guides

github.com/lucianghinda開発441103 回インストール1 週間前に更新
リポジトリ

rails-guides について

rails-guidesは、公式Railsドキュメントをテーマ別に整理した開発者向けリファレンススキルです。入門、モデル、コントローラーから、セキュリティ、テスト、デプロイ時の性能、拡張機能までを扱います。

主な機能

  1. 01Railsの導入と設定のリファレンス
  2. 02Active Recordとデータベースの項目
  3. 03コントローラー、ビュー、ルーティングのガイド
  4. 04テスト、セキュリティ、性能の資料
  5. 05エンジン、ジェネレーター、プラグインの文書

活用シーン

  1. 01Rails機能の開発リファレンスを検索
  2. 02Active Recordのクエリやマイグレーションを確認
  3. 03アプリケーションのセキュリティや性能の指針を参照

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/lucianghinda/rubypowers --skill rails-guides

インストール後、Claude Code で/rails-guidesを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

references/
action_mailbox_basics.md
action_text_overview.md
action_controller_advanced_topics.md
action_view_overview.md
action_view_helpers.md
action_cable_overview.md
action_mailer_basics.md
action_controller_overview.md
active_job_basics.md
active_record_composite_primary_keys.md
active_model_basics.md
active_record_basics.md
active_record_callbacks.md
active_record_encryption.md
active_record_multiple_databases.md
active_record_postgresql.md
api_app.md
active_support_instrumentation.md
active_record_migrations.md
active_record_validations.md
association_basics.md
active_storage_overview.md
autoloading_and_reloading_constants.md
caching_with_rails.md
asset_pipeline.md
command_line.md
debugging_rails_applications.md
error_reporting.md
active_record_querying.md
engines.md

詳細

Rails ガイド

開発時の参照用となる Rails の公式ドキュメントです。

トピック一覧

はじめに
  • references/getting_started.md — Rails の基本、MVC の概要、最初のアプリの作成手順
  • references/command_line.md — rails コマンド、ジェネレーター、rake タスク
  • references/configuring.md — 環境、イニシャライザー、認証情報、database.yml
  • references/autoloading_and_reloading_constants.md — Zeitwerk、モジュールの命名、再読み込みの動作
  • references/initialization.md — Rails の起動シーケンス、railties、エンジン
Active Record
  • references/active_record_basics.md — モデル、CRUD、規約、マイグレーション
  • references/active_record_querying.md — 検索メソッド、スコープ、結合、includes、explain
  • references/active_record_validations.md — 組み込みバリデーター、カスタムバリデーター、エラー
  • references/active_record_callbacks.md — ライフサイクルフック、after_commit、skip_callback
  • references/association_basics.md — belongs_to、has_many、has_one、HABTM、ポリモーフィック関連
  • references/active_record_migrations.md — スキーマ変更、ロールバック可能なマイグレーション、db:migrate
  • references/active_record_encryption.md — 保存データの属性の暗号化
  • references/active_record_composite_primary_keys.md — 複数カラムの主キー
  • references/active_record_multiple_databases.md — 複数データベースの設定、シャーディング、レプリカ
  • references/active_record_postgresql.md — PostgreSQL 固有の機能(hstore、jsonb、配列)
  • references/active_model_basics.md — ActiveRecord 以外での ActiveModel、フォームオブジェクト
Action Controller
  • references/action_controller_overview.md — コントローラー、params、フィルター、セッション、Cookie
  • references/action_controller_advanced_topics.md — ストリーミング、ライブ、メタル、HTTP 認証
  • references/routing.md — リソース、名前空間、制約、名前付きルート、URL ヘルパー
Action View
  • references/action_view_overview.md — テンプレート、パーシャル、レイアウト、フォーマット
  • references/action_view_helpers.md — form_with、link_to、tag、content_tag、アセットヘルパー
  • references/form_helpers.md — form_with、フィールドヘルパー、ネストされたフォーム、アップロード
  • references/layouts_and_rendering.md — render、redirect_to、respond_to、レイアウトの継承
フロントエンド / Hotwire
  • references/working_with_javascript_in_rails.md — Import Maps、Turbo、Stimulus の概要
  • references/action_text_overview.md — Trix によるリッチテキスト、添付ファイル
ジョブとメーラー
  • references/active_job_basics.md — ジョブクラス、キュー、再試行、テストヘルパー
  • references/action_mailer_basics.md — メーラー、テンプレート、配信、プレビュー
  • references/action_mailbox_basics.md — 受信メールのルーティングと処理
ストレージ
  • references/active_storage_overview.md — ファイルアップロード、バリアント、ダイレクトアップロード、S3/GCS/Azure
テスト
  • references/testing.md — Minitest、フィクスチャ、テストの種類、ヘルパー、アサーション
リアルタイム
  • references/action_cable_overview.md — WebSocket、チャネル、ブロードキャスト、接続
セキュリティとパフォーマンス
  • references/security.md — SQL インジェクション、XSS、CSRF、マスアサインメント、セキュアヘッダー
  • references/caching_with_rails.md — フラグメント、アクション、HTTP キャッシュ、キャッシュストア
  • references/asset_pipeline.md — Sprockets、Propshaft、事前コンパイル、ダイジェスト
  • references/tuning_performance_for_deployment.md — Puma、コネクションプーリング、GC
国際化
  • references/i18n.md — 翻訳ファイル、ロケール、複数形、日付形式
API と Rack
  • references/api_app.md — API 専用 Rails、スリムなミドルウェアスタック
  • references/rails_on_rack.md — ミドルウェアスタック、Rack との統合
Rails の拡張
  • references/engines.md — マウント可能なエンジン、分離された名前空間、フック、テスト
  • references/generators.md — カスタムジェネレーター、テンプレート、デフォルトの上書き
  • references/plugins.md — gem ベースのプラグインの作成、コア拡張、テスト
高度な内容
  • references/active_support_core_extensions.md — String、Array、Hash、Date の拡張
  • references/active_support_instrumentation.md — Notifications、ログサブスクライバー
  • references/association_basics.md — アソシエーションのオプション、Eager Loading の戦略
  • references/debugging_rails_applications.md — debug gem、logger、web-console、byebug
  • references/error_reporting.md — Error::Reporter、Sentry との連携
  • references/threading_and_code_execution.md — スレッドセーフ、executor、reloader
  • references/upgrading_ruby_on_rails.md — バージョンアップグレードの手順、非推奨機能への対応

コメント