Project manager new

From hojinzs/github-symphony · View interactive version

Project manager new is an AI agent skill from the GitHub repository hojinzs/github-symphony. Create new GitHub issues following PROJECT_MANAGE.md conventions. Analyzes codebase to estimate size, suggests splitting if needed, sets project fields, and connects blocking relationships. Use when you need to create well-structured issues.

How to use this skill

Skill file

/project-manager:new — Create Issues from PROJECT_MANAGE.md Rules

Purpose

Create one or more GitHub issues that follow the repository's project management conventions defined in PROJECT_MANAGE.md. Automatically analyze the codebase to determine scope, estimate size, suggest splitting when appropriate, and connect blocking relationships.

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 using the project info from PROJECT_MANAGE.md frontmatter. 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: Understand the Request

The user provides a natural-language description of the work as $ARGUMENTS. Analyze it to understand:

Step 3: Explore the Codebase

Based on the description, explore the codebase to:

Step 4: Draft the Issue(s)

Using the issue template from PROJECT_MANAGE.md, draft the issue body with:

Assign Priority, Size, and Estimate based on:

Step 5: Evaluate Splitting

Check the estimated Size against the splitting rules in PROJECT_MANAGE.md:

When splitting, present a dependency map:

Proposed split (original estimate: L, 5d → split into 3 issues):

#A refactor(core): introduce BlockerRef type     S  2d
 └── blocks → #B fix(orchestrator): update blocker check  S  1d
#C docs: update ADR for blocker model             XS  0.5d

Proceed? [create all / modify / cancel]

Splitting guidelines:

Step 6: Check Blocking with ALL Open Issues

Fetch all open (non-Done) issues from the project board — not just Backlog items. An issue currently In Progress (e.g., a large refactoring) can block the new issue, or the new issue might block existing in-flight work.

Analyze whether the new issue(s):

Annotate each relationship with the existing issue's current Status so the user sees cross-status dependencies:

Detected relationships with existing issues:
  - New #A is blocked by #30 [In Progress] (large-scale auth refactor)
  - New #A is blocked by #27 [Backlog] (Issue-Centric State Model)
  - Existing #25 [Backlog] would be blocked by new #B

Step 7: Present and Confirm

Show the user a complete summary:

  1. Issue title(s) and body preview
  2. Priority / Size / Estimate for each
  3. Splitting map (if applicable)
  4. Blocking relationships (new-to-new and new-to-existing)

Ask for explicit confirmation before creating anything.

Step 8: Create and Configure

Upon user approval:

  1. Create issue(s) via gh issue create --repo <owner>/<repo> --title "..." --body "...".
  2. Add to project board: Use GraphQL addProjectV2ItemById to add each issue to the project.
  3. Set project fields: Use gh project item-edit with the project_node_id and field_ids from frontmatter to set Priority, Size, Estimate, and Status (set to backlog).
  4. Connect blocking relationships: For split issues and existing backlog relationships, use GraphQL addBlockedBy mutation:

```graphql

mutation {

addBlockedBy(

input: {

issueId: "<blocked issue node ID>"

blockingIssueId: "<blocking issue node ID>"

}

) {

issue {

number

title

}

blockingIssue {

number

title

}

}

}

```

Step 9: Report

Show the created issue URLs and a final dependency map.

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.