Gh Pr Feedback Loopのロゴ

Gh Pr Feedback Loop

コミュニティ
jpoehnelt
gh-pr-feedback-loop

Publish a GitHub pull request and carry it through CI, review feedback, rebases, and merge readiness, merging only with explicit authorization. Use when opening or updating a PR, addressing review comments, monitoring checks, rebasing, or continuing a PR to a terminal state. For read-only review of new commits, use gh-pr-commit-review.

概要

公開者jpoehnelt
リポジトリskills
スキル名gh-pr-feedback-loop
スター
23
フォーク
1
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

PR feedback loop

Carry a PR from creation to a clean head. Merge only with explicit authorization.

Repo facts (from AGENTS.md or CLAUDE.md): validation and check commands, commit and PR title conventions, PR template, required PR metadata (linked issue or ticket, changeset or change note), and which gates need a human.

Establish live state

  1. Run scripts/pr-snapshot.sh <pr-number-or-url> [owner/repo]. It prints head and base SHAs, check runs, commit statuses, reviews, unresolved review threads, and inline comments, using the origin remote by default.
  2. Read unresolved review threads before changing anything. Inline comments carry no resolved state; if the script cannot read threads, use the GitHub MCP tools or the web UI.
  3. Run git status --short and confirm the actual base branch. Stacked PRs do not target the default branch.

Publish

  1. Use the repo's commit and PR title convention (often Conventional Commits). Keep a PR to one concern; stack PRs only when one truly depends on another.
  2. Fill the PR template and any required metadata. Describe the observable change (comms-impact for who it affects, now and before) and the validation you ran (comms-technical-writing).
  3. Run the narrowest sufficient validation from AGENTS.md, then the repo's pre-PR gate, before pushing.
  4. Open the PR ready for review unless a draft is requested.
  5. If gh pr edit fails on a GraphQL error, update the body with gh api repos/<owner>/<repo>/pulls/<n> -X PATCH -f body=....

Loop

While checks are pending or feedback is actionable, keep one check-in scheduled about every 10 minutes instead of a blocking poll loop. Take one snapshot now and let the check-in observe the rest. Bound external commands with timeouts.

Each iteration:

  1. Refresh the snapshot; list failing checks and unresolved threads on the current head SHA.
  2. Route CI failures to gh-ci-triage and retired-path or migration proofs to eng-cutover-verification. Route deploy and secret failures to the repo's deploy guidance.
  3. Fix code, lint, type, and test issues directly. Validate with focused checks, commit, and push.
  4. Use --force-with-lease only after rebasing a branch you own; on someone else's branch, merge the base instead. After a rebase, run git range-diff <old-base>..<old-head> <new-base>..<new-head> to confirm only intended changes moved.
  5. If a workflow pushes bot commits to the branch (formatting, image optimization), git pull --rebase before the next push.
  6. Re-read threads before replying so you do not answer twice. Reply on each addressed thread, and resolve only threads you were asked to own. A reply alone does not resolve a finding.
  7. Keep the PR body and linked issue scope accurate after the scope changes.
  8. Every push resets approvals bound to a SHA (visual baselines, reviews). Batch fixes into one push per review round, and finish copy and PR body edits before pushing.
  9. After a squash merge, start follow-up work on a fresh branch from the base (git switch -c <new> origin/<base>); the old branch's commits are not ancestors of it.
  10. If a thread reply fails with "one pending review per pull request", submit or delete the pending review. Do not fall back to a top-level comment.

Clean head

A head is clean when every applicable check on the current head SHA passes, required validation is complete, and no actionable review feedback remains. Pending or cancelled required checks are not clean. An outstanding human approval (review, visual baseline, credentials, hardware) is a human gate, not a failure; never approve it yourself.

Merge-queue-only checks still have to pass after an authorized merge enters the queue. A clean PR head does not prove they pass.

Stop when

  • the current head is clean (leave the PR open unless merging is authorized);
  • the PR is merged or closed;
  • the user pauses, cancels, or asks for a status report;
  • the remaining gate needs a human.

A stopped check-in does not see later events. When a new commit, review, or check result arrives, refresh the snapshot and re-arm one check-in if work remains.

Verify

  • The current head SHA was re-checked after every push, and its checks are green or a named human gate remains.
  • No unresolved thread lacks a fix or a reply.
  • Title and commits follow the repo's convention; required PR metadata is present.
  • The PR body still describes the current head.
  • Local git status is clean and the branch matches the PR head.
  • No merge, deploy, baseline approval, or --no-verify without authorization.

同梱ファイル

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

よくある質問

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

Publish a GitHub pull request and carry it through CI, review feedback, rebases, and merge readiness, merging only with explicit authorization. Use when opening or updating a PR, addressing review comments, monitoring checks, rebasing, or continuing a PR to a terminal state. For read-only review of new commits, use gh-pr-commit-review.

TypingMindでGh Pr Feedback Loopを使うメリットは何ですか?

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

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

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

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

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

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

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

AIスキル「Gh Pr Feedback Loop」は無料ですか?

はい。jpoehneltがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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