dev:auto:plan

Générer plan d'implémentation automatiquement - Mode AUTO (Phase 5)

8 stars

Best use case

dev:auto:plan is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Générer plan d'implémentation automatiquement - Mode AUTO (Phase 5)

Teams using dev:auto:plan should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/auto-plan/SKILL.md --create-dirs "https://raw.githubusercontent.com/atournayre/claude-marketplace/main/dev/skills/auto-plan/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/auto-plan/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How dev:auto:plan Compares

Feature / Agentdev:auto:planStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Générer plan d'implémentation automatiquement - Mode AUTO (Phase 5)

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Objectif

## Instructions à Exécuter

**IMPORTANT : Exécute ce workflow étape par étape :**


Phase 5 du workflow automatisé : générer un plan d'implémentation détaillé basé sur l'architecture choisie **SANS interaction**.

# Instructions

## 1. Lire le contexte

Déterminer le chemin du workflow state :

```bash
workflow_state_file=".claude/data/workflows/issue-${issue_number}-dev-workflow-state.json"
```

- Lire le workflow state pour récupérer :
  - La feature description
  - Les décisions de clarification (Phase 3)
  - L'architecture choisie (Phase 4)
- Si phases précédentes non complétées, exit avec erreur code 1

## 2. Générer le plan

Créer le fichier `docs/specs/feature-{nom-kebab-case}.md` avec le contenu suivant :

```markdown
# Plan d'implémentation : {Feature Name}

## Résumé

**Feature :** {description}
**Approche :** {nom de l'approche choisie}
**Date :** {date du jour}

## Contexte

### Problème résolu
{description du problème}

### Décisions prises
- {décision 1}
- {décision 2}

## Architecture

### Composants
| Composant | Responsabilité | Fichier |
|-----------|---------------|---------|
| {nom} | {description} | `{chemin}` |

### Diagramme de flux
```
{représentation ASCII du flux}
```

## Plan d'implémentation

### Étape 1 : {titre}
- [ ] {tâche 1}
- [ ] {tâche 2}

**Fichiers :**
- `{chemin}` : {description}

### Étape 2 : {titre}
- [ ] {tâche 1}
- [ ] {tâche 2}

**Fichiers :**
- `{chemin}` : {description}

...

## Tests

### Tests unitaires
- [ ] {test 1}
- [ ] {test 2}

### Tests d'intégration
- [ ] {test 1}
```

## 3. Sauvegarder le chemin du plan

Mettre à jour le workflow state :

```json
{
  "currentPhase": 5,
  "phases": {
    "5": {
      "status": "completed",
      "completedAt": "{ISO timestamp}",
      "durationMs": {durée},
      "planPath": "docs/specs/feature-{nom-kebab-case}.md",
      "components": ["{liste des composants}"],
      "implementationSteps": {nombre}
    }
  }
}
```

# Règles

- ✅ **Mode automatique** : aucune interaction
- ✅ **Générer le plan** basé sur les phases précédentes
- ✅ **Créer le fichier** `docs/specs/` avec chemin correct
- ✅ **Documenter chaque étape** d'implémentation
- ❌ **Jamais demander confirmation**
- ✅ **Exit 1 si phases précédentes manquantes**