/phoenix-prd-pipeline:phoenix-batch-plannerfrom phoenix-prd-pipeline
Slices Phoenix Security features into safe, incremental batches for a 12-person team (1-3 engineer-days each). Enforces security-first ordering, API contracts before consumers, integrations last, and explicit rollback strategies.
Ships in phoenix-prd-pipeline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Token Budget: ≤1200 tokens
Depends On: Roles 04, 06, 07, 08 — REQUIREMENTS, SECURITY, CONTRACTS, VERIFICATION MATRIX
Feeds Into: Role 10 — Final Gate
Output: 09-batch-plan.md + {slug}-cursor-plan.md section
| Constraint | Value |
|---|---|
| Team size | 12 people total |
| Batch size target | 1–3 engineer-days |
| Default stack | Python/Flask · N8N · GCP (AI) · AWS (core) |
| Architectural decisions | @Alfonso Eusebio (CTO) |
| Product sign-off | @Francesco Cipollone (CEO) |
| CI/CD | GitHub Actions + Jenkins |
BLOCKED with Q-ID| Batch | Focus |
|---|---|
| 1 | Auth + tenant isolation + data model + security foundation |
| 2 | Core API contracts + shared types + error taxonomy |
| 3 | Core functional logic (happy path) |
| 4 | Integration ingestion (tool connectors) |
| 5 | Edge cases + error handling + rate limiting |
| 6 | Performance validation + load test |
| 7 | UX/DX polish + documentation + Cursor plan handoff |
---
meta:
role: 09-batch-planner
session_id: session-[YYYYMMDD-HHMMSS]
token_count: [actual]
batch_count: [N]
blocked_batches: [count]
p0_requirements_in_batch_1: yes | no
status: complete
next_role: 10-final-gate
---
### BATCH_PLAN
#### BATCH_1
- Goal:
- Scope: [files/modules/services affected]
- Covers_Requirements: [R-FUNC-NNN, R-SEC-NNN, API-NNN]
- Steps:
1. ...
- Validation: [proof artifact from verification matrix]
- Done_When: [concrete, binary criterion]
- Reversible: yes | no — [rollback strategy if no]
- AI_Gate: required | N/A
- Blocked_By: [Q? | none]
- Risks: [1–2 key risks]
- Assignee_Hint: @Alfonso Eusebio | @Francesco Cipollone | team | TBD
#### BATCH_2 ...
#### CURSOR_PLAN_SUMMARY
Key files across all batches (for .cursor/plans/ handoff):
- ...
The CURSOR_PLAN_SUMMARY section feeds directly into the .cursor/plans/{slug}.md file.
Format per batch:
### Batch N — {name}
**Files to touch:** {list or TBD}
**Requirements:** R-FUNC-001, R-SEC-001
**Steps:**
1. {step}
**Done when:** {binary criterion}
Save: outputs/{session-id}/09-batch-plan.md
→ Pass to: phoenix-final-gate (Role 10)
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub security-phoenix-demo/security-skills-claude-code --plugin phoenix-prd-pipeline13 skills in this plugin
/phoenix-ambiguity-hunterRole 05 of the Phoenix Security spec pipeline. Red-teams normative requirements for Phoenix-specific failure modes: multi-tenant isolation gaps, vague integration surface definitions, AI agent safety holes (PSC-08), missing auth controls (PSC-06), reachability vs CVSS conflicts, RFC 2119 drift, competitor brand exposure, and requirements that will cause incorrect code generation or missed security controls. Use this skill when you have a requirements set that needs quality review, when someone says "review these requirements", "find the ambiguities", "red-team this spec", "what will break if we implement this", or "clean up these MUSTs". Loops back to phoenix-requirements-engineer if critical issues found (max 3 iterations).
/phoenix-constraint-distillerRole 03 of the Phoenix Security spec pipeline. Distils SCOPE_DEFINITION into an ACTIVE_SET of 8–15 compact, testable constraints that govern all downstream requirements — drawing from Phoenix's 12 Standing Constraints (PSC-01 through PSC-12) covering AWS/GCP infra split, 12-person team capacity, multi-tenant isolation, integration surface, AI agent safety posture, and compliance hooks. Use this skill when you have a scope definition and need to produce the constraint set that locks down requirements, or when someone says "what are the constraints for this feature", "distil the active constraints", "what must always be true here", or "constraint layer for this spec". Always run after phoenix-scope-cutter and before phoenix-requirements-engineer.
Other plugins' skills for the same job