Pr Workflowのロゴ

Pr Workflow

コミュニティ
Mikedev115
pr-workflow

How to open a pull request that gets reviewed, and how to review one properly. Use when opening, describing, reviewing, updating or merging a PR.

概要

公開者Mikedev115
リポジトリAetox-Harness
スキル名pr-workflow
スター
142
フォーク
28
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Pull requests

Before you open one

Read your own diff first. Not the summary of what you intended — the diff. Half of everything a reviewer would catch is visible there: a debug print left in, a file added by accident, a change that touched more than the job asked for.

Check the house style. Look at the last handful of merged pull requests in this repository. They tell you the commit message convention, whether the project squashes, whether descriptions are prose or a template, and how big a normal change is here. Match that.

One pull request, one reason. A change that needs "and" in its title is two pull requests, and it will sit unreviewed for a week because nobody has a clear hour. Splitting it is nearly always faster in wall-clock time than defending it.

The description

The reviewer's questions, in the order they ask them:

  1. What does this do — one sentence a non-author understands.
  2. Why — the bug, the issue number, the thing that was slow. If an issue exists, Closes #123 links and closes it on merge.
  3. What to look at — where the risk is, and what you are unsure of. A reviewer told "the retry logic in client.go is the part I'd check" reviews better than one handed twelve files and no map.
  4. How it was verified — the test that now passes, or the steps you ran. "Tested locally" is not this.

Leave out the file-by-file narration. The diff already says it, and the reviewer is reading both.

Open it as a draft if the work continues. A draft says "not yet" without anyone having to ask.

Reviewing one

Look for these, roughly in this order — the order is what makes a review useful rather than exhaustive:

  • Does it do what it says? The commonest defect is a change that works and is not the change described.
  • What happens on the unhappy path — the error not handled, the empty list, the nil, the second concurrent call, the request that times out halfway.
  • Anything irreversible or outward-facing — a migration, a deletion, a default that changes, an endpoint that starts returning something new to someone who did not ask for it.
  • Secrets, and what is now logged. A token in a log line is a leak with a long tail.
  • Is it tested where it can break, rather than tested where it is easy.

Then say which comments are blocking and which are not. A review of nine suggestions with no indication of weight reads as "rewrite it", and that is usually not what was meant.

Be specific and be about the code. "This will panic when rows is empty" is a review. "This feels off" is a delay.

Answering a review

Address every comment — a fix, or a reason. A thread left silent is one the reviewer has to chase, and chasing is what makes review slow enough that people stop doing it. When you disagree, say why once and let them decide; you are not the one merging.

Push fixes as new commits rather than force-pushing while the review is live, so the reviewer can read what changed since they looked. Tidy the history when it is approved, if the project wants that.

Merging

Merging is somebody's decision, and by default it is not yours. Prepare it, say what you are about to merge and into which branch, and let the caller say go. See the line in your own instructions.

When you do merge, follow the repository:

  • Squash — the common default. One commit per pull request, and the history reads as a list of changes. Fix the squash message; the auto-generated one is a list of "wip" commits.
  • Merge commit — keeps every commit, and the branch shape with it. Used where the individual commits are meant to be bisectable.
  • Rebase — linear history, no merge commit, and it rewrites hashes.

Afterwards: delete the branch if the repository does not do it automatically, check the issue actually closed, and — if this deploys on merge — watch the first run rather than walking away from it.

よくある質問

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

How to open a pull request that gets reviewed, and how to review one properly. Use when opening, describing, reviewing, updating or merging a PR.

TypingMindでPr Workflowを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Mikedev115/Aetox-Harness/tree/main/internal/subagent/profiles/agents/github/skills/pr-workflowを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

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

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

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

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

AIスキル「Pr Workflow」は無料ですか?

Mikedev115がGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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