Agent skill
create-review-fix-plan
GitHub PRの未解決レビューコメントとCIステータスを確認し、修正プランを作成します。
Install this agent skill to your Project
npx add-skill https://github.com/getty104/claude-code-marketplace/tree/main/base-tools/skills/create-review-fix-plan
SKILL.md
Create Review Fix Plan
GitHubのプルリクエスト(PR)から未解決のレビューコメントとCIステータスを確認し、修正プランを作成します。
Instructions
実行ステップ
1. 未解決のプルリクエストレビューコメントの取得
以下のコマンドを実行して、未解決のプルリクエストレビューコメントを取得します。
bash ${CLAUDE_SKILL_DIR}/scripts/fetch-unresolved-comments.sh
2. CIのステータスの確認
CIのステータスを確認し、失敗している場合は失敗している原因を特定します。
gh pr checks <PR番号>
失敗しているチェックがある場合は、以下のコマンドで詳細なログを確認します。
gh run view <run-id> --log-failed
3. 修正プランの作成
取得した未解決コメントとCIのステータスをもとに、修正プランを作成します。 修正プランは以下のステップで作成してください。
- 未解決コメントの内容を詳細に分析する
- コメントが指摘している問題点や改善点をExploreサブエージェントを用いて特定する
- コメントの背景や意図を理解する
- 修正が必要なコード箇所を特定する
- CIの失敗原因を分析する
- どのテストが失敗しているかを特定する
- 失敗しているテストの内容と関連するコードをExploreサブエージェントを用いて確認する
- 失敗の原因がコードの問題なのか、テストの問題なのかを判断する
- 分析した内容をもとに、具体的な修正プランを策定する
修正プラン作成時の重要なルール
- プランは具体的かつ並列実行可能な単位で分解すること
- CIのエラーはこのPRの変更が原因ではない場合も修正を行うこと
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
bump-version
base-toolsプラグインのバージョン(patchバージョン)をインクリメントし、commit-pushでコミット・プッシュする。「バージョンを上げて」「バージョンアップ」「bump version」などのリクエストで使用する。
create-agent
Create a new sub-agent definition file (agents/*.md) for the Claude Code plugin. Use this skill when the user wants to add a new specialized agent, define a new agent type, or create an agent that handles a specific domain of tasks. Trigger whenever the user mentions creating, adding, or defining a new agent or sub-agent.
resolve-pr-comments
GitHub PRの未解決Review threadsを一括Resolveします。
update-issue
Update an existing GitHub Issue's description based on the issue number and request provided as arguments
fix-review-point
Address unresolved review comments on specified branch
create-task-summary
直近一週間で自身が作成したPRを取得し、やったことのサマリーを作成する。週次報告や作業振り返り時に使用。
Didn't find tool you were looking for?