Project manager triage

From hojinzs/github-symphony · View interactive version

Project manager triage is an AI agent skill from the GitHub repository hojinzs/github-symphony. Analyze backlog issues to set Priority, Size, and Estimate, then identify and connect blocking relationships between issues. Use when backlog items need evaluation or when new items have been added without triage.

How to use this skill

Skill file

/project-manager:triage — Backlog Triage and Dependency Analysis

Purpose

Evaluate untriaged backlog items by analyzing their descriptions and the codebase, assign Priority/Size/Estimate, identify blocking relationships between issues, and update the GitHub Project board. This is the equivalent of a backlog grooming session.

Pre-flight Checks

Run these checks in order before proceeding:

  1. gh CLI authentication: Run gh auth status. If not authenticated, stop and instruct:

```

GitHub CLI is not authenticated. Please run:

$ gh auth login

```

  1. Project scope permission: Attempt a lightweight project API call. If permission error, stop and instruct:

```

The GitHub CLI token lacks the "project" scope. Please run:

$ gh auth refresh -s project

```

  1. PROJECT_MANAGE.md exists: Read PROJECT_MANAGE.md from the repository root. If not found, stop and instruct:

```

PROJECT_MANAGE.md not found. Please run /project-manager:init first.

```

Workflow

Step 1: Parse Configuration

Read PROJECT_MANAGE.md and extract:

Step 2: Fetch Backlog Items

Run gh issue list --state open --limit 200 --json number,title,body,labels,assignees,createdAt,updatedAt,projectItems.

Filter to only items where:

Do not use gh project item-list — project item counts can exceed the limit, causing items to be silently truncated regardless of the --limit value passed.

Step 3: Identify Untriaged Items

From the filtered backlog items, identify those missing any of Priority, Size, or Estimate.

If all backlog items are already triaged, inform the user:

All backlog items are already triaged. Nothing to do.

And then skip to Step 6 (blocking analysis) since relationships may still need updating.

Step 4: Analyze and Evaluate

For each untriaged item:

  1. Read the issue body — understand the scope, motivation, and affected areas.
  2. Explore the codebase — check the files and packages mentioned in the issue. Assess:
  1. Assign Priority — using the definitions from PROJECT_MANAGE.md:
  1. Assign Size — using the definitions from PROJECT_MANAGE.md:
  1. Assign Estimate — using the convention from PROJECT_MANAGE.md:

Step 5: Present Evaluation Table and Update

Present all evaluations in a table for user review:

| #  | Title                              | Priority | Size | Estimate | Rationale                                    |
|----|-------------------------------------|----------|------|----------|----------------------------------------------|
| #26 | Change blockedBy BlockerRef          | P0       | S    | 2d       | Active bug: cross-project blocker permanent block. Data already fetched in GraphQL. |
| #27 | Issue-Centric State Model          | P1       | XL   | 8d       | Spec 3-section compliance. service.ts 1362-line core refactor. |

Ask the user: "Proceed with these evaluations? [apply / modify / skip]"

Step 6: Analyze Blocking Relationships

Scope: ALL open (non-Done) issues — not just Backlog.

A Backlog item can be blocked by an issue that is currently In Progress (e.g., a large refactoring). Limiting analysis to Backlog-only would miss these critical dependencies.

  1. Fetch all open issues from the project board — every item whose Status is NOT the terminal/Done status.
  2. For each pair of open issues, consider:
  1. Fetch existing blocking relationships to avoid duplicates:
query {
  repository(owner: "<owner>", name: "<repo>") {
    issueA: issue(number: N) {
      blockedBy(first: 20) { nodes { number state } }
    }
    ...
  }
}

Step 7: Present Blocking Map

Present the dependency map. Annotate each issue with its current Status so the user can see cross-status blocking at a glance:

Blocking Dependency Map:

#30 [In Progress] large-scale auth refactor (P1, XL)
 └── blocks → #26 [Backlog] Change blockedBy BlockerRef (P0, S)

#22 [Backlog] Commander.js migration (P2, L)
 ├── blocks → #23 [Backlog] interactive project selection (P2, S)
 └── blocks → #24 [Backlog] Simplify project add (P2, S)

#27 [Backlog] Issue-Centric State Model (P1, XL)
 └── blocks → #25 [Backlog] GET /api/v1/<issue_identifier> (P1, M)

New relationships to create: 4
Already connected: 0

Ask the user: "Connect these blocking relationships? [apply / modify / skip]"

Step 8: Recommend Execution Order

Based on priority and blocking relationships, suggest an execution order.

If any In Progress / In Review issues are blockers for Backlog items, show them as Phase 0 — work that is already in-flight and must complete before dependent Backlog items can start. This prevents the illusion that a high-priority Backlog item is immediately actionable when it's actually waiting on in-flight work.

Recommended execution order:

Phase 0 (in-flight, awaiting completion):
  #30 [In Progress] large-scale auth refactor  XL  ← must complete first

Phase 1 (unblocked after Phase 0):
  #26 [P0] Change blockedBy BlockerRef  S  2d

Phase 2 (no blockers, can start now):
  Track A: #27 [P1] Issue-Centric State Model  XL  8d
  Track B: #22 [P2] Commander.js migration  L   5d

Phase 3 (unblocked after Phase 2):
  Track A: #25 [P1] GET /api/v1/<issue_identifier>  M  3d
  Track B: #23 [P2] interactive project selection  S  2d
           #24 [P2] Simplify project add  S  1d

Total backlog: 6 issues, 21d estimated
Critical path: #30 (in-flight) → #26 → ...
Parallel track critical path: #27 → #25 (11d)

If no in-flight issues are blockers, omit Phase 0 entirely.

Important Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.