/phoenix-prd-pipeline:phoenix-ambiguity-hunterfrom phoenix-prd-pipeline
Red-teams normative requirements for Phoenix-specific failure modes: multi-tenant isolation gaps, vague integration surfaces, AI agent safety holes, missing auth controls, and RFC 2119 drift. Use when reviewing requirements or asked to find ambiguities.
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: ≤1000 tokens
Depends On: Roles 03, 04 — ACTIVE_SET, NORMATIVE_REQUIREMENTS
Feeds Into: Role 06 (if clean) OR Role 04 (if issues found, max 3 iterations)
Output: 05-clarifications-v{N}.md
Always scan for these in addition to generic ambiguity:
| Pattern | Failure Mode |
|---|---|
| multi-tenancy | Requirements that don't specify tenant isolation scope |
| integration-surface | "Supports X tool" without format/version/auth method |
| AI-agent-safety | Autonomous action not gated by explicit user confirmation |
| competitor-exposure | Requirements that imply brand comparison in user-facing output |
| reachability-conflict | Score-based threshold without reachability context |
| data-classification | Vuln data / customer PII without explicit handling rules |
| cloud-split | Ambiguous whether feature runs on AWS or GCP |
| capacity-overrun | Batch assumptions that exceed 12-person team reality |
| account-drift | Mimecast/JM/Anaplan requirements smuggled in as general requirements |
| RFC2119-drift | MUST used where SHOULD is correct; SHOULD where MAY fits |
Auto-Critical: Any requirement that violates PSC-03 (multi-tenancy), PSC-06 (auth), or PSC-08 (AI agent) is automatically Critical severity — no manual triage.
---
meta:
role: 05-ambiguity-hunter
session_id: session-[YYYYMMDD-HHMMSS]
iteration: [N]
critical_ambiguities: [count]
phoenix_failure_patterns_found: [list]
status: complete | requires-iteration
next_role: 06-security-engineer | 04-requirements-engineer
---
### CLARIFICATIONS
#### AMBIGUITIES (Critical / High / Medium)
##### Critical (auto-escalate: multi-tenancy | auth | AI-agent)
- AMB-C1: <requirement ID>
- Why ambiguous: ...
- Agent failure mode: ...
- Phoenix failure pattern: <from table above>
- Proposed rewrite: "R-XXX-00N [PX] MUST/SHOULD ..."
##### High
- AMB-H1: ...
- Why ambiguous: ...
- Proposed rewrite: ...
##### Medium
- AMB-M1: ...
#### CONTRADICTIONS
- CON1: <req ID> vs <req ID> → <nature of conflict>
#### HIDDEN_REQUIREMENTS
- HR1: <what's missing> → suggested: "R-XXX-00N [PX] MUST ..."
#### MINIMAL_CLARIFICATION_QUESTIONS (max 10; ordered by leverage)
1. ...
requires-iteration, next = Role 04, provide all rewritescomplete, next = Role 06Save: outputs/{session-id}/05-clarifications-v{N}.md
→ Role 06 if clean · Role 04 if issues (max 3 iterations total)
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-batch-plannerRole 09 of the Phoenix Security spec pipeline. Slices a Phoenix Security feature into safe, incremental batches sized for a 12-person team (1–3 engineer-days each), with P0 security requirements always in Batch 1, API contracts before consumers, integrations last, explicit rollback strategies for irreversible steps, AI gate flags for LLM-touching batches, and a Cursor plan summary for direct drop into .cursor/plans/. Use this skill when you have verified requirements and contracts and need a delivery plan, or when someone says "create the implementation plan", "batch this up", "how do we build this", "create the delivery batches", "sprint plan for this feature", or "cursor plan". Always run after phoenix-verification-matrix and before phoenix-final-gate.
/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