用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/gittower/git-flow-next --skill triage命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Run the full release process end-to-end - prep, tag, CI verification, Homebrew tap, WinGet verification, and website sync
Handle a small fix or maintenance task locally end-to-end — no PR, but full review gates and a confirmed local merge into main
Fully solve a small issue end-to-end — resolve, publish the PR, run two Copilot review rounds, address them, and merge when confident. Escalates to the user on anything uncertain.
基于 SOC 职业分类
正在显示 SKILL.md
| name | triage |
| description | Triage an external issue or discussion — classify, check duplicates, analyze, propose a verdict, then reply |
| argument-hint | <issue-number | discussion-number> |
| allowed-tools | Read, Grep, Glob, Write, Bash, mcp__github__get_issue, mcp__github__search_issues, mcp__github__list_issues, mcp__github__create_issue, mcp__github__update_issue, mcp__github__add_issue_comment |
Triage an external issue or discussion for gittower/git-flow-next: determine what it is (bug report, feature request, question), check for duplicates, analyze it against the codebase, and propose a verdict. Everything up to the verdict is autonomous; the public reply and any issue changes wait for user confirmation.
/triage <issue-number> or /triage discussion <number>
For an issue: mcp__github__get_issue — title, body, labels, author,
existing comments.
For a discussion: fetch via GraphQL:
gh api graphql -f query='query { repository(owner: "gittower", name: "git-flow-next") {
discussion(number: <N>) { id title body author { login }
comments(first: 50) { nodes { body author { login } } } } } }'
Keep the discussion id — it's needed for replying.
Create the workflow folder .ai/issue-<number>-<slug>/ (or
.ai/discussion-<number>-<slug>/), slug from the title as in
/analyze-issue.
Determine the type from the content, not the labels:
A report can be misfiled (a "bug" that is actually expected behavior is a question or a docs gap). Classify by what it actually is.
Search open and closed issues via mcp__github__search_issues with
several term variations (feature area, command name, error message
fragments). Look for:
spec issue that already covers itWhile analyzing, watch for adjacent but distinct problems the report surfaces — a second bug in the same reproduction, or a feature request buried in a comment. Don't fold these into the main verdict. When no existing issue cleanly owns one, plan to split it into its own new issue so each stays a single source of truth. Reproduce/confirm them the same way as the main report.
Write .ai/<folder>/triage.md:
# Triage: #<number> — <title>
## Classification
<bug | feature | question | support> — <one line why>
## Duplicate Check
- Searched: <terms used>
- <#N — same/related/spec, or "no duplicates found">
## Analysis
<Bug: plausibility, root cause, affected code. Feature: fit, scope,
affected components. Question: the answer.>
## Verdict (proposed)
<one of:>
- duplicate of #<N>
- accept as bug — next: /create-spec
- accept as feature — next: /create-spec
- reject — <reason>
- answer — <question answered >
needs info —
Present to the user: classification, duplicate findings, verdict, the full draft reply, and the list of actions. Wait for confirmation — the user may change the verdict or edit the reply.
After confirmation, in this order:
mcp__github__create_issue), so
their real numbers exist before the reply references them. Substitute the
#NEW/#NEW2 placeholders in the draft reply (and in triage.md) with the
assigned numbers.mcp__github__add_issue_comment; for discussions, the addDiscussionComment GraphQL mutation with the discussion id — discussions post via gh api, so no hook reminder fires there)mcp__github__update_issue as decided
(duplicates: close with state_reason: "not_planned" after the reply
links the original)Summarize the outcome and, for accepted bugs/features, point to the next
step: /create-spec <number> — the triage document feeds directly into it.