Writing Issues

作者 riekelt85e53729dd95無授權條款28 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫3 週前更新

Use when writing or refining tracker items - epics, stories, tasks, bug reports, spikes, or acceptance criteria - or when turning a discussion, review finding, or plan into tickets. Encodes the survives-without-you test, the issue-type glossary, and the story and bug skeletons. Use whenever work is written into a tracker, even from a rough verbal dump.

AI 產生的概覽

指導撰寫追蹤系統中的議題,例如史詩、故事、任務、缺陷與調查,並提供可測試的驗收標準。

功能
提供撰寫追蹤議題的規範與範本:包含四個問題的「離開你也能存活」檢驗、一行式議題類型詞彙表,以及故事、任務與缺陷報告的 Markdown 骨架。內容涵蓋驗收檢查、證據連結、待辦事項的具名負責人,以及範圍變更、工單編號與關閉議題的規則。產出的是議題描述與驗收標準,而非優先順序安排或流程建議。
適用情境
適用於撰寫或修改追蹤議題、提交缺陷、把工作拆分為工單或撰寫驗收標準時,也包括把討論、審查發現或計畫轉化為工單。不適用於權衡設計方案,那屬於設計文件類技能。
執行需求
僅為說明性內容,不含指令碼。文中聲明需要技術寫作技能作為前置背景,並引用設計文件與決策記錄相關技能。未指定任何工具、套件或憑證。

Writing issues

REQUIRED BACKGROUND: the technical-writing skill (hard rules, truth rules, style).

Overview

Core principle: write issues so they survive without you. State the outcome, include the acceptance check that decides Done, link the evidence behind every decision, and name the owner of every open part.

When to invoke, and not

Invoke when writing or editing tracker items, filing a bug, splitting work into tickets, or writing acceptance criteria. Do NOT invoke for weighing alternatives: when an issue needs a design argued, that is writing-design-docs; the issue links the design doc and never inlines it. This skill covers the writing only, not prioritization or workflow advice.

Read-first applies to the tracker: read up to two recent issues of the same type and match their conventions before filing. When the tracker holds fewer, read what exists and file anyway.

When the reporter is unavailable, file with named gaps rather than blocking. The technical-writing checkpoint (kind, audience, purpose, non-goals) is what you stop and ask about. Missing content details (a repro step, a log line, a prior-incident link) become explicitly owned open items inside the issue.

The survives-without-you test

Every issue answers four questions a stranger will ask:

  1. What outcome? The state of the world when this is done, not the steps to get there. Implementation belongs in the plan.
  2. What decides Done? A concrete, independently testable acceptance check. "Handle errors appropriately" decides nothing; "a failed upload shows the retry banner and logs at WARN" does.
  3. What is the evidence? Where a decision or constraint came from evidence, link the source: a repo path, a document, a URL.
  4. Who owns the open parts? "Still needs investigation" without a name or role is a banned vague owner; name one or mark the field explicitly as unassigned.

Issue types

One glossary per tracker, defined in one line each and used consistently:

TypeDefinition
EpicA body of work; its description states the outcome and links the design doc
StorySomething with user-visible value, written from the user's seat
TaskEngineering work with no user-visible surface
BugA defect: current behavior contradicts intended behavior
SpikeA time-boxed investigation whose output is a decision, not code

A spike's Done is the decision recorded (see recording-decisions), never "looked into it".

A decision followed by a body of work fits two shapes: a spike first with the epic filed after the decision, or an epic whose first acceptance item is the accepted design doc. Both are valid; pick one and say which.

Story and task skeleton

The issue description is the spec for what and why:

markdown
**Problem / Why:** [the observable problem, from the reader's seat, with numbers where they exist]
**Outcome:** [the state of the world when done; not the steps]
**Acceptance:**- [ ] [independently testable check]- [ ] [another]
**Out of scope:** [what this issue deliberately does not cover]
**Open items:** [each with a named owner or role, or an explicit "unassigned"]
**Sources:** [repo paths, documents, measurements behind the above]

Apply the five vagueness defects from writing-design-docs to the acceptance list: an acceptance check that fails "what without how" or "no verifiable output" is not testable.

Gherkin-style given/when/then is an accepted format for acceptance checks when the team uses it; the same testability bar applies either way. INVEST (independent, negotiable, valuable, estimable, small, testable) works as a sizing check for stories: a story failing "small" or "testable" splits before it is filed.

Bug report skeleton

Symptom first: the next reader arrives searching for the error.

markdown
**Symptom:** [verbatim error string or observable misbehavior, searchable]
**Reproduction:** [numbered steps, one action each, from a clean state]
**Expected:** [what should happen, with the source that says so, or an explicit "no written source found" rather than a fabricated reference]**Actual:** [what happens]
**Environment:** [version, platform, config that matters]
**Open items:** [each with a named owner or role, or an explicit "unassigned"]
**Suspected cause:** [only if investigated; labeled as hypothesis, never stated as fact]

The title carries the symptom, not the diagnosis: "duplicate reminders at reminder time", not "race condition in scheduler", unless the cause is verified.

Rules

  • One home. The issue owns what and why; the plan in the repo owns how. Never maintain two live copies.
  • Ticket keys. They live in commits and planning docs, never in code, comments, test names, or user-facing strings.
  • Trust code, not issue status. Self-reported state goes stale fast; before building on an imported or old issue, verify against the repository (grep the symbols, check the history).
  • Append, do not rewrite. Scope changes on an in-flight issue are dated appended notes, not silent edits. Follow-up work found after completion is a new issue, never an edit to a closed one.
  • Subtasks. Coarse reviewable slices, not every micro-step; the micro-steps live in the plan.
  • Estimates. Labeled as estimates, with what they depend on.
  • Closing an issue. It records the reason, especially for won't-fix and duplicates.

來源與署名

來源:riekelt/technical-writer位於plugins/technical-writer/skills/writing-issues提交85e5372

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架