Factory Plan
Productivityfactory-planFactory 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
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
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
-
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\"}" -
Vérifier Gate 2 :
node tools/gate-check.js 2 -
Déléguer à l'agent
scrum-mastervia 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" ) -
Vérifier les outputs :
docs/planning/epics.mdexiste- 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
-
Exécuter Gate 3 :
node tools/gate-check.js 3 -
Logger via :
node tools/factory-log.js "ACT" "completed" "Phase planning terminee" -
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.