github-issue-comment
Skill0 starsChanged 55 days agoMITView on GitHub
git push 後に、ブランチ名から関連する GitHub Issue を特定してコメントを追加する。push したが作業が完了していない場合に使用する。
- Commits and pushes
In this repository4 other files it gives its agents.
- github-branchSkill
- github-initSkill
- github-issue-createSkill
- github-prSkill
The file
Files
GitHub Issue コメントスキル
git push を実行した後、作業が完了していない場合に関連 Issue へ進捗コメントを追加する。
Issue 番号の特定
ブランチ名から Issue 番号を抽出する:
git branch --show-currentブランチ名の命名規則: <type>/issue-<番号>-<説明>
例: feat/issue-26-claude-skills → Issue #26
手順
- 現在のブランチ名を取得し、
issue-{番号}の部分から Issue 番号を特定する - 直近の push 内容(コミットメッセージ・変更ファイル)を確認する:
git log -1 --pretty=format:"%s" git diff HEAD~1 --name-only - 以下の形式でコメントを作成する:
gh issue comment <番号> --body "$(cat <<'EOF' ## 作業ログ ### 実施内容 - ### 変更ファイル - ### 次のステップ - EOF )"
注意事項
- コメントは簡潔に。変更の「何をしたか」と「次に何をするか」を明記する
- 作業が完了した場合はこのスキルを使わず、
github-prスキルで PR を作成してクローズする
Gotchas
- ブランチ名に
issue-{番号}が含まれない場合はユーザーに Issue 番号を確認する
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

