Ajouter une histoire au backlog

VérifiéSûr

Ajoute une nouvelle histoire au backlog dans ProductSpecification/stories.md, avec vérification des doublons et critères de qualité des stories.

Spar Skills Guide Bot
DeveloppementIntermédiaire
25/08/2026
Claude Code
#backlog#user-stories#product-spec#workflow#quality-gate

Recommandé pour

Synthèse automatique

Ajoute une ligne d'histoire utilisateur au tableau Backlog de ProductSpecification/stories.md, après contrôle des doublons et filtrage des histoires mal formulées.

Points forts

  • Détecte les doublons dans les trois tableaux (In Progress, Backlog, Done) avant d'ajouter quoi que ce soit
  • Refuse les histoires formulées comme des choix techniques et propose une reformulation centrée sur la valeur utilisateur, en redirigeant le travail purement interne vers /task
  • Repère les fragments de parcours sans valeur propre et les histoires trop larges, avec proposition de fusion ou de découpage
  • Reste volontairement limité à l'enregistrement : la rédaction de la spécification est laissée à /continue

Limites

  • Suppose une arborescence de projet précise (ProductSpecification/stories.md, .claude/rules/workflow.md) et ne s'adapte pas à une autre organisation
  • Fortement lié à Claude Code et à la commande /story
  • Ne décrit pas la création du fichier stories.md ni de ses trois tableaux : ils doivent déjà exister
Quand l'utiliser

À utiliser quand vous voulez inscrire une nouvelle histoire utilisateur au backlog avant sa phase de spécification.

Quand l'éviter

À éviter pour une tâche purement technique sans résultat visible pour l'utilisateur (utiliser /task) ou pour rédiger directement la spécification d'une histoire.

Analyse de sécurité

Sûr
Score qualité90/100

The skill only instructs reading and editing a Markdown backlog file within the project. It declares no allowed tools and contains no destructive, exfiltrating, or obfuscated actions. The workflow is purely editorial and collaborative.

Aucun point d'attention détecté

Comment cette analyse est faite

Exemples

Add a user-value story
/story "a user sees order status updates without refreshing the page"
Push back on a tech story
/story "migrate to a new cache layer"
Backlog a fragment
Add a story to the backlog: remove the watermark from the downloaded file

name: story description: Add a new story to the Backlog table in ProductSpecification/stories.md. Use when the user wants to add, register, or backlog a story, or mentions the /story command.

Add Story to Backlog

Add a story row to the Backlog table in ProductSpecification/stories.md. This skill does NOT generate a story specification — spec generation is dispatched by /continue via .claude/templates/spec/story-spec-generation.md when the story's spec phase starts (see .claude/rules/workflow.md Lifecycle).

Usage

/story "Story name"         # Add named story to the Backlog
/story                      # Ask for the story name, then add

A bare-number argument is not a story name (the retired spec-generation /story selected stories by number) — ask what the user meant instead of adding a row named after the number.

Workflow

Phase 1: Read the story map

Read ProductSpecification/stories.md — all three tables (In Progress, Backlog, Done).

Phase 2: Duplicate check

If the requested name matches an existing row in any table (case-insensitive, ignoring punctuation), report the existing row and its table instead of adding a duplicate. Stop.

Phase 3: Quality gate — pain or opportunity

A story is a pain to be cured or an opportunity to be gained for a user. Before adding the row, test the requested story against both rejection patterns below. Do not silently accept a story that fails one.

  • Tech story — names a solution or technology instead of a user outcome (e.g., "add message-queue streaming", "migrate to a new cache"). Technology choices are implementation decisions made inside a story's scenarios, not stories. Ask what user pain or opportunity the technology serves, and propose the story reformulated around that value (e.g., "add message-queue streaming" → "a user sees updates without refreshing"). When the work has no user-facing outcome at all — a purely internal migration or clean-up — point at /task (a refactoring task) as its home: the story lifecycle would run interview, mockups, and frontend phases over work with no user to interview and no screen to mock up.
  • Part-story — a fragment of a user journey with no independent value: a step, precondition, or continuation of another behavior (e.g., "log in and download the file" + "remove the watermark from the downloaded file" instead of "remove the watermark"). Propose the single story that carries the whole user value — preconditions and steps belong to that story's flow, not to separate rows. When that whole-value story is already a row, the fragment belongs inside its scope: report that row and stop rather than appending a second, overlapping row.

When a pattern fires: state which one and why, propose the reformulated user-value story, and add a row only for the story the user confirms — the reformulation, or their original wording if they insist after hearing the pushback.

Re-run the Phase 2 duplicate check against the confirmed name whenever it differs from the requested one. Phase 2 only checked what the user asked for; a reformulation rewrites tech or fragment phrasing into user-value phrasing, which is exactly the phrasing existing rows already use — so the reformulated name is more likely to collide than the original, not less.

Phase 4: Size check — one story, not a program of work

A story is one user outcome: spec'd once, delivered once. Test the story as Phase 3 left it — the reformulation the user confirmed, or the requested name when no pattern fired. Phase 3's part-story remedy merges fragments into the story that carries the whole user value, which is exactly the umbrella shape this check tests. When that story would plausibly explode into tens of scenarios, propose a split into independently valuable stories before adding the row. Signals it is oversized:

  • The name joins separate outcomes ("register and manage a subscription") — each half is worth shipping without the other.
  • It is an umbrella verb over an entity ("manage {Entity}"), which unpacks into create, edit, delete, list, and search — five outcomes in one row.
  • It spans several distinct journeys, user roles, or screens, each with its own flow.

Every lifecycle phase — interview, spec, mockups, and each scenario type — runs over the whole row, so an oversized row holds all of them open at once and delivers nothing until its last scenario is green. The same work split across rows ships value as each row completes.

Each story in a proposed split must stand alone — one a user would notice if it shipped by itself. Splitting by layer or phase (a "backend" story plus a "frontend" story) is not a split: it produces fragments that fail the part-story test in Phase 3.

When the size check fires: state which signal fired, propose the split as a named list of stories, and add rows only for what the user confirms — the split, or the single story if they insist after hearing the pushback.

Re-check every confirmed split name — whether it came from the proposed split or from the user's counter-proposal. A split mints brand-new names that no earlier phase has seen; passing the gate in the pre-split wording proves nothing about the fragments it unpacks into.

  • Part-story test (Phase 3) against each name. When one fails, the split boundary is wrong — not the split: propose a different boundary that gives each story independent value. Never merge the fragment back into the whole, which lands on this size check again and ping-pongs between the two phases.
  • Duplicate check (Phase 2) against each name (same reason as Phase 3: a split renames). Phase 2's "Stop." is written for a single name and would discard a split the user just confirmed, so across a split it does not stop: add the non-colliding rows, and report each colliding name against the row it matched. A collision means that slice is already tracked — report it, never drop it silently.

Phase 5: Add the Backlog rows

  1. Numbering. The first story = highest # across all three tables + 1 (zero-padded to two digits, matching the existing rows); when all three tables are empty, start at 01. A confirmed split numbers its stories consecutively from there, in the order proposed.
  2. Append one row per confirmed story to the Backlog table — one row for a single story, N rows for a confirmed N-way split. Row format: every phase column (Spec through Infra) is · (no story folder exists yet, per the lifecycle rules in .claude/rules/workflow.md), and Tests / % stay empty.
  3. Create nothing else — no folder, no spec files. Those appear when /continue N promotes the story and runs its spec phase.

Phase 6: Report

State the new row (number, name) — every row, when a split produced several — and every confirmed name that was not added because it collided, naming the row it matched. Then point at the next step: /continue N auto-promotes the story from Backlog to In Progress and starts the spec phase (interview → story spec → …).

Constraints

  • stories.md is the only file this skill writes, and appending Backlog rows is the only edit it makes. Never rename or rewrite an existing row: rows in In Progress and Done have a story folder whose slug was derived from the name, and renaming the row orphans the folder.
  • Keep the row format identical to the existing Backlog rows — same columns, same · markers. Do not add a Total row.
  • Story names may contain punctuation (e.g., "Login/Logout") — the folder slug is derived later, at promotion, by /continue (its File-lookup rule owns that derivation).

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/add-story-to-backlog-mt87673w/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/add-story-to-backlog-mt87673w' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/add-story-to-backlog-mt87673w/download' --output '.skill-downloads/add-story-to-backlog-mt87673w/SKILL.md.part' && mv '.skill-downloads/add-story-to-backlog-mt87673w/SKILL.md.part' '.skill-downloads/add-story-to-backlog-mt87673w/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/add-story-to-backlog-mt87673w/SKILL.md' && test -s '.skill-downloads/add-story-to-backlog-mt87673w/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/story' && cp -R '.skill-downloads/add-story-to-backlog-mt87673w' '.claude/skills/story'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/add-story-to-backlog-mt87673w'

openskills read 'add-story-to-backlog-mt87673w'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/add-story-to-backlog-mt87673w/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires