本文へ移動
cccskills
無料GitHub で公開

wi-writer

Write well-structured work items with proper acceptance criteria. Use when: (1) Creating work items, (2) Adding acceptance criteria, (3) User mentions work item, task, WI, or ticket

インストール方法を見る

含まれるファイル(1)

  • SKILL.md6.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Work Item Writer

Write work items with clear descriptions and actionable acceptance criteria.

Invocation Mode

This helper skill may be used standalone or by /gov, /quick, or /commit. It is responsible for work-item content quality and field semantics, not code changes or VCS operations.

Quick Reference

govctl work new --active "<title>"
govctl work set <WI-ID> description "Task scope description"
govctl work add <WI-ID> acceptance_criteria "<category>: <description>"
govctl work add <WI-ID> journal "Progress update" --scope module
govctl work add <WI-ID> notes "Key observation"
govctl work add <WI-ID> refs RFC-NNNN
govctl work tick <WI-ID> acceptance_criteria "<pattern>" -s done
govctl work move <WI-ID> done

Work Item Structure

Title

Concise, action-oriented. Describes what will be done.

  • Good: "Add validation for clause cross-references"
  • Bad: "Fix stuff" or "Work on the thing"

Description

Purpose: Task scope declaration — what needs to be done.

Replace the placeholder immediately. One paragraph explaining:

  • What the work accomplishes
  • Why it's needed
  • Any relevant context

Important: Description is for task scope, NOT execution tracking. Use journal for progress and outcomes, and notes for durable learnings.

Journal

Purpose: Execution process tracking — how the work is progressing.

Journal entries record progress updates, bug fixes, and verification results during execution. Each entry has:

  • date (required): ISO date "YYYY-MM-DD"
  • scope (optional): Topic/module identifier
  • content (required): Markdown text with details
# Add journal entry (date is auto-filled to today)
govctl work add <WI-ID> journal "Added journal section rendering to work item output."

# With scope (topic/module tag)
govctl work add <WI-ID> journal "Fixed parser edge case" --scope parser

# Multi-line via stdin
govctl work add <WI-ID> journal --scope render --stdin <<'EOF'
Completed the rendering pipeline.
All snapshot tests updated.
EOF

When to add journal entries:

  • After completing a significant chunk of work
  • When fixing bugs during implementation
  • After running verification gates
  • After a failed attempt that changed the next step

Notes

Purpose: Durable learnings — constraints, decisions, and retry rules to remember before the next step.

Notes are concise points recorded anytime, not just at completion. Use for:

  • Why an approach failed
  • What not to retry
  • Constraints or decisions future steps must obey
govctl work add <WI-ID> notes "Remember to update migration guide"
govctl work add <WI-ID> notes "API is now async"

Acceptance Criteria

Every criterion MUST have a category prefix for changelog generation:

PrefixChangelog SectionAliases
add:Addedfeat:, feature:, added:
fix:Fixedfixed:
change:Changedchanged:, refactor:, perf:
remove:Removedremoved:
deprecate:Deprecateddeprecated:
security:Securitysec:
chore:(excluded)test:, docs:, ci:, build:
# Feature work
govctl work add <WI-ID> acceptance_criteria "add: Implement clause validation"
govctl work add <WI-ID> acceptance_criteria "add: Error messages include clause ID"

# Bug fix
govctl work add <WI-ID> acceptance_criteria "fix: Duplicate clause detection"

# Internal
govctl work add <WI-ID> acceptance_criteria "chore: All tests pass"
govctl work add <WI-ID> acceptance_criteria "chore: govctl check passes"

References

Link to governing artifacts:

govctl work add <WI-ID> refs RFC-0001
govctl work add <WI-ID> refs ADR-0023

Field Semantics Summary

FieldPurposeUpdate Pattern
descriptionTask scope declarationDefine once, rarely change
journalExecution process trackingAppend on each progress
notesDurable learningsAdd when future steps must remember something
acceptance_criteriaCompletion criteriaDefine then tick

Per ADR-0026: Keep description focused on "what", journal on "what happened", and notes on "what to remember next".

Writing Rules

Acceptance Criteria Quality

Each criterion should be:

  • Specific — "Add validate_refs() function" not "Add validation"
  • Testable — Can be verified as done/not-done with no ambiguity
  • Independent — Each criterion stands alone
  • Categorized — Always include the category prefix

Completion Flow

Work items cannot be marked done without ticking all criteria:

# Tick criteria as you complete them
govctl work tick <WI-ID> acceptance_criteria "<pattern>" -s done

# When all criteria are done, close the work item
govctl work move <WI-ID> done

The chore: Pattern

Always add at least one chore: criterion for validation:

govctl work add <WI-ID> acceptance_criteria "chore: govctl check passes"

This ensures validation is an explicit gate, not an afterthought.

Common Mistakes

MistakeFix
Missing category prefixAlways use add:, fix:, chore:, etc.
Placeholder description left inReplace immediately with real description
Vague criteria: "Feature works"Specific: "add: CLI returns exit code 0 on success"
No chore: criterionAdd "chore: govctl check passes" or "chore: all tests pass"
No refs to governing artifactsLink RFCs/ADRs with work add <WI-ID> refs
Description used for trackingUse journal field for execution progress per ADR-0026
No journal entries for long taskAdd journal entries for significant progress updates

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Write effective Architecture Decision Records. Use when: (1) Creating a new ADR, (2) Recording a design decision, (3) User mentions ADR, decision, trade-off, or alternatives

日本語の概要は準備中です。原文の説明を表示しています。

lucifer1004/typub352026年7月11日 更新

commit

無料

Commit changes with govctl integration — check work item status, update journal or notes, and run govctl check

日本語の概要は準備中です。原文の説明を表示しています。

lucifer1004/typub352026年7月11日 更新

Stress-test a design decision with premortem/backcast analysis, then produce a risk-calibrated recommendation that maps to ADR fields. Use when: (1) Multiple competing architecture options, (2) Irreversible or high-risk design choices, (3) /discuss identifies a complex trade-off

日本語の概要は準備中です。原文の説明を表示しています。

lucifer1004/typub352026年7月11日 更新

discuss

無料

Facilitate design discussion — research context, clarify requirements, draft RFC/ADR

日本語の概要は準備中です。原文の説明を表示しています。

lucifer1004/typub352026年7月11日 更新

gov

無料

Execute governed implementation workflow with work items, RFC/ADR checks, phase gates, testing, and closure. Use when: (1) User invokes /gov, (2) A non-trivial change needs work item tracking, (3) Implementation may require RFC/ADR handling

日本語の概要は準備中です。原文の説明を表示しています。

lucifer1004/typub352026年7月11日 更新

Write well-structured Verification Guards. Use when: (1) Creating a new guard, (2) Editing guard check commands or patterns, (3) User mentions guard, verification, or check

日本語の概要は準備中です。原文の説明を表示しています。

lucifer1004/typub352026年7月11日 更新

lucifer1004 のスキルをすべて見る

このスキルの問題を報告する