claudex-plan
Brainstorm a feature, produce design + e2e test plan, and create a draft PR
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Brainstorm a feature, produce design + e2e test plan, and create a draft PR
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Create and orchestrate a Claude Code agent team for feature implementation
Run an agent team to implement a planned feature
Post-merge cleanup for a completed feature
Naming conventions for features, branches, docs, and commits
Generate blackbox e2e smoke test plans for features
| name | claudex-plan |
| description | Brainstorm a feature, produce design + e2e test plan, and create a draft PR |
Plan a feature: brainstorm design, generate an e2e test plan, create a draft PR, and record all state in config.json.
This skill expects claudex new <name> has already been run. That creates:
feature/<id>-<slug> branchdocs/features/<id>-<slug>/config.json with feature metadataBefore starting, verify:
FULL_NAME=$(basename "$(git rev-parse --show-toplevel)")
CONFIG="docs/features/${FULL_NAME}/config.json"
if [[ ! -f "$CONFIG" ]]; then
echo "No config.json found. Run 'claudex new <name>' first." >&2
exit 1
fi
Read config.json and use its fields for all paths below. If not currently in the worktree directory, cd into worktreePath.
REQUIRED: Use the brainstorming skill (invoke /brainstorming).
Brainstorm the feature with the user. Save the output as design.md in the feature's docs directory (docsDir from config.json).
REQUIRED: Use the claudex-testing-e2e skill (invoke /claudex-testing-e2e).
Generate a blackbox e2e smoke test plan based on design.md. Save as testing-plan.md in the same docs directory.
git add "<docsDir>/design.md" "<docsDir>/testing-plan.md" "<docsDir>/config.json"
git commit -m "feat: plan <slug> (#<featureId>)"
git push -u origin "<gitBranch>"
gh pr create --draft \
--title "feat: <slug> (#<featureId>)" \
--body "## Summary
Design and test plan for feature <fullName>.
## Documents
- \`<docsDir>/design.md\` — Feature design
- \`<docsDir>/testing-plan.md\` — E2E smoke test plan
- \`<docsDir>/config.json\` — Feature config
## Status
Planning complete. Ready for /claudex-build."
Capture the PR URL from gh pr create output.
Ask the user:
"Paste the Codex architect session ID (or press Enter to skip):"
Update config.json with the new fields:
prUrl — the draft PR URL from Step 3architectSessionId — from Step 4 (or keep null if skipped)Commit and push:
git add "<docsDir>/config.json"
git commit -m "feat: update config with PR and architect (#<featureId>)"
git push
Print:
Planning complete for <fullName>.
PR: <prUrl>
Docs: <docsDir>/
Next: run /claudex-build (in a separate session)