Jr Rails Pr Tourのロゴ

Jr Rails Pr Tour

コミュニティ
julianrubisch
jr-rails-pr-tour

大規模なRailsのプルリクエスト/マージリクエストを、読み進めやすい順序に整理します。関連ファイルを章ごとにまとめ、Railsのレイヤーと依存関係に沿って並べます。それぞれに「ここにある理由」を一行で示し、変更頻度×複雑さに基づくリスクバッジを付けます。PRを別のブラウザータブで確認できるアーティファクトとして公開します。GitHubとGitLabに対応しています。

Add to TypingMind

概要

公開者julianrubisch
リポジトリskills
スキル名jr-rails-pr-tour
スター
30
フォーク
2
同梱ファイル
44
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 44個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    julianrubischがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Jr Rails Pr Tour」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/julianrubisch/skills/tree/main/jr-rails-pr-tour
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/julianrubisch/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/jr-rails-pr-tour .claude/skills/jr-rails-pr-tour
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでJr Rails Pr Tourを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にJr Rails Pr Tourを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Jr Rails Pr Tourは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Rails PR Tour

Code review tools list files alphabetically. For a 40-file PR that is the wrong order: reviewers report more context switching and missed bugs, and what they ask for instead is dependency order and grouping by purpose (Rahman et al., ICSE 2026). Rails makes both cheap: the layer is in the path, and the dependencies are in the constants.

This skill produces a tour: chapters of related files in the order a reviewer should read them, with a reason per file and a risk marker where the reviewer should slow down. It is a map, not a review. A review skill (/code-review, jr-rails-second-opinion, or your own) does the reviewing; this skill tells you where to look first.

Read @references/guide.md and follow it. Do not proceed without it. Host commands and deep-link anchors are in @references/hosts.md. The artifact page is @references/tour-template.html; fill its data block, do not rewrite the page.

Invocation

  • /jr-rails-pr-tour <PR or MR URL>
  • /jr-rails-pr-tour <number> (host inferred from git remote)
  • /jr-rails-pr-tour (current branch vs main, no host links)
  • --artifact / --comment choose the output (page, or PR/MR comment with checkboxes and file links); both flags for both. Without a flag the skill asks
  • --triage splits off a "Safe to skim" chapter for mechanical changes (asked automatically above 30 files)

Operator

Run by the reviewer, from a checkout of the repository under review. The consumer is a human reading the PR in the browser. The artifact opens in one tab and every link targets a second, named tab holding the PR, so the tour drives the diff. GitHub and GitLab refuse to be framed (X-Frame-Options), so an embedded diff is not an option; named-window links are the substitute.

Phase summary

PhaseWhatOutput
0Resolve host, PR, base and head; fetch the diffHOST, PR, file list with stats
1Noise filter: lockfiles, schema dump, fixtures, generated assets; above 30 files, ask whether to triage mechanical changes into a "Safe to skim" chapterskip list, optional skim set
2Signals: Rails layer per file, symbol references between changed files, commit structureedge list, layer map
3Risk: complexity the PR added (attractor diff, else flog, else diff size) and how many of the PR's commits touched each file; ask whether to add the churn × complexity scatterbadge per file, optional chart data
4Chapters: cluster by coupling, order chapters by layer, order files by dependency; name and reshape chapters by judgement; list the routes to open on a dev server per chaptertour JSON
5Ask for the output: page (artifact), PR/MR comment, or both; publishlink and/or comment

Hard rules

Read-only on the repository. The skill inspects the checkout and may create temporary worktrees (attractor does this itself); it never edits, commits, or checks out a different ref in the user's working tree. Installing the attractor gems into the user's Ruby is allowed and expected when no installed Ruby has them (guide, "Finding attractor"); say so in one line when you do it. Starting the project's own devcontainer for QA is allowed, and so is a throwaway one generated in the scratchpad and passed with --config (references/qa-devcontainer.md); starting a server on the host, or adding a devcontainer to the repository, is not.

Every file in the diff appears exactly once, in a chapter or in the skip list. A tour that silently drops files defeats its purpose.

Chapters are a narrative, not a bucket sort. Phase 4 computes clusters mechanically and then you name them and, where the mechanics produced nonsense, reshape them. Say in the chapter's lede what the chapter is about. "Miscellaneous" is not a chapter name.

Risk badges annotate, they never reorder. The reading order comes from dependency and layer. A badge tells the reviewer where to slow down, not to jump ahead. Badges measure the change (complexity added, commits in the PR that touched the file), not the code's history; a historical hotspot is only a modifier.

Write in Simplified Technical English. One idea per sentence, active voice, the code's own names, no metaphors. The rules are in the guide's "Writing rules" section; the reader is scanning between two windows.

Do not review. No findings, no severity, no suggestions. If you notice a bug while building the tour, put one neutral sentence in the file's "what to look for" line and move on.

File layout

jr-rails-pr-tour/
├── SKILL.md                     # This file (entry point)
└── references/
    ├── guide.md                 # Phases 0-5 in detail, tour JSON schema
    ├── hosts.md                 # gh / glab commands, anchor formats, comment posting
    ├── comment-template.md      # The tour as a PR/MR comment (load when that output is chosen)
    ├── qa-devcontainer.md       # Throwaway container for QA, outside the repo (load only on a yes)
    └── tour-template.html       # Artifact page; fill the data block only

Load reference files only when you need them.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Jr Rails Pr Tour」では何ができますか?

大規模なRailsのプルリクエスト/マージリクエストを、読み進めやすい順序に整理します。関連ファイルを章ごとにまとめ、Railsのレイヤーと依存関係に沿って並べます。それぞれに「ここにある理由」を一行で示し、変更頻度×複雑さに基づくリスクバッジを付けます。PRを別のブラウザータブで確認できるアーティファクトとして公開します。GitHubとGitLabに対応しています。

TypingMindでJr Rails Pr Tourを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Jr Rails Pr Tourはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにJr Rails Pr Tourをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/julianrubisch/skills/tree/main/jr-rails-pr-tourを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Jr Rails Pr Tourを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Jr Rails Pr Tourで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもJr Rails Pr Tourを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Jr Rails Pr Tour」は無料ですか?

はい。julianrubischがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇