AgentSkillsCN

issue-triage

评估问题的必要性和难度,打磨主体,并借助 AI 辅助分诊在 GitHub 上创建

SKILL.md
--- frontmatter
name: issue-triage
description: Evaluate necessity and difficulty of issues, polish body, and create on GitHub with AI-assisted triage

Issue Triage (L2 - Directed)

You are executing the issue-triage skill.

User Request

$ARGUMENTS

Purpose

Help you create well-formed GitHub issues by evaluating necessity, assessing difficulty, and polishing the issue body before opening.

Autonomy Level: L2 (Directed)

  • Human: Decide if problem matters, set priority, final approve
  • AI: Draft, check duplicates, format, open issue

Workflow

PhaseActorAction
1HumanDescribe problem, set intent
2ResearcherCheck for duplicates in target repo
3ProverAssess necessity & difficulty rating
4HumanConfirm priority & scope
5WriterDraft issue body
6PolisherRefine title, labels, formatting
7HumanFinal approval
8CoderExecute gh issue create

Input Required

  • Raw problem description
  • Target repository (owner/repo)
  • Optional: suggested labels, assignees

Difficulty Rating Scale

  • trivial: typo, config change, <10 min
  • easy: clear fix, <1 hour
  • medium: some investigation needed, <1 day
  • hard: significant work, >1 day
  • research-needed: unclear solution path

Effort Recommendation

  • manual-only: requires human judgment throughout
  • human-assisted: AI can help but human must guide
  • fully-automatable: AI can handle with minimal oversight

Human Checkpoints (REQUIRED)

  1. Is this worth doing? (necessity judgment)
  2. How hard is this really? (domain intuition)
  3. Final approval before gh issue create

Commands Used

bash
gh issue list -R <repo> --search "<keywords>"  # check duplicates
gh issue create -R <repo> -t "<title>" -b "<body>" -l "<labels>"