Agent Skills
› askman-dev/coding-agent-starter
› draft-issue
draft-issue
GitHub用于起草 GitHub Issue 的技能。指导 Agent 按照 Context、Problem、Goals 和 Acceptance Criteria 四部分结构撰写简洁、可验证的 Issue,避免添加实现计划或无关内容,确保聚焦于用户视角的结果与现状差异。
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


