Jr Rails Pr Tour logo

Jr Rails Pr Tour

Community
julianrubisch
jr-rails-pr-tour

Turn a large Rails pull/merge request into a guided reading order: chapters of related files, ordered by Rails layer and dependency, each with a one-line "why here" and a churn-x-complexity risk badge. Published as an artifact that drives the PR in a second browser tab. GitHub and GitLab.

Overview

Publisherjulianrubisch
Repositoryskills
Skill namejr-rails-pr-tour
Stars
30
Forks
2
Bundled files
44
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 44 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by julianrubisch on GitHub. Read the source before you install it.

Installation

Install the Jr Rails Pr Tour AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/julianrubisch/skills/tree/main/jr-rails-pr-tour
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Jr Rails Pr Tour in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Jr Rails Pr Tour on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Jr Rails Pr Tour is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Jr Rails Pr Tour AI skill do?

Turn a large Rails pull/merge request into a guided reading order: chapters of related files, ordered by Rails layer and dependency, each with a one-line "why here" and a churn-x-complexity risk badge. Published as an artifact that drives the PR in a second browser tab. GitHub and GitLab.

Why use Jr Rails Pr Tour on TypingMind?

Because you install it once and use it with any model. Jr Rails Pr Tour is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Jr Rails Pr Tour in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/julianrubisch/skills/tree/main/jr-rails-pr-tour. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Jr Rails Pr Tour?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Jr Rails Pr Tour?

As many as you like. As long as a model supports skills, you can use Jr Rails Pr Tour with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Jr Rails Pr Tour AI skill free?

Yes. It is published on GitHub by julianrubisch under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇