技能 managing-relationships
🔗

managing-relationships

低風險 ⚙️ 外部命令🌐 網路存取

Manage GitHub issue hierarchies

Creating issue hierarchies and tracking dependencies is complex with the standard GitHub CLI. This skill provides direct access to GitHub GraphQL API for managing parent-child relationships, blocking dependencies, and tracking links between issues.

支援: Claude Codex Code(CC)
📊 71 充足
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「managing-relationships」。 Add issue #68 as a sub-issue of #67 and show the relationship

預期結果:

  • Added #68 as sub-issue of #67
  • Parent: Implement user authentication
  • Child: Add login API endpoint
  •  
  • Issue #67: Implement user authentication
  • Progress: 1/3 (33%)
  •  
  • Sub-issues (1):
  • #68: Add login API endpoint

正在使用「managing-relationships」。 Show all relationships for issue #45

預期結果:

  • ○ Issue #45: Design API endpoints
  • ========================================================
  • Parent: #40 - Q1 Backend Architecture
  • Sub-issues (2/4):
  • ○ #41: Design user endpoint
  • ○ #42: Design product endpoint
  • Blocked by:
  • ○ #30 - Database schema approval
  • Blocking:
  • ○ #50 - API documentation

正在使用「managing-relationships」。 What is issue #78 blocked by and what is it blocking

預期結果:

  • Dependencies for #78: Implement caching layer
  • ========================================================
  • Blocked by (2):
  • ○ #65 - Redis setup
  • ○ #70 - Cache invalidation strategy
  • Blocking (1):
  • ○ #85 - Performance testing

安全審計

低風險
v5 • 1/16/2026

This is a legitimate GitHub automation skill that manages issue relationships using the official GitHub GraphQL API. The Python script is a straightforward CLI wrapper around `gh` CLI commands. All static findings are false positives triggered by false pattern matching on GraphQL API field names and documentation code blocks. No malicious code, data exfiltration, or harmful patterns exist.

3
已掃描檔案
1,208
分析行數
2
發現項
5
審計總數
審計者: claude 查看審計歷史 →

品質評分

45
架構
100
可維護性
85
內容
30
社群
90
安全
91
規範符合性

你能建構什麼

Track epic progress

Create parent issues as epics and link child tasks to see overall completion percentage.

Manage feature branches

Link related issues for a feature to understand dependencies and track development progress.

Track blocking bugs

Identify which issues are blocked by others and understand test dependency chains.

試試這些提示

Create hierarchy
Create a parent issue #67 and add issues #68, #69, and #70 as sub-issues.
List relationships
Show all relationships for issue #45 including parent, sub-issues, and blocking dependencies.
Find dependencies
What issues is #78 blocked by? What issues is #78 blocking?
Build complex tree
Create a hierarchy where #1 is epic, #2 and #3 are features under it, and #5, #6 are tasks under #2.

最佳實務

  • Create all issues first, then establish relationships to avoid orphaning issues.
  • Verify relationships after creation to confirm the GraphQL mutation succeeded.
  • Keep hierarchies shallow (2-3 levels) for easier navigation and management.

避免

  • Using task lists (- [ ] #68) instead of sub-issues API, which only creates tracking links.
  • Attempting to add an issue to a new parent without checking if it already has one.
  • Creating circular references in hierarchies, which GitHub will reject.

常見問題

Which GitHub plans support sub-issues?
Sub-issues are available on GitHub Pro, Team, and Enterprise plans.
What is the maximum hierarchy depth?
GitHub does not enforce a hard limit, but best practice recommends 3 levels maximum.
Can I use this with private repositories?
Yes, if your gh CLI is authenticated with appropriate repository permissions.
Does this store my data anywhere?
No, this skill only reads and writes through the GitHub API. No data is stored locally.
Why do I need node IDs instead of issue numbers?
GitHub GraphQL API uses node IDs for all operations. The script handles the conversion automatically.
How is this different from task lists?
Sub-issues create true parent-child hierarchy with progress tracking. Task lists only create tracked-by links visible in the sidebar.