本文へ移動
cccskills
無料GitHub で公開

github-triage

Triage GitHub issues through gh and a label-based state machine. Use when the user intentionally wants GitHub issue triage, incoming bug or feature review, issue workflow labels, needs-info follow-up, or ready-for-agent briefs.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md8.9 KB
  • references/AGENT-BRIEF.md5.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

github-triage

Triage issues in the current GitHub repository using gh, issue comments, and a label-based state machine. This skill is intentionally GitHub-specific: use it when the source of truth for the workflow is GitHub Issues, not Beads.

For Agent Forge harness work, keep Beads as the local work tracker. During GitHub triage, use Beads only for harness worklog or follow-up tasks that belong in this repo; do not mirror every GitHub issue into Beads.

Hard Rules

  1. Use gh for all GitHub reads and writes. Infer the repository from gh repo view or git remote.
  2. Do not mutate GitHub until the maintainer has approved the exact action. Mutations include labels, issue comments, issue creation, issue closure, and assignee or milestone changes.
  3. Before any mutation, show the intended label changes, comment body, and close/reopen action if any.
  4. Every GitHub issue or comment created by the agent must start with this disclaimer, before any other content:
> *This was generated by AI during triage.*
  1. Treat existing label conflicts as a stop condition. If an issue has more than one state label, report the conflict, recommend one state, and ask the maintainer before changing anything.
  2. Do not create labels automatically. If a required label is missing, tell the maintainer which label is missing and ask whether they want it created.

Reference Docs

Label Model

Each issue should have exactly one category label and exactly one state label.

LabelTypeMeaning
bugCategorySomething is broken
enhancementCategoryNew feature or improvement
needs-triageStateMaintainer needs to evaluate or continue evaluating
needs-infoStateWaiting on reporter for more information
ready-for-agentStateFully specified and suitable for an AFK agent
ready-for-humanStateRequires human implementation or judgment
wontfixStateWill not be actioned

State Machine

Current stateCan transition toTriggerResult
unlabeledneeds-triageAgent recommendation, maintainer approvesApply needs-triage and category if known
unlabeledready-for-agentMaintainer confirms issue is already agent-readyPost an agent brief comment and apply labels
unlabeledready-for-humanMaintainer confirms it needs human implementationPost a brief summary comment and apply labels
unlabeledwontfixMaintainer rejects as spam, duplicate, or out of scopePost rationale, apply wontfix, and close if approved
needs-triageneeds-infoMaintainer needs reporter inputPost triage notes and questions, then apply needs-info
needs-triageready-for-agentTriage/specification is complete and delegablePost an agent brief comment and apply labels
needs-triageready-for-humanTriage/specification is complete but not delegablePost a human-work summary and apply labels
needs-triagewontfixMaintainer decides not to action itPost rationale, apply wontfix, and close if approved
needs-infoneeds-triageReporter replies with new informationSurface the update to the maintainer and recommend re-triage

The maintainer can override the state directly. When they do, trust the direction, but still preview the mutation and flag unusual transitions.

Safe Read Commands

Use read-only commands while gathering context:

gh repo view --json owner,name,url
gh issue list --state open --json number,title,labels,createdAt,updatedAt,author,body --limit 100
gh issue view <number> --json number,title,body,labels,author,createdAt,updatedAt,comments,url,state

Use gh api for details not exposed by gh issue view, such as timeline or exact comment timestamps. Keep those calls read-only unless the maintainer has approved a mutation.

Workflow: Show What Needs Attention

When the maintainer asks for an overview:

  1. Query open issues with gh issue list.
  2. Group issues into:
    • Unlabeled issues with no labels at all.
    • needs-triage issues.
    • needs-info issues where the reporter has commented after the latest triage notes comment.
  3. Sort each group oldest first.
  4. Show counts and a compact row per issue: number, title, age, labels, and one-line body summary.
  5. Ask which issue the maintainer wants to inspect.

For needs-info activity, read comments and compare timestamps. A reporter reply after the latest AI triage notes comment should move the issue back into the maintainer's attention queue.

Workflow: Triage a Specific Issue

1. Gather Context

Before recommending an action:

  • Read the full issue body, labels, author, timestamps, and comments.
  • Parse previous AI triage notes or agent briefs so prior work is not repeated.
  • Explore the codebase enough to understand the domain, relevant behavior, and likely implementation surface.
  • If the repository has an approved rejected-concepts or out-of-scope knowledge base, check whether the issue matches prior decisions. Do not create or update those files unless the maintainer explicitly asks and the repo allows it.

2. Present a Recommendation

Tell the maintainer:

  • Recommended category label, with reasoning.
  • Recommended state label, with reasoning.
  • Any label conflicts or missing labels.
  • Relevant codebase context discovered during exploration.
  • For similar rejected concepts, summarize the prior decision and ask whether it still applies.

Then wait for direction. The maintainer may approve labels, ask for more specification, choose a different state, or decline action.

3. Attempt Bug Reproduction

For issues categorized as bug, attempt reproduction before writing an agent brief:

  • Follow reporter reproduction steps when present.
  • Trace the relevant code path and existing tests.
  • Run focused commands or tests when they are safe and reasonable.
  • Report whether reproduction succeeded, failed, or could not be attempted due to missing detail.

A successful reproduction should appear in the final agent brief. Missing reproduction details are a strong signal for needs-info.

4. Flesh Out the Specification

If the issue is not ready, interview the maintainer in a domain-model style:

  • Current behavior.
  • Desired behavior.
  • Key interfaces or contracts.
  • Edge cases and failure modes.
  • Testable acceptance criteria.
  • Explicit out-of-scope boundaries.

Do not re-ask questions that previous triage notes already answered.

5. Apply the Outcome

After maintainer approval:

  • ready-for-agent: post an agent brief using references/AGENT-BRIEF.md, then update labels.
  • ready-for-human: post a summary using the agent brief structure, but include why the work needs a human.
  • needs-info: post triage notes using the template below, then update labels.
  • wontfix: post a polite rationale, apply wontfix, and close only if approved.
  • needs-triage: apply the label and optionally comment if there is partial progress worth preserving.

When updating labels, remove the previous state label so exactly one state remains.

Workflow: Quick State Override

When the maintainer explicitly asks to move an issue to a state, do not require a full triage session.

  1. Read the current issue and labels.
  2. Preview what will be added, removed, posted, and closed.
  3. Ask for confirmation if the requested action would post a comment or close the issue.
  4. Apply the transition after approval.

If moving to ready-for-agent without a full specification session, ask whether to write a brief agent brief now or leave the issue in needs-triage until a durable brief exists.

Needs Info Comment

When moving an issue to needs-info, post a comment like:

> *This was generated by AI during triage.*

## Triage Notes

**What we've established so far:**

- Point 1
- Point 2

**What we still need from you (@reporter):**

- Specific question 1
- Specific question 2

Questions should be specific and actionable. Capture everything already established so a later session can resume without losing progress.

Resuming Previous Sessions

When an issue has existing AI triage notes or an agent brief:

  1. Read all comments.
  2. Extract established facts, open questions, reproduction results, and previous label decisions.
  3. Check whether the reporter has answered outstanding questions.
  4. Present the maintainer with what changed since the last triage note.
  5. Continue from the last unresolved question instead of restarting the triage.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

add-bead

無料

Capture free-text work as a tracked Beads issue. Use when the user runs /add-bead or wants to quickly file a Beads issue.

日本語の概要は準備中です。原文の説明を表示しています。

jupes/agent-forge-harness22026年10月11日 更新

add-repo

無料

Register a new sub-repo in the knowledge base.

日本語の概要は準備中です。原文の説明を表示しています。

jupes/agent-forge-harness22026年10月11日 更新

Add focused Bun unit tests for mission-critical behavior and edge cases — not blanket coverage.

日本語の概要は準備中です。原文の説明を表示しています。

jupes/agent-forge-harness22026年10月11日 更新

ask

無料

Answer questions about the codebase from knowledge files. Use when the user runs /ask or asks a domain/knowledge question about the repos.

日本語の概要は準備中です。原文の説明を表示しています。

jupes/agent-forge-harness22026年10月11日 更新

Meta-skill for creating Agent Forge skills under .claude/skills/ with SKILL.md, optional references/ and scripts/, and Bun scaffolds. Use when the user wants to add or author a skill, scaffold a new skill folder, or align skill docs with harness conventions (JSON script output, Beads for tasks).

日本語の概要は準備中です。原文の説明を表示しています。

jupes/agent-forge-harness22026年10月11日 更新

Choose Beads issue priority (P0–P4, numeric, or named) from urgency, impact, and risk when creating or triaging work.

日本語の概要は準備中です。原文の説明を表示しています。

jupes/agent-forge-harness22026年10月11日 更新

jupes のスキルをすべて見る

このスキルの問題を報告する