Rseng Code Reviewのロゴ

Rseng Code Review

コミュニティ
fdiblen
rseng-code-review

Covers reviewing existing code and whole projects, not just new diffs: structured codebase audits that produce ranked findings and then implement the agreed improvements, recurring project reviews after major tasks and milestones, review scoping by risk and tier, and turning review findings into tracked work and lessons. Use PROACTIVELY after major tasks and milestones, and when the user asks for a code review, codebase audit or health check of existing code, wants improvements suggested and applied, mentions reviewing the project after a milestone or before a release or submission, or when inherited or long-unreviewed code needs a structured pass. For diff-time pre-review of new work see rseng-pair-programming; for PR-time review process and rules see rseng-version-control-review.

概要

公開者fdiblen
リポジトリrseng-agent-skills
スキル名rseng-code-review
スター
26
フォーク
2
同梱ファイル
1
ライセンスCC-BY-4.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

関連するリクエストがあると、モデルが自動的にRseng Code Reviewを読み込みます。

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Code and project review

Most review attention goes to new diffs; most risk lives in the code nobody has looked at for a year. This skill covers the retrospective forms: reviewing the EXISTING codebase with findings ranked and then implemented, and reviewing the PROJECT on a cadence - after milestones, before releases and submissions. Division of labor: rseng-pair-programming owns diff-time pre-review of new work; rseng-version-control-review owns the review process and rules; this skill owns review as an undertaking on what is already there. Review-then-implement is a two-phase contract: findings first, agreement second, changes third - never silent rewriting under the review's flag.

The codebase review

Scope before depth - review the code that matters most:

  1. Map risk: recently churned complex modules (rseng-software-metrics' hotspot map), result-bearing code paths (what feeds published numbers), security surfaces (rseng-security), and anything the tests do not reach (rseng-testing's coverage). Review THOSE deeply; skim the rest.
  2. Sweep with the pack's lenses, each producing findings with file:line evidence: correctness and silent-failure modes (rseng-defensive-coding), numerical practice (rseng-numerical-accuracy), design and coupling (rseng-software-design), performance red flags on hot paths (rseng-performance-profiling), hygiene and dead code (rseng-code-quality), reproducibility hazards - unseeded randomness, unpinned environments, hidden state (rseng-reproducibility, rseng-notebooks).
  3. Rank honestly: must-fix (wrong results possible, data loss, security), should-fix (maintenance debt with a price), and nice (style beyond the linter's remit). Tier calibrates the bar (rseng-quality-framework): analysis code is not reviewed to infrastructure standards.
  4. Deliver findings BEFORE changing anything: the ranked report with evidence is the review; the user picks what gets implemented (defaults offered: all must-fix, should-fix by effort).

Implementing the agreed improvements

  • One finding, one commit: small reviewable changes referencing the finding (rseng-version-control-review), tests first or alongside for behavior-touching fixes - and characterization tests BEFORE touching anything load-bearing and untested (rseng-legacy-code's safety net; review of legacy code IS the legacy workflow).
  • Behavior-preserving by default: refactors keep the tests green; anything that changes results is flagged loudly and decided by the human (the science is theirs - rseng-pair-programming's boundary).
  • Re-run the full verification after the batch: tests, linters, metrics delta (rseng-software-metrics shows the improvement measurably - report before/after numbers).
  • Route the residue: declined findings recorded with reasons in the decision log (rseng-project-tracking), recurring patterns into lint rules or checklists, and the transferable insights into LESSONS.md (rseng-lessons-learned).

The recurring project review

After a major task, milestone or before a release/submission, review the PROJECT, not just the code - a lightweight standing agenda:

  • Code: the codebase review above, scoped to what changed since last time plus one rotating deep-dive area.
  • Quality posture: indicator walk (rseng-quality-framework), FAIR/security assessments re-run and deltas reported (rseng-fairguard, rseng-security).
  • Records current: README and docs truthful (rseng-documentation), citation and contributor records match reality (rseng-citation-metadata), aidecl.yaml up to date (rseng-ai-declaration), tracker and milestones honest (rseng-project-tracking).
  • Reproducibility spot-check: the one-command path still works from clean (rseng-reproducibility).
  • Close the loop: findings become tracked tasks with owners; the review note (date, scope, findings, actions) goes into the project record - and the next review starts by checking the last one's actions landed.

Offer this review PROACTIVELY at natural moments - a milestone just closed, a release is near - as a short menu ("want the post-milestone review? code, records, repro - about 20 minutes"), respecting a decline (rseng-trainer's consensual-offer rule).

Review craft

The comment discipline from rseng-pair-programming applies unchanged: evidence with every claim, reasons with every request, blocking separated from preference, praise where it is earned - and for research code, "what does this number correspond to physically" remains a first-class review question (rseng-research-integrity). Reviews are of code, never of authors; findings in inherited code especially are archaeology, not blame (rseng-lessons-learned's blame-free wording).

Working with this skill

This skill is source-independent: it encodes structured code-review practice applied retrospectively to research software. It composes the pack's lenses into one undertaking and feeds rseng-project-tracking and rseng-lessons-learned.

Learn more (verified):

Related skills

Check whether any of these applies before moving on:

  • rseng-fairguard - assessment reruns during milestone reviews
  • rseng-legacy-code - characterization tests before implementing fixes
  • rseng-lessons-learned - findings become recorded lessons
  • rseng-project-tracking - findings become tracked tasks
  • rseng-quality-framework - tier calibrates the review bar
  • rseng-software-metrics - hotspot map scopes the review

同梱ファイル

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

よくある質問

AIスキル「Rseng Code Review」では何ができますか?

Covers reviewing existing code and whole projects, not just new diffs: structured codebase audits that produce ranked findings and then implement the agreed improvements, recurring project reviews after major tasks and milestones, review scoping by risk and tier, and turning review findings into tracked work and lessons. Use PROACTIVELY after major tasks and milestones, and when the user asks for a code review, codebase audit or health check of existing code, wants improvements suggested and applied, mentions reviewing the project after a milestone or before a release or submission, or when...

TypingMindでRseng Code Reviewを使うメリットは何ですか?

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

TypingMindにRseng Code Reviewをインストールするにはどうすればよいですか?

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

Rseng Code Reviewを使えるAIモデルはどれですか?

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

Rseng Code Reviewは何個のAIモデルで使えますか?

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

AIスキル「Rseng Code Review」は無料ですか?

はい。fdiblenがGitHubでCC-BY-4.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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