شعار Jr Rails Pr Tour

Jr Rails Pr Tour

المجتمع
julianrubisch
jr-rails-pr-tour

حوّل طلب سحب/دمج كبيراً في Rails إلى ترتيب قراءة موجّه: فصول تضم ملفات مترابطة، مرتبة بحسب طبقة Rails والاعتماديات، ويحتوي كل منها على سطر واحد يوضح «لماذا هنا» وشارة مخاطر تجمع بين معدل التغييرات والتعقيد. يُنشر الناتج كمُخرَج يوجّه مراجعة طلب السحب في علامة تبويب ثانية بالمتصفح. GitHub وGitLab.

Add to TypingMind

نظرة عامة

الناشرjulianrubisch
المستودعskills
اسم المهارةjr-rails-pr-tour
النجوم
30
التفريعات
2
الملفات المرفقة
44
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 44

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها julianrubisch على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Jr Rails Pr Tour في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/julianrubisch/skills/tree/main/jr-rails-pr-tour
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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

فعّل Jr Rails Pr Tour في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Jr Rails Pr Tour تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Jr Rails Pr Tour بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Jr Rails Pr Tour؟

حوّل طلب سحب/دمج كبيراً في Rails إلى ترتيب قراءة موجّه: فصول تضم ملفات مترابطة، مرتبة بحسب طبقة Rails والاعتماديات، ويحتوي كل منها على سطر واحد يوضح «لماذا هنا» وشارة مخاطر تجمع بين معدل التغييرات والتعقيد. يُنشر الناتج كمُخرَج يوجّه مراجعة طلب السحب في علامة تبويب ثانية بالمتصفح. GitHub وGitLab.

لماذا تستخدم Jr Rails Pr Tour على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Jr Rails Pr Tour عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Jr Rails Pr Tour في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/julianrubisch/skills/tree/main/jr-rails-pr-tour. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Jr Rails Pr Tour؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Jr Rails Pr Tour؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Jr Rails Pr Tour معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Jr Rails Pr Tour مجانية؟

نعم. نشرها julianrubisch على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇