Agent Skills
› askman-dev/coding-agent-starter
› draft-issue
draft-issue
GitHub用于起草、撰写或修订GitHub Issue。引导Agent按Context、Problem、Goals和Acceptance Criteria四部分结构输出,确保内容简洁且可验证,不包含实施计划或验证命令。
Trigger Scenarios
用户请求起草GitHub Issue
用户请求撰写GitHub Issue
用户请求修订GitHub Issue
Install
npx skills add askman-dev/coding-agent-starter --skill draft-issue -g -y
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


