Bmad fr nfr review gate

From VilnaCRM-Org/user-service · View interactive version

Bmad fr nfr review gate is an AI agent skill from the GitHub repository VilnaCRM-Org/user-service. Codex entrypoint for post-implementation BMAD FR/NFR review gates. Use after a PR, feature, or bugfix has BMAD specs and must be checked against every functional requirement, non-functional requirement, expanded quality dimension, Wikipedia system quality attribute, generated positive/negative/ edge

How to use this skill

Skill file

This is the Codex wrapper. The canonical workflow lives in

.claude/skills/bmad-fr-nfr-review-gate/SKILL.md.

Use this skill after implementation, not during planning. It requires a BMAD

spec bundle or spec file under specs/.

Quick command:

BMAD_REVIEW_SPEC_PATH=specs/my-bundle make bmad-fr-nfr-review-gate

Optional inputs:

runs, disable only for local-only dry runs or test harnesses.

runs, disable only for local-only dry runs or test harnesses.

status context.

The gate uses the tracked AI review loop and BMAD-specific prompts. It fails

unless every applicable FR, NFR, pinned NonFunctionals.com category, expanded

quality dimension, Wikipedia system quality attribute, generated positive/

negative/edge test case, automated test and CI coverage row, flaky-test risk

row, whole-codebase impact surface, QA checkpoint, manual-test requirement,

GitHub completion gate, and CI gate has 5/5 evidence or an explicit

not-applicable reason with source evidence.

It fails if repeatable FR/NFR behavior lacks automated tests that run in CI, if

negative/edge/security/data-loss/concurrency cases are missing, or if changed

or impacted tests have unmitigated flaky-test risk. It also fails if the review

does not search for vulnerabilities, bugs, regressions, defects, operational

problems, and data-loss/privacy/security risks.

Graph/relationship evidence is mandatory for whole-codebase impact scoring.

Graphify, codebase-memory MCP, Deptrac graph output, CodeQL, SCIP, or similar

tools can be supplied through BMAD_REVIEW_IMPACT_CONTEXT; otherwise the

wrapper creates a bounded local graph/relationship impact context.

Every NFR catalog row, expanded quality row, and system quality attribute row

must cite graph/relationship evidence, or give a concrete source-backed reason

why graph evidence is irrelevant for that row. Automated evidence must cover

applicable unit, integration, E2E, Behat, PHPUnit, Schemathesis, K6/load,

mutation, static-analysis, security-scan, and contract/schema checks.

For BMAD wrapper PR runs, PR comment and GitHub commit-status publishing are

required low-risk review-gate writes that run without waiting for human

approval, so in-progress and final results remain visible on the pull request.

Read and follow .claude/skills/bmad-fr-nfr-review-gate/SKILL.md before

claiming completion.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.