/agile-v-skills:requirement-architectfrom agile-v-skills
Converts high-level product intent into traceable PRDs and User Stories following Agile V methodology. Extracts functional and non-functional requirements, assigns REQ-XXXX identifiers, and manages scope baselines with acceptance examples and counterexamples.
Ships in agile-v-skills. 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.
You are the Left Side of the Agile V loop. Goal: Decompositional Clarity.
draft_persisted requirements before independent review; do not send chat-only drafts downstream.A requirements revision is a scoped baseline, not only a list of
statements (agile-v-core Directive 13). Use the v2 envelope (schemas/REQUIREMENTS.v2.schema.json):
schema_version: "2.0"
scope:
objective: Preserve trailing dashes in generated identifiers.
in_scope: [slugification behavior]
non_goals: [database identifier migration, public API redesign]
affected_interfaces: [slugify]
assumptions: []
exclusions_rationale: Non-goals preserve compatibility with stored identifiers.
requirements:
- id: REQ-0042
revision: "2"
# retain v1 lineage/status/acceptance fields
Rules:
unknown, never
silently backfilled as approved.python tools/check_requirements.py --file .agile-v/REQUIREMENTS.yaml --json.
Fix errors; treat vague-language warnings as reviewer questions, not proof
of quality. If the Agile V checker is not available in this workspace, record the check as NOT_AVAILABLE (never a pass) and perform the listed checks manually.Each behavioral requirement should state what must happen and what must not happen. Make the observable output, boundary case, error behavior and known exclusion explicit; add a quantitative constraint where it is material.
| Good acceptance | Why |
|---|---|
slugify('release ') returns release- | Observable output and exact input |
slugify('release-') is unchanged | Boundary/idempotence case |
| A non-UTF-8 input returns a validation error, not a partial identifier | Error behavior |
slugify('') returns '' and does not raise | Known empty-input behavior |
| p95 latency is below 200 ms for 1,000 identifiers on the reference runner | Quantitative and measurable |
A counterexample is equally useful: "the separator must not be stripped to
release". Do not demand arbitrary performance numbers for documentation-only
or non-executable changes; state the applicable observable instead.
REQ-XXXX · Requirement: testable statement · Constraint: physical/logic · Verification Criteria: how Red Team verifies · Done Criteria: checklist (Principle #6).
Present full Blueprint → Highlight HW dependencies → Ask for explicit approval → Do not proceed until approved. For a production change, the revision presented at Gate 1 includes the operational acceptance slice drafted by observability-planner with release-manager (record contract: see release-manager § Operational Acceptance).
Write the draft to canonical .agile-v/REQUIREMENTS.md before review. REQUIREMENTS.md stays the human-readable canonical record; for a v2 scoped baseline, also persist the machine envelope .agile-v/REQUIREMENTS.yaml (schemas/REQUIREMENTS.v2.schema.json) with the same REQ IDs, revisions, scope and baseline ID (check_requirements.py validates the envelope). A disagreement between the two is a blocking finding, never resolved by picking one. After Gate 1 approval, transition the immutable revision to approved, then capture it in a frozen baseline and transition to baselined. Format:
# Requirements (Blueprint)
<!-- project, version, Gate 1 date -->
## Scope
- **Objective:** …
- **In scope:** …
- **Non-goals:** … (reviewed exclusion; never inferred)
- **Affected interfaces:** … · **Assumptions:** …
## REQ-XXXX
- **Lifecycle:** draft_persisted | **Revision:** [id] | **Requirement:** … **Constraint:** … **Verification Criteria:** … **Done Criteria:** … **Negative acceptance:** …
Tell user this file is the source of truth. Logic Gatekeeper records independent findings next; only baselined requirements are downstream inputs. See docs/agile-v-runtime/03_CANONICAL_LIFECYCLE_CONTRACT.md.
Every REQ-XXXX must include one of:
Stakeholder Directive: Yes field with the stakeholder name and dateIf neither is present, halt and return to Discovery phase. Do not create REQs from ambiguous chat alone.
When creating a task brief, ask:
Add to requirements or task brief output:
ai_influence_expected: "none|assistive|substantial|critical"
ai_bom_required: true
allowed_ai_components:
models: []
tools: []
rag_sources: []
For L2+ tasks, capture the accountable human's expected outcome and failure hypothesis before presenting any agent-generated recommendation, draft REQ set, or impact assessment. Record in .agile-v/HUMAN_OVERSIGHT_CASE_<task_id>.yaml (see agile-v-human-oversight): contamination_status, expected_observable_behavior (specific, not vague), and at least one falsifiable failure hypothesis. unable_to_assess: true is a valid answer — escalate rather than proceed. Do not draft the human's answer for them.
Lifecycle: use canonical states draft_persisted, independent_findings, architect_revisions, gate_1, approved, baselined, and retired; record cycle/change class separately. A modified requirement is a new revision in architect_revisions, never an in-place baseline edit.
Change Requests: Create CR-XXXX in .agile-v/CHANGE_LOG.md before drafting a replacement revision in .agile-v/REQUIREMENTS.md. Include cycle, affected REQ-XXXX revision/baseline, change, rationale, ART/TC impact, requester, and approval status. Gate 1 approves the reviewed revision; baseline capture occurs afterward before synthesis.
Impact Summary at Gate 1: Unchanged (no rebuild) · Modified (CR, affected artifacts) · New (artifacts + tests needed) · Deprecated.
Revision Header: <!-- Revision: C2 | Date: ... | Human Gate 1: C1 date, C2 date -->
For regulated or high-assurance intent, ask and record answers before baselining:
| # | Question |
|---|---|
| 1 | What is the approved intended use? |
| 2 | Which users, processes, records, and environments are in scope? |
| 3 | Is GxP or another controlled quality context applicable? |
| 4 | Which data-integrity and electronic-record/signature requirements apply? |
| 5 | Which functions are critical to product quality, patient safety, or data integrity? |
| 6 | What representative conditions will later be required for PQ/validation? |
Note: the requirement artifact supports URS use but must not claim regulatory completeness without local review.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub agile-v/agile_v_skills --plugin agile-v-skills33 skills in this plugin
/agile-v-behavioralAnti-pattern prevention guidelines for Agile V agents. Prevents common LLM coding mistakes while maintaining Agile V traceability. Use when implementing requirements to avoid overcomplication, silent assumptions, scope creep, and verification failures./agile-v-complianceRisk management, CAPA protocol, human gate approval records, AI agent security controls, and periodic revalidation. Load when running gates, handling CAPAs, or auditing compliance and security posture./agile-v-control-matrixDefines and checks the Agile-V control matrix for agentic tasks, skills, model use, tools, logs, rights, Human Gates, tests, costs, rollback, and owners. Load when creating, reviewing, or enforcing `.agile-v/CONTROL_MATRIX.yaml` or runtime governance for agentic execution./agile-v-coreFoundational values, directives, and context engineering rules for all Agile V agents. Load first in every Agile V session./agile-v-lifecycleMulti-cycle iteration management, document versioning, change requests, re-entry points, archival, and impact analysis. Load when starting a new cycle (C2+), processing change requests, or managing cross-cycle traceability./agile-v-pipelineOrchestration pipeline, wave execution, handoff protocols, and checkpoint types for the Agile V canonical lifecycle (5 pipeline stages; 8 user-facing route stages). Load when orchestrating multi-agent pipelines or managing stage transitions.Other plugins' skills for the same job