Planification de fonctionnalités

VérifiéSûr

Transforme le contexte d'un élément de travail en plans prêts à exécuter et prompts de passation. Pour exigences, planification et tests de robustesse.

Spar Skills Guide Bot
DeveloppementIntermédiaire
03/08/2026
Claude Code
#feature-planning#requirements#work-planning#handoff#prd

Recommandé pour

Synthèse automatique

Transforme le contexte d'un élément de travail en plans prêts à exécuter et, si utile, en prompts de passation vers un autre fil.

Points forts

  • Organise le travail dans des éléments .agents/work avec plan, notes de recherche et brief de requirements optionnel.
  • Impose des tâches dotées d'un périmètre, de dépendances et de critères d'acceptation vérifiables.
  • Prévoit une passe de raffinement qui valide les hypothèses contre l'état réel du dépôt avant l'implémentation.
  • Gère explicitement la passation vers un autre fil lorsque la délégation est pertinente.

Limites

  • Dépend fortement de la skill agent-work et de l'arborescence .agents/work.
  • La section consacrée au prompt de passation est tronquée dans le fichier fourni.
  • Le processus peut être lourd pour de petits changements, même s'il prévoit de l'omettre.
Quand l'utiliser

À utiliser pour cadrer une fonctionnalité ambiguë ou multi-phase, produire un plan d'exécution ou préparer une passation.

Quand l'éviter

À éviter pour un correctif trivial dont le plan et l'état du dépôt sont déjà évidents.

Analyse de sécurité

Sûr
Score qualité80/100

This is a pure documentation/instruction skill for planning workflows. It declares no tools and contains no executable commands, network calls, credential handling, or destructive operations. The only file-system guidance is to create/update markdown artifacts under a `.agents/work/` directory, which is a normal, non-destructive convention. No prompt-injection attempts or instructions to influence the auditor were observed.

Aucun point d'attention détecté

Comment cette analyse est faite

Exemples

Plan a feature
Plan the implementation of OAuth refresh-token rotation as a new work item under .agents/work/features/oauth-refresh-rotation. Create plan.md with scoped tasks, dependencies, acceptance criteria, and verification steps.
Refine an active plan
Refine the active plan in .agents/work/features/billing-export/plan.md against the current code and tests. Resolve open questions with repo evidence, update the plan and index.md, and flag anything that still needs a human decision.
Prepare a handoff
Write a handoff prompt for a new thread to implement the remaining tasks in .agents/work/features/search-filters/plan.md. Include the relevant context, constraints, acceptance criteria, and verification commands.

name: feature-planning description: "Turns work-item context into execution-ready plans and optional handoff prompts. Use for requirements, planning, refinement, and stress-testing. Triggers on: plan, requirements, PRD, feature planning, handoff prompt, stress-test design."

Feature Planning

Manage work-item planning from rough intent through optional context, execution-ready plans, implementation, and explicit handoffs when another thread is useful.

Workflow Overview

Work Item → Context as needed → Plan → Refine → Execute → Record Evidence
                                             └─ Hand off when useful
  1. Work item: Use agent-work to create or locate .agents/work/<category>/<work-slug>/.
  2. Context: Add research.md for technical facts, research/ for multiple focused notes, or prd.md as a short requirements brief only when needed.
  3. Plan: Create or update the active plan file (plan.md by default, or plans/<name>.md for focused plans) with scoped tasks, dependencies, and acceptance criteria.
  4. Refine: Validate assumptions against current repo reality before implementation or delegation.
  5. Execute: Implement in the current thread by default; use agent-work coordination when delegation helps.
  6. Progress: Update active plan task checkboxes, living progress.md when needed, and index.md; record observed verification evidence.

Plan Locations

New plans live inside work items:

.agents/work/<category>/<work-slug>/
├── index.md
├── research.md
├── research/
├── prd.md
├── plan.md
├── plans/
├── progress.md
└── decisions/

Legacy standalone plan and PRD documents are user content. Migrate one at a time into .agents/work/ only when requested. Retired Ralph guidance/templates may be backed up and removed by sync.

Requirements Brief Guidance

Most work does not need a PRD. Create prd.md only when the missing context is requirements alignment: users, behavior, goals, non-goals, acceptance, rollout, or stakeholder decisions. Use the agent-work requirements brief template.

Use research.md or research/ for technical discovery. If acceptance criteria fit naturally in the active plan file, skip prd.md.

Plan Guidance

Use the agent-work plan template. Keep plans implementation-ready:

  • Each task has Scope, Depends on, and verifiable Acceptance.
  • The next task or phase is obvious.
  • Scope limits and verification commands are explicit when not obvious.
  • Blockers, manual steps, and risky assumptions are called out.
  • Tasks are small enough to review independently.
  • Verification is proportional to blast radius and identifies running-system or manual proof when automated checks are insufficient.
  • Deployment, migration, ordering, approval, and rollback steps are explicit when the change touches a release surface.

For larger work, prefer an early thin slice that proves the end-to-end path before broad hardening.

Pre-Implementation Refinement

Use this before implementation or handoff when work is multi-phase, ambiguous, or stale.

  1. Read the work item's index.md and active plan file (plan.md or plans/<name>.md as linked from index.md).
  2. Read relevant research.md, requirements brief (prd.md), and decisions only as needed.
  3. Validate key assumptions against current code, dependencies, and test setup.
  4. Resolve material open questions with repo evidence where possible; ask the user only for decisions the repo cannot answer.
  5. If a planned task is already satisfied, record evidence and update the active plan file instead of creating no-op work.
  6. Update the active plan file, living progress.md when it exists, and index.md when refinement changes the next action or known constraints.

Skip the full pass for small, obvious changes where the plan and repo state are already aligned.

New-Thread Handoff Prompt

Use this mode when asked to write a prompt for a new thread, implementation handoff, or continuation. Produce a paste-ready prompt; do not implement the work yourself unless the user explicitly asks.

The prompt should include:

  1. Work item path.
  2. Files to read first.
  3. Goal and current state.
  4. Exact task, phase, or slice to implement.
  5. Scope limits and non-goals.
  6. Artifact update contract for the active plan file, living progress.md when needed, and index.md.
  7. Verification commands or manual checks.
  8. Stop conditions.
  9. Expected final response format.

Use this template:

You are continuing the work item at:

.agents/work/<category>/<slug>/

Read first:
1. .agents/work/<category>/<slug>/index.md
2. <active plan file linked from index.md: .agents/work/<category>/<slug>/plan.md or .agents/work/<category>/<slug>/plans/<name>.md>
3. Relevant artifacts linked from index.md

Goal:
<one-paragraph goal>

Current state:
<what is already done, plus branch/commit/thread anchors if useful>

Implement only this slice:
- <Task N / phase / exact acceptance criteria>

Scope limits:
- Touch only <paths/modules> unless the plan proves the scope is wrong.
- Do not broaden the feature.
- If the plan is stale, update the plan and explain why before implementing.

Progress contract:
- Update completed task checkboxes in the active plan file.
- Keep progress.md current with the active slice, observed verification evidence, blockers, and next action when the work spans sessions or workers.
- Update index.md Status, Updated, Artifacts, and Next Action when they change.

Verification:
- Run <commands>.
- If verification cannot run, record why and what remains unverified.

Stop conditions:
- Stop and report if blocked by missing decisions, credentials, unsafe migrations, unrelated failing tests, or scope expansion.

Expected final response:
- Summary of changes
- Files changed
- Verification results
- Work item updates made
- Remaining next action

Stress-Test Mode

Use this only when the user explicitly asks to stress-test, grill, or walk decision branches.

  1. Inspect the existing PRD, plan, repo docs, and relevant code first.
  2. Ask one highest-leverage unresolved question at a time.
  3. Provide a recommended default answer and brief rationale for each question.
  4. Capture outcomes in prd.md, the active plan file, or index.md.
  5. Exit once remaining ambiguity no longer materially changes scope, sequencing, or architecture.

Definition Of Done

Planning is done when the work item has a current index.md, required context artifacts, an execution-ready active plan file, and a clear next action. Produce a paste-ready handoff prompt only when another thread will execute the work.

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/feature-planning-mscrf0bi/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/feature-planning-mscrf0bi' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/feature-planning-mscrf0bi/download' --output '.skill-downloads/feature-planning-mscrf0bi/SKILL.md.part' && mv '.skill-downloads/feature-planning-mscrf0bi/SKILL.md.part' '.skill-downloads/feature-planning-mscrf0bi/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/feature-planning-mscrf0bi/SKILL.md' && test -s '.skill-downloads/feature-planning-mscrf0bi/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/feature-planning' && cp -R '.skill-downloads/feature-planning-mscrf0bi' '.claude/skills/feature-planning'

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/feature-planning-mscrf0bi'

openskills read 'feature-planning-mscrf0bi'

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/feature-planning-mscrf0bi/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