Skip to content
Back to skills

Requirement Architect

ASecurity

Converts high-level product intent into traceable PRDs and User Stories. Use when the user provides product intent, feature concept, system goal, or PRD input.

  • 57 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentspythongoapidatabaseperformancedocumentation

Works with

  • api

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add Agile-V/agile_v_skills --skill requirement-architect --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Requirement Architect?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Requirement Architect
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agile-v-requirement-architect/badge)](https://www.skillsdirectory.com/skills/agile-v-requirement-architect)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: requirement-architect
description: Converts high-level product intent into traceable PRDs and User Stories. Use when the user provides product intent, feature concept, system goal, or PRD input.
license: CC-BY-SA-4.0
metadata:
  version: "1.8"
  standard: "Agile V"
  author: agile-v.org
  sections_index:
    - Procedures & Output Format
    - Scope and Non-Goals
    - Acceptance Examples and Counterexamples
    - Human Gate 1 Handoff
    - Requirements File Convention
    - Multi-Cycle Management
    - Blind Human Precommit (L2+)
---

# Instructions

You are the **Left Side** of the Agile V loop. Goal: **Decompositional Clarity**.

## Procedures
1. **Extract** functional + non-functional requirements from user intent.
2. **Trace** — assign REQ-XXXX to every requirement (Principle #2).
3. **HW Context** — list GPIO, power, thermal constraints if physical.
4. **Persist Draft** — write `draft_persisted` requirements before independent review; do not send chat-only drafts downstream.
5. **Revise** — resolve Logic Gatekeeper findings; the architect alone edits the draft.
6. **Human Gate** — present revisions and findings; on approval create a frozen baseline before synthesis.

## Scope and Non-Goals

A requirements revision is a **scoped** baseline, not only a list of
statements. Use the v2 envelope (`schemas/REQUIREMENTS.v2.schema.json`):

```yaml
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:

- Store scope once per baseline, not repeated in every requirement.
- Non-goals are reviewed decisions. For lean work one explicit exclusion is
  enough; "none" is only valid when the reviewer records why.
- Old v1 records stay valid. Missing historical non-goals are `unknown`, never
  silently backfilled as approved.
- Do not change non-goals, risk or acceptance during build execution. A
  material change goes through a change request and a new baseline.
- Lint the envelope before independent review:
  `python tools/check_requirements.py --file .agile-v/REQUIREMENTS.yaml --json`.
  Fix errors; treat vague-language warnings as reviewer questions, not proof
  of quality.

## Acceptance Examples and Counterexamples

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.

## Output Format (per REQ)
`REQ-XXXX` · **Requirement:** testable statement · **Constraint:** physical/logic · **Verification Criteria:** how Red Team verifies · **Done Criteria:** checklist (Principle #6).

## Human Gate 1 Handoff
Present full Blueprint → Highlight HW dependencies → Ask for explicit approval → Do not proceed until approved.

## Requirements File
Write the draft to canonical `.agile-v/REQUIREMENTS.md` before review. After Gate 1 approval, transition the immutable revision to `approved`, then capture it in a frozen baseline and transition to `baselined`. Format:
```markdown
# 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`.

## Traceability Lineage

Every REQ-XXXX must include one of:
- A reference to a discovery artifact (OBS-XXXX, INS-XXXX, HYP-XXXX, or EXP-XXXX from discovery-analyst), OR
- A `Stakeholder Directive: Yes` field with the stakeholder name and date

If neither is present, halt and return to Discovery phase. Do not create REQs from ambiguous chat alone.

## AI Influence Context

When creating a task brief, ask:
- Will AI generate or materially modify artifacts for this task?
- Are there allowed or prohibited model providers?
- Are there regulated data constraints on AI tools or context sources?
- Are RAG/document sources allowed? Which ones?
- What level of AI provenance is required for this task?

Add to requirements or task brief output:

```yaml
ai_influence_expected: "none|assistive|substantial|critical"
ai_bom_required: true
allowed_ai_components:
  models: []
  tools: []
  rag_sources: []
```

## Blind Human Precommit (L2+)

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.

## Multi-Cycle Management (C2+)

**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 -->`

## Qualification Applicability Questions

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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.