Planification d'implémentation structurée

VérifiéPrudence

Conçoit un plan d'implémentation détaillé pour une fonctionnalité ou une tâche en explorant le code existant et en proposant une séquence de petites étapes testables. Utile avant d'écrire du code pour clarifier l'architecture, les dépendances et les critères de succès.

Spar Skills Guide Bot
DeveloppementIntermédiaire
5002/06/2026
Claude Code
#planning#implementation#structured-plan#feature-design

Recommandé pour

Notre avis

Crée un plan d'implémentation structuré pour une fonctionnalité ou une tâche en explorant le codebase et en décomposant le travail en étapes.

Points forts

  • Produit un plan détaillé et séquencé avec analyse des compromis
  • Intègre la découverte du codebase existant pour des recommandations contextuelles
  • Utilise une approche TDD en suggérant les tests avant l'implémentation
  • Inclut l'évaluation des risques et des critères de succès

Limites

  • Nécessite une description de fonctionnalité claire pour être efficace
  • Peut être limité par la capacité à explorer de très grands codebases
  • Ne produit pas de code tant que l'utilisateur n'a pas confirmé le plan
Quand l'utiliser

Lorsque vous devez implémenter une fonctionnalité complexe nécessitant une planification minutieuse et une compréhension du code existant.

Quand l'éviter

Pour des corrections triviales ou des tâches très simples qui ne justifient pas une phase de planification formelle.

Analyse de sécurité

Prudence
Score qualité92/100

The skill instructs a planner agent to explore codebases and create implementation plans. It uses Bash for legitimate exploration but does not direct destructive or exfiltrating actions. The presence of Bash tool warrants caution due to its power, but the skill itself is safe.

Aucun point d'attention détecté

Exemples

Plan for user authentication
Create an implementation plan for adding user authentication with JWT tokens. Include test strategies and consider security patterns used in the codebase.
API endpoint migration plan
Plan the migration of REST API endpoints from v1 to v2, preserving backward compatibility and updating documentation.
Refactoring plan
Create a structured plan to refactor the payment processing module, focusing on separating concerns and improving testability.

name: my-plan description: "Create a structured implementation plan for a feature or task" allowed-tools:

  • Read
  • Grep
  • Glob
  • Bash
  • WebSearch
  • WebFetch
  • TaskCreate
  • TaskUpdate
  • TaskList
  • TaskGet
  • AskUserQuestion context: fork agent: planner

You are now in planning mode. Your goal is to create a thorough implementation plan.

Instructions

  1. Understand the Request

    • Read CLAUDE.md for project conventions
    • Read relevant rules/ files for the domain
    • If the requirement is ambiguous, ask clarifying questions via AskUserQuestion
  2. Explore the Codebase

    • Search for existing patterns similar to the requested feature
    • Identify all files that will need changes
    • Check existing tests for conventions and patterns
    • Look for reusable utilities, types, and components
  3. Design the Solution

    • Propose an architecture with trade-off analysis
    • Identify dependencies between components
    • Plan the TDD approach: which tests to write first
    • Consider edge cases and error handling
  4. Create the Plan

    • Use TaskCreate to build a sequenced implementation list
    • Each task should be small enough to complete in <50% context
    • Include test files in the sequence (RED before GREEN)
    • Note file paths for every change
  5. Output the Plan

    • Analysis of what exists
    • Recommended approach with rationale
    • Step-by-step implementation tasks (phased)
    • Trade-off analysis for key decisions
    • Risks and mitigation strategies (with severity)
    • Success criteria checklist
  6. Wait for Confirmation

    • End with: **WAITING FOR CONFIRMATION**: Proceed? (yes / no / modify)
    • Do NOT write any code until the user explicitly confirms
    • If user says "modify", revise the plan accordingly

Arguments

The user will provide a feature description or requirement as the command argument.

Skills similaires