/sdlc-documentation:16-ai-agent-feature-prd-specfrom sdlc-documentation
Defines testable product requirements for AI agent tasks, covering scope, autonomy, budgets, intervention, success criteria, and irreversible-action gates.
Ships in sdlc-documentation. 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.
Read when SKILL.md points to them.
AI agent feature PRD specification is the next lifecycle deliverable.ai-agent-strategy-doc when that neighbouring route owns the decision or deliverable.| Artefact | Source or provider | Required? | Behaviour when missing |
|---|---|---|---|
| Approved agent strategy, user journeys, action catalogue, and risk limits | Product owner, operator, and AI governance owner | Yes | Stop the affected step, name the missing source, and return only a qualified gap record. |
AI agent feature PRD specification.| Artefact | Consumer | Acceptance condition |
|---|---|---|
| AI agent feature PRD specification | Agent architecture, evaluation, red-team, and operations teams | Required sections are populated, source links resolve, and every material requirement or decision has an observable review or test oracle. |
| Evidence | Reviewer | Acceptance condition |
|---|---|---|
Source, decision, trace, and validation record for AI agent feature PRD specification | Requirements quality reviewer | Inputs used, decisions made, checks run, failures, and unassessed items are explicit. |
Read and search are required. Editing is allowed only when the request authorises creation or repair of the named requirements artefact. Publishing, production mutation, destructive action, spending, and certification require explicit authority.
Fallback: if a required file, reviewer, standard source, network check, renderer, or execution capability is unavailable, return the narrowest useful qualified result and mark the affected check not assessed; never convert an unassessed check into a pass.
| Choice or condition | Action | Failure or risk avoided |
|---|---|---|
| An action is irreversible or high impact | Require explicit approval, evidence capture, and a tested recovery path. | Unbounded agent side effects. |
| Required inputs and test oracles are complete | Continue through the existing workflow and record evidence. | A deliverable whose acceptance cannot be reproduced. |
| A mandatory source or owner is missing | Stop the affected branch and issue a qualified gap record. | Fabricated context or unauthorised decisions. |
AI agent feature PRD specification and its acceptance checks.AI agent feature PRD specification from assumed context. Fix: cite the project source or mark the scope blocked.ai-agent-strategy-doc without routing the decision. Fix: hand off the named input and preserve trace links.not assessed and state the release consequence.Produces the agent-feature complement to ai-feature-prd-spec. Every agent FR carries seven mandatory agent clauses that the AI feature PRD does not collect. The acceptance gates point at the agent eval rig and the agent red-team plan.
| Attribute | Value |
|---|---|
| Inputs | AI_Agent_Strategy_Doc.md, AI_Feature_PRD_Spec.md, AI_Feature_Strategy_Doc.md, Multi_Tenancy_Architecture_Spec.md, pricing & packaging spec |
| Output | AI_Agent_Feature_PRD_Spec.md |
| Standard | ISO/IEC/IEEE 29148:2018 (supersedes IEEE 830-1998), NIST AI RMF MAP/MEASURE, EU AI Act Art. 13 + Art. 14 |
List every FR whose execution involves a plan, a tool call beyond retrieval, or an action with a write side-effect.
For each agent FR the spec MUST capture:
| Clause | Form | Example |
|---|---|---|
| Task scope boundary | inputs in / outputs out / explicit non-goals | "scope: customer inbox triage; non-goal: composing customer-bound outbound emails" |
| Autonomy level | L0..L4 with human role | "L2 — approve plan; admin approves once per inbox-batch" |
| Action-catalogue reference | named subset of the action catalogue | "catalogue rows: email.label, email.archive, email.draft.create" |
| Intervention triggers | rule that forces human-in-the-loop mid-run | "intervention required when proposed action class = irreversible OR estimated cost > $0.50" |
| Budget caps | max-step / max-cost / max-wallclock | "max-step 25; max-cost $0.25/run; max-wallclock 120 s; on overrun: abort + alert" |
| Abstain criteria | rule that ends the run cleanly | "abstain when planner returns no plan that satisfies the policy envelope; produce explanation payload" |
| Irreversible-action gate | the explicit gating rule for the irreversible class | "any tool with reversibility=irreversible requires admin confirmation per call; no batch approval" |
Choose metrics from:
Each metric has a numeric threshold backed by the agent eval rig.
For each agent FR state:
Reference EU AI Act Art. 14 (human oversight) where the feature is high-risk.
Initial rollout for every agent FR begins in shadow mode (agent proposes; human acts). Promotion stages: shadow → canary at L1 → L2 → L3 if applicable. Reference the agent rollout runbook for stage gates.
Every agent FR has a row in the agent eval rig with:
AI_Agent_Feature_PRD_Spec.md sections: 1) Agent FR Inventory, 2) Per-FR Agent Clauses, 3) Success Metrics, 4) Human-in-the-Loop Placement, 5) Rollout Posture, 6) Eval & Red-Team Acceptance Gates, 7) Traceability to PRD, AI Feature PRD, and to agent eval / red-team IDs.
logic.prompt, README.md, references/ai-agent-feature-prd-spec-template.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job