Logo di Jr Rails Pr Tour

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.

Panoramica

Pubblicato dajulianrubisch
Repositoryskills
Nome della skilljr-rails-pr-tour
Stelle
30
Fork
2
File inclusi
44
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 44

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da julianrubisch su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Jr Rails Pr Tour in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/julianrubisch/skills/tree/main/jr-rails-pr-tour
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Jr Rails Pr Tour in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Jr Rails Pr Tour non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Jr Rails Pr Tour non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Jr Rails Pr Tour su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Jr Rails Pr Tour è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Jr Rails Pr Tour in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/julianrubisch/skills/tree/main/jr-rails-pr-tour. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Jr Rails Pr Tour?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Jr Rails Pr Tour?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Jr Rails Pr Tour: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Jr Rails Pr Tour è gratuita?

Sì. È pubblicata su GitHub da julianrubisch con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇