draft-issue

GitHub

用于起草、撰写或修订GitHub Issue。引导Agent按Context、Problem、Goals和Acceptance Criteria四部分结构输出,确保内容简洁且可验证,不包含实施计划或验证命令。

.agents/skills/draft-issue/SKILL.md askman-dev/coding-agent-starter

Trigger Scenarios

用户请求起草GitHub Issue 用户请求撰写GitHub Issue 用户请求修订GitHub Issue

Install

npx skills add askman-dev/coding-agent-starter --skill draft-issue -g -y
More Options

Non-standard path

npx skills add https://github.com/askman-dev/coding-agent-starter/tree/main/.agents/skills/draft-issue -g -y

Use without installing

npx skills use askman-dev/coding-agent-starter@draft-issue

指定 Agent (Claude Code)

npx skills add askman-dev/coding-agent-starter --skill draft-issue -a claude-code -g -y

安装 repo 全部 skill

npx skills add askman-dev/coding-agent-starter --all -g -y

预览 repo 内 skill

npx skills add askman-dev/coding-agent-starter --list

SKILL.md

Frontmatter
{
    "name": "draft-issue",
    "description": "Use when drafting a GitHub issue. Guides agents to write a concise issue focused on Context, Problem, Goals, and Acceptance Criteria. Does not require an Implementation Plan or Validation Commands."
}

Draft Issue

Use this skill when the user asks you to draft, write, or revise a GitHub issue.

This skill is for issue drafting only. Do not use it for implementation plans, PR summaries, or post-implementation reports.

Default Structure

Write the issue in the same language the user is using. Use these four sections, in this order:

## Context

<Current state: what exists today, what the user or system is doing, and any relevant background.>

## Problem

<The limitation, pain point, bug, or gap that motivates this issue.
Be specific: what breaks, what is missing, or what is confusing.>

## Goals

- <What this issue should achieve, from the user's or system's perspective.>
- <Add one bullet per distinct goal. Keep goals high-level, not implementation steps.>

## Acceptance Criteria

- <A testable or user-observable outcome that must be true when this issue is resolved.>
- <Add one bullet per criterion.>

Writing Rules

  • Keep each section short and direct. Omit filler sentences.
  • Context describes current reality, not the desired future state.
  • Problem explains why the current reality is insufficient. One paragraph is usually enough.
  • Goals are outcome-oriented, not task lists. Avoid "implement X"; prefer "user can do Y".
  • Acceptance Criteria must be verifiable. Prefer observable behavior over internal implementation details.
  • Do not add an Implementation Plan, Validation Commands, or Motivation section unless the user explicitly asks.
  • Do not add a title unless asked; the user typically sets the issue title in GitHub.

Quality Checklist

Before returning the draft, check:

  • All four sections are present: Context, Problem, Goals, Acceptance Criteria.
  • Context and Problem are distinct: Context = current state, Problem = why it is insufficient.
  • Goals describe outcomes, not implementation steps.
  • Every acceptance criterion is testable or user-observable.
  • The draft is concise — no padding, no repeated content across sections.

Version History

  • fcf3431 Current 2026-07-05 14:42

Same Skill Collection

.agents/skills/quantified-milestone/SKILL.md
.agents/skills/task-brief/SKILL.md
.agents/skills/task-lifecycle/SKILL.md
.agents/skills/tmux-agent-master/SKILL.md
.agents/skills/tmux-worker-steward/SKILL.md

Metadata

Files
0
Version
fcf3431
Hash
e8e2477e
Indexed
2026-07-05 14:42

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-09 06:21
浙ICP备14020137号-1 $Carte des visiteurs$