Communityコーディング&開発github.com

duongphuhiep/dakubo-skills

ユーザーが未解決のPRコメント、レビュー指摘、プルリクエスト上の未処理フィードバックを確認したい場合に使用します。

dakubo-skills とは?

このスキルは、プルリクエスト(PR)上の未解決コメントを表形式で一覧表示します。開発者がレビューで指摘された未対応の問題を効率的に把握し、見落としを防止するために役立ちます。対応プラットフォームはGitHub CLI(gh)とGitHub APIを利用するため、GitHubリポジトリで動作します。動作の流れは次の通りです:まず現在のブランチ名や会話のコンテキストからPR番号を特定し、GitHub API(pull request review comments、issue comments、review threads)を利用してコメントデータを取得します。未解決のスレッド(isResolved: false)のみをフィルタリングし、コメントの内容を解析してカテゴリ(例:question、potential bug、suggestionなど)を自動分類した上で、ファイルパスと行番号を含む簡潔な表をマークダウン形式で出力します。PRレベルのコメントには位置情報として「(PR-level)」と表示します。出力の最後には、要約行として未解決コメント数とPRタイトルを表示します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/duongphuhiep/dakubo-skills/tree/HEAD/package/skills/dakubo-display-pr-remarks

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

PRコメントの表示

プルリクエスト上の未解決コメントを表形式で一覧表示します。

入力

PR番号を以下の優先順位で特定します:

  1. 現在の会話のコンテキストから推測する。
  2. 現在のブランチ名から解析する(例:APIF-1234/some-feature → そのブランチのPRを検索)。
  3. 曖昧な場合は、ユーザーに問い合わせる。

処理

# 現在のブランチからPR番号を検索
gh pr list --head "$(git rev-parse --abbrev-ref HEAD)" --json number,url --jq '.[0]'

# すべてのレビューコメント+Issueコメントを取得
gh pr view <PR> --json reviews,comments

# またはインラインコメントを取得
gh api repos/:owner/:repo/pulls/<PR>/comments
gh api repos/:owner/:repo/issues/<PR>/comments

gh api を使用して以下を取得します:

  • プルリクエストレビューコメント(インライン、差分上):GET /repos/{owner}/{repo}/pulls/{pull_number}/comments
    • これらには path(ファイル)と line(または original_line)フィールドが含まれます。
  • Issueレベルのコメント(一般):GET /repos/{owner}/{repo}/issues/{pull_number}/comments
    • これらにはファイル/行番号がありません(PRレベルです)。Locationは空白にします。
  • 解決状態を含むレビュースレッド:gh pr view <PR> --json reviewThreads

未解決のスレッド(isResolved: false)のみをフィルタリングします。スレッドに属さないコメントはすべて含めます。

出力

マークダウンテーブルを表示します:

#作成者カテゴリメッセージ場所
1@alice質問

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

duongphuhiep/dakubo-skills

Use when the user wants to respond to a code review remark by adding a clarifying comment to the source code — so the reviewer understands the reasoning and won't raise the same remark again. Triggers on "answer remark #N", "add comment to address reviewer concern", "document why we did X", or any request to resolve a review finding through in-code explanation rather than a code change.

duongphuhiep/dakubo-skills

Use when the user wants to reply to a code review remark on a GitHub pull request and resolve its thread. Triggers on "answer remark #N in the PR", "reply to the reviewer", or "resolve this review comment".

duongphuhiep/dakubo-skills

Traces the full call chain from a given symbol or code location up to all entry points that can reach it (HTTP controllers, main functions, page components, routes, etc.). Works for any language indexed by CodeGraph. Use for blast-radius analysis before modifying a function, method, or class.

duongphuhiep/dakubo-skills

Consolidates multiple fragmented OpenSpec capability folders under openspec/specs/ into a single main feature spec, through a staged/approved workflow. Use this whenever the user says openspec/specs/ is cluttered, has too many similar or overlapping capability folders, asks to merge/consolidate/combine specs, wants to clean up specs split across several separate change archives (e.g. specs/user-show/, specs/user-detail/ that should really be one specs/user-management/), or asks to check/apply a pending merged spec under openspec/specs/.merged-specs/. Do NOT use this for a normal single /opsx:archive of one change — only for merging several already-archived, already-existing spec folders together.

関連スキル