Rédacteur d'éléments de travail

VérifiéSûr

Rédigez des éléments de travail bien structurés avec des descriptions claires et des critères d'acceptation exploitables. Utile lors de la création d'éléments de travail, de l'ajout de critères d'acceptation, ou lorsqu'un élément de travail, une tâche, un WI ou un ticket est mentionné. Fournit des modèles structurés pour les titres, descriptions, entrées de journal, notes et critères d'acceptation catégorisés.

Spar Skills Guide Bot
DeveloppementIntermédiaire
8002/06/2026
Claude Code
#work-items#acceptance-criteria#task-management#project-organization

Recommandé pour

Notre avis

Rédige des éléments de travail structurés avec des critères d'acceptation catégorisés et un suivi de progression via journal.

Points forts

  • Format standardisé avec préfixes catégorisés pour génération automatique de journal des modifications.
  • Sépare clairement portée, progression et apprentissages durables.
  • Permet de lier des artefacts externes (RFC, notes).
  • Facilite le marquage et le déplacement des éléments de travail.

Limites

  • Nécessite l'apprentissage de la syntaxe et des commandes govctl.
  • Peut être excessif pour des tâches très simples ou informelles.
  • Dépend de l'outil CLI govctl, non disponible universellement.
Quand l'utiliser

Lors de la création ou mise à jour d'éléments de travail nécessitant des critères d'acceptation clairs et un suivi de progression.

Quand l'éviter

Pour des notes informelles ou des tâches rapides ne nécessitant pas de suivi structuré.

Analyse de sécurité

Sûr
Score qualité85/100

The skill provides documentation and examples for using the 'govctl' CLI tool to manage work items. No destructive commands, exfiltration, or obfuscated payloads are present. All commands are benign and operate within a work item management context.

Aucun point d'attention détecté

Exemples

Create a new feature work item
Create a work item for adding user authentication with acceptance criteria including add, change, and chore categories.
Log progress after completing a task
Add a journal entry to work item WI-1234 saying the validation logic is complete and tests pass.
Mark an acceptance criterion as done
Tick off the 'add: Implement login endpoint' criterion on WI-1234 as done.

name: wi-writer description: "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"

Work Item Writer

Write work items with clear descriptions and actionable acceptance criteria.

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:

| Prefix | Changelog Section | Aliases | | ------------ | ----------------- | --------------------------------- | | add: | Added | feat:, feature:, added: | | fix: | Fixed | fixed: | | change: | Changed | changed:, refactor:, perf: | | remove: | Removed | removed: | | deprecate: | Deprecated | deprecated: | | security: | Security | sec: | | 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

| Field | Purpose | Update Pattern | | --------------------- | -------------------------- | --------------------------------------------- | | description | Task scope declaration | Define once, rarely change | | journal | Execution process tracking | Append on each progress | | notes | Durable learnings | Add when future steps must remember something | | acceptance_criteria | Completion criteria | Define 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

| Mistake | Fix | | -------------------------------- | ----------------------------------------------------------- | | Missing category prefix | Always use add:, fix:, chore:, etc. | | Placeholder description left in | Replace immediately with real description | | Vague criteria: "Feature works" | Specific: "add: CLI returns exit code 0 on success" | | No chore: criterion | Add "chore: govctl check passes" or "chore: all tests pass" | | No refs to governing artifacts | Link RFCs/ADRs with work add <WI-ID> refs | | Description used for tracking | Use journal field for execution progress per ADR-0026 | | No journal entries for long task | Add journal entries for significant progress updates |

Skills similaires