Skip to content
Back to skills

Codexqa Requirement Analyzer

ASecurity

Full quality-and-risk analysis of requirement documents (single- or multi-source), producing one gap/conflict register with executable P0/P1 verification. Triggers: requirements analyzer, requirement quality, gap register, 需求分析, 需求分析器, 需求评审, 需求缺口. Not for writing a case library (that is codexqa-testcase-generator), constructing test data (codexqa-testdata-generator), or reviewing code (codexqa-defect-analyzer / codexqa-code-reviewer). Former skill name: requirements-analyzer.

  • 122 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentstypescriptpythongocode-reviewapi

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 23, 2026

npx -y skills add openqa-cn/codexqa --skill codexqa-requirement-analyzer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codexqa Requirement Analyzer?

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

Security grade badge for Codexqa Requirement Analyzer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openqa-cn-codexqa-requirement-analyzer/badge)](https://www.skillsdirectory.com/skills/openqa-cn-codexqa-requirement-analyzer)

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: codexqa-requirement-analyzer
description: >
  Full quality-and-risk analysis of requirement documents (single- or multi-source),
  producing one gap/conflict register with executable P0/P1 verification.
  Triggers: requirements analyzer, requirement quality, gap register, 需求分析,
  需求分析器, 需求评审, 需求缺口. Not for writing a case library (that is
  codexqa-testcase-generator), constructing test data (codexqa-testdata-generator), or reviewing
  code (codexqa-defect-analyzer / codexqa-code-reviewer).
  Former skill name: requirements-analyzer.
license: Apache-2.0
---

# Requirements Analyzer

Human-facing install and method docs: `README.md`, `HOW_IT_WORKS.md`, `KNOWN_LIMITATIONS.md` (and `.zh-CN.md`). Do not load those at runtime.

## When to Use

- Need a complete quality and risk analysis of requirement documents, not just a scope scan or a gap list.
- Materials may be a single PRD or a multi-source pack (stories, APIs, plans, role reports).
- Need one reviewable, assignable, verifiable gap register that can hand off to strategy or case writing.

## Workflow

1. Read and follow the main prompt listed under Progressive disclosure (coverage, structure, quality bar).
2. Run the fixed pipeline: intake → short-input gate → structure inventory → input audit → quality/smell/NFR → success metrics → behavior plus UX states → trace and goal-feature alignment → dependency grid → single register → risk algorithm → testability and oracles → blockers and next actions. Do not write risks or a “TOP 3” list first.
3. Direct requirement materials remain sufficient for standalone use. If the user supplies role reports with a declared `source_role`, treat them as optional composition inputs and never require installing a role Skill.
4. Add only project context that changes the result: scope, environment, constraints, risks, dependencies, expected deliverable.
5. If input is incomplete, return a usable first draft and explicitly mark assumptions and gaps.
6. Default to Markdown; switch formats only when the user asks.

## Core Constraints

- Produce exactly one gap and conflict register; do not also write “Gaps and Ambiguities”, “Cross-Source Conflicts”, or “Core Analysis Items”.
- Audit credibility and comparability first; never mark stale or incomparable sources as `aligned`.
- Prioritize by risk / business impact — do not treat everything equally.
- Separate confirmed facts, role-report content, working assumptions, and hypotheses to verify.
- Do not invent endpoints, fields, SLAs, environments, or root causes the user did not provide; unknowns become questions.
- Do not fill business decisions for stakeholders, and do not judge whether the ask is worth building; keep both views and a suggested decider on conflicts. If an omission looks intentional, ask first.
- When using a role report, preserve `source_role` item by item; never flatten into anonymous consensus or present a role view as a PRD fact.
- Every P0/P1 item needs executable verification: preconditions, stimulus, expected result, required evidence, `VerifyMethod`, and `RiskClass`. Every P0 needs `FailureMode`.
- Items with no observable failure condition are `untestable` and must not be executable P0. Do not emit a fake RPN, a 0–100 score, or a six-dimension traffic-light scorecard.

## Progressive Disclosure

- Before producing output, read and follow `prompts/codexqa-requirement-analyzer.md` (minimum coverage, output structure, quality bar).
- When Excel/CSV/JSON/Word is requested: read `output-formats.md` and honor the format.
- When a ready-made template fits: use matching files under `output-templates/`.
- When the user wants examples or alignment with existing assets: read relevant `examples/`.
- For register fields, troubleshooting, or FAQ: read `references/register-fields.md`, `references/troubleshooting.md`, or `references/FAQ.md`.
- For quality-characteristic judgments: read `references/quality-attributes.md`.
- For vague/optional/loophole wording: read `references/requirement-smells.md`.
- For NFR completeness: read `references/nfr-quality-grid.md`.
- For the structure inventory (present/thin/absent): read `references/structure-inventory.md`.
- For success metrics / KPI: read `references/success-metrics.md`.
- For upstream/downstream owner and ready dates: read `references/dependency-grid.md`.
- For missing states/decisions/time/failure paths/UX states: read `references/behavioral-completeness.md`.
- For P0–P3 ranking: read `references/risk-scoring.md`.
- Do not load the whole `references/` directory.
- For format conversion or helper pre-parse: prefer existing TypeScript scripts in `scripts/` (`npx --yes tsx scripts/run_analysis.ts --input <file>`); do not rewrite them in Python.
- For evaluating/regressing this skill: use `evals/` with skill-up.
- For the shortest path: read `quick-start.md`.

## Pre-delivery Checklist

- [ ] Followed the main prompt's 7-section output structure; section 6 was not omitted
- [ ] Produced one register only; questions were not restated in section 7
- [ ] Covered the minimum checklist, or explained omissions
- [ ] High-risk items have P0–P3 with impact / likelihood / detectability
- [ ] Section 2 includes quality-characteristic hits, smell hits, the eight-cell NFR grid, structure inventory, success-metrics grid, and dependency grid
- [ ] P0/P1 items include preconditions, stimulus, expected, evidence, VerifyMethod, and RiskClass; P0 includes FailureMode
- [ ] Items without an oracle were not written as executable P0
- [ ] Did not invent details the user did not provide
- [ ] Assumptions and gaps are marked
- [ ] Role-report findings retain source roles; no role Skill internal file was linked

## Common Pitfalls

- Concatenating three old analysis outlines and repeating gaps, risks, questions, and next steps.
- Marking `aligned` when sources are stale or not comparable.
- Pretending completeness when scope or context is missing.
- Treating every item as equally important, or using filler (“improve communication”) instead of closable questions.
- Listing checkpoints for P0 items without verification steps.
- Writing a weak AC with no oracle as an executable P0, or using a score or traffic-light scorecard for false precision.
- Labeling a missing KPI as NFR, or treating “out of this iteration” as `missing`.

Files in this skill

  • .meta.json1.3 KB
  • CONTRIBUTING.md922 B
  • HOW_IT_WORKS.md4 KB
  • HOW_IT_WORKS.zh-CN.md3.8 KB
  • KNOWN_LIMITATIONS.md1.6 KB
  • KNOWN_LIMITATIONS.zh-CN.md1.5 KB
  • README.md3.2 KB
  • README.zh-CN.md3 KB
  • SKILL.md6.3 KB
  • agents/openai.yaml527 B
  • evals/cases/basic-success.yaml1 KB
  • evals/cases/edge-cross-source-conflict.yaml959 B
  • evals/cases/edge-dependency-grid.yaml919 B
  • evals/cases/edge-incomplete-input.yaml901 B
  • evals/cases/edge-nfr-grid.yaml956 B
  • evals/cases/edge-no-oracle-p0.yaml824 B
  • evals/cases/edge-p0-verification.yaml848 B
  • evals/cases/edge-risk-priority.yaml716 B
  • evals/cases/edge-role-artifact-input.yaml1.6 KB
  • evals/cases/edge-singular-compound.yaml859 B

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.

Comments

Loading comments…

Newsletter

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