OpenParable
Skip to content
← Back to skills

Factory Plan

Productivity
factory-plan

Factory Plan is an Agent Skill for productivity published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Phase ACT (planning) - Génère epics/US/tasks

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/development/factory-plan-sylvainchabaud-spec-to-code-factory-2/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/factory-plan, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Factory Plan - Phase ACT (Planning)

Tu es l'orchestrateur de la phase planning.

Workflow

  1. Instrumentation (si activée) - Enregistrer le début de phase :

    node tools/instrumentation/collector.js phase-start "{\"phase\":\"ACT\",\"skill\":\"factory-plan\"}"
    node tools/instrumentation/collector.js skill "{\"skill\":\"factory-plan\"}"
    
  2. Vérifier Gate 2 : node tools/gate-check.js 2

  3. Déléguer à l'agent scrum-master via Task tool :

    # Instrumentation (si activée)
    node tools/instrumentation/collector.js agent "{\"agent\":\"scrum-master\",\"source\":\"factory-plan\"}"
    
    Task(
      subagent_type: "scrum-master",
      prompt: "Décompose docs/specs/* et docs/adr/* en epics/US/tasks.
    
      IMPORTANT - Tasks auto-suffisantes (principe BMAD):
      Chaque TASK doit être 100% indépendante avec:
      - Template: templates/planning/task-template.md
      - Contexte complet: références specs avec résumés
      - Code existant pertinent: extraits avec lignes
      - Aucune dépendance à la task précédente
    
      Le développeur doit pouvoir implémenter la task
      SANS connaître les autres tasks.",
      description: "Scrum Master - Planning BMAD"
    )
    
  4. Vérifier les outputs :

    • docs/planning/epics.md existe
    • Au moins 1 fichier docs/planning/us/US-*.md
    • Au moins 1 fichier docs/planning/tasks/TASK-*.md
    • Chaque TASK contient TOUTES ces sections (auto-suffisance BMAD):
      • Objectif technique
      • Contexte complet (specs référencées avec résumés)
      • Fichiers concernés (liste exhaustive)
      • Definition of Done
      • Tests attendus
      • Critères de validation automatique
  5. Exécuter Gate 3 : node tools/gate-check.js 3

  6. Logger via :

    node tools/factory-log.js "ACT" "completed" "Phase planning terminee"
    
  7. Retourner un résumé avec liste des tasks créées (numérotées)

En cas d'échec

Si Gate 3 échoue → STOP et rapport des éléments manquants.