agentleFS
ozzy-labsozzy-labs/gh-tasks/.agents/skills/task-link-pr/SKILL.md

task-link-pr

Skill1 starsChanged 5 months agoMITView on GitHub

PR を Issue / Project 項目と紐付ける。`gh tasks link <pr> <task>` を呼び出し、repo scope は PR body に `Closes #N` を追記、org/user scope は PR と Issue を同じ Project v2 に bind する。

The file

Files
SKILL.md

task-link-pr - PR と項目の紐付け

PR と該当 Issue / Project draft item を紐付ける。

入力

  • pr (必須): PR 番号 / URL
  • task (必須): Issue 番号 / draft item ID

手順

  1. gh tasks link <pr> <task> を実行する(repo scope は Closes #N を PR body に追記、org/user scope は PR と Issue を同じ Project v2 に bind する)
  2. 戻り値で紐付け先 URL を確認する
  3. 紐付け完了をユーザーに報告する

失敗時のフォールバック

  • PR / task が異なる scope に属す: scope 跨ぎを許可するか確認
  • 既に紐付け済: 既存リンクを表示して終了

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.