agentleFS
ksip9012ksip9012/agent-skills/github-issue-comment/SKILL.md

github-issue-comment

Skill0 starsChanged 55 days agoMITView on GitHub

git push 後に、ブランチ名から関連する GitHub Issue を特定してコメントを追加する。push したが作業が完了していない場合に使用する。

  • Commits and pushes

The file

Files
SKILL.md

GitHub Issue コメントスキル

git push を実行した後、作業が完了していない場合に関連 Issue へ進捗コメントを追加する。

Issue 番号の特定

ブランチ名から Issue 番号を抽出する:

git branch --show-current

ブランチ名の命名規則: <type>/issue-<番号>-<説明> 例: feat/issue-26-claude-skills → Issue #26

手順

  1. 現在のブランチ名を取得し、issue-{番号} の部分から Issue 番号を特定する
  2. 直近の push 内容(コミットメッセージ・変更ファイル)を確認する:
    git log -1 --pretty=format:"%s" 
    git diff HEAD~1 --name-only
  3. 以下の形式でコメントを作成する:
    gh issue comment <番号> --body "$(cat <<'EOF'
    ## 作業ログ
    
    ### 実施内容
    - 
    
    ### 変更ファイル
    - 
    
    ### 次のステップ
    - 
    EOF
    )"

注意事項

  • コメントは簡潔に。変更の「何をしたか」と「次に何をするか」を明記する
  • 作業が完了した場合はこのスキルを使わず、github-pr スキルで PR を作成してクローズする

Gotchas

  • ブランチ名に issue-{番号} が含まれない場合はユーザーに Issue 番号を確認する

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.