Skip to content

feat: add Task template, gh-cherry-usage skill, and migrate PR review to gh cherry#14064

Open
EurFelux wants to merge 5 commits intov2from
feature/gh-create-issue-type
Open

feat: add Task template, gh-cherry-usage skill, and migrate PR review to gh cherry#14064
EurFelux wants to merge 5 commits intov2from
feature/gh-create-issue-type

Conversation

@EurFelux
Copy link
Copy Markdown
Collaborator

@EurFelux EurFelux commented Apr 5, 2026

What this PR does

Before this PR:

  • The gh-create-issue skill uses gh issue create, which does not support setting issue types
  • No Task issue template exists
  • No gh-cherry-usage skill exists for CLI reference

After this PR:

  • Adds a Task issue template (.github/ISSUE_TEMPLATE/4_task.yml) for tracking work items
  • Updates the gh-create-issue skill to use gh-cherry extension for automatic issue type assignment when the template defines a type field
  • Adds gh-cherry-usage public skill as a usage guide for the gh cherry CLI extension
  • Migrates PR review skill from gh pr-review to gh cherry, which provides a more complete review lifecycle with unified issue/diff/review commands

Why we need it and why it was done in this way

GitHub CLI (gh) does not natively support issue types (tracked in cli/cli#9696). The gh-cherry extension (EurFelux/gh-cherry) fills this gap by wrapping the GraphQL API, and also provides enhanced PR diff and review lifecycle commands that supersede the old gh-pr-review extension.

Migrating from gh-pr-review to gh-cherry also eliminates the license risk — gh-pr-review upstream has no license, while gh-cherry is MIT-licensed and can be safely integrated into the main repository.

The following tradeoffs were made:

  • Depends on a third-party gh extension (gh-cherry) rather than calling GraphQL directly, for simplicity and maintainability

The following alternatives were considered:

  • Calling gh api graphql directly in the skill — rejected because it's verbose and harder to maintain

Breaking changes

None.

Special notes for your reviewer

Install: gh extension install EurFelux/gh-cherry (v0.0.1 released)

Checklist

Release note

NONE

Add a new Task issue template for tracking work items like maintenance,
documentation, and CI/CD tasks. Update gh-create-issue skill to use
gh-cherry extension for setting issue types automatically when the
template defines a type field.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Signed-off-by: icarus <[email protected]>
@EurFelux EurFelux requested a review from a team April 5, 2026 20:03
EurFelux and others added 3 commits April 6, 2026 04:10
Task template is not intended for external users. Move it from
.github/ISSUE_TEMPLATE/ to .github/TASK_TEMPLATE.yml so it only
appears when used via the gh-create-issue skill.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Signed-off-by: icarus <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Signed-off-by: icarus <[email protected]>
@EurFelux EurFelux changed the title feat: add Task issue template and integrate gh-cherry for issue types feat: add Task template, gh-cherry-usage skill, and migrate PR review to gh cherry Apr 5, 2026
@EurFelux
Copy link
Copy Markdown
Collaborator Author

EurFelux commented Apr 5, 2026

Note

This issue/comment/review was translated by Claude.

The enhanced PR diff can display explicit diff line numbers, reducing the unnecessary process of agents manually calculating line numbers, adding threads, and previewing through multiple trial and error attempts.

image
Original Content

增强的pr diff 可以显示明确的 diff 行号,减少需要agent 手动计算行号后 add thread 又 preview,多次试错的不必要的过程。

image

@DeJeune DeJeune added the v2 label Apr 6, 2026
@DeJeune DeJeune added this to the v2.0.0 milestone Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants