nw-ab-critique-dimensi…
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton user-centricity, priority validation, observable behavior assertions, traceability coverage, and walking skeleton boundary proof
$ npx -y skills add nWave-ai/nWave --skill nw-ad-critique-dimensions --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nw-ad-critique-dimensionsContext preview
The summary Claude sees to decide when to auto-load this skill.
Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton user-centricity, priority validation, observable behavior assertions, traceability coverage, and walking skeleton boundary proof
name: nw-ad-critique-dimensions description: Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton user-centricity, priority validation, observable behavior assertions, traceability coverage, and walking skeleton boundary proof user-invocable: false disable-model-invocation: true
Load when performing peer review of acceptance tests (during *handoff-develop).
**Pattern**: Only successful scenarios, error paths missing.
Detection: Count success vs error scenarios. Error should be at least 40%. Missing coverage examples: login success but no invalid password | Payment processed but no decline/timeout | Search results but no empty/error cases.
Severity: blocker (production error handling untested).
**Pattern**: Scenarios violate Given-When-Then structure.
Violations: Missing Given context | Multiple When actions (split into separate scenarios) | Then with technical assertions instead of business outcomes. Each scenario: Given (context), When (single action), Then (observable outcome).
Severity: high (tests not behavior-driven).
**Pattern**: Technical terms leak into acceptance tests.
Flag: database, API, HTTP, REST, JSON, classes, methods, services, controllers, status codes (500, 404), infrastructure (Redis, Kafka, Lambda).
Business alternatives: "Customer data is stored" not "Database persists record" | "Order is confirmed" not "API returns 200 OK" | "Payment fails" not "Gateway throws exception"
Severity: high (tests coupled to implementation).
**Pattern**: User stories lack acceptance test coverage.
Validation: Map each story to scenarios | Verify all AC have corresponding tests | Confirm edge cases and boundaries tested.
Severity: blocker (unverified requirements).
**Pattern**: Walking skeletons describe technical layer connectivity instead of user value.
Detection litmus test for `@walking_skeleton` scenarios:
Violations: "End-to-end order flow through all layers" (technical framing) | Then "order row inserted in database" (internal side effects) | Given "database contains user record" instead of "customer has an account"
Severity: high (skeletons that only prove wiring miss the point -- first skeleton should be demo-able to stakeholder).
**Pattern**: Tests address secondary concerns while larger gaps exist.
Questions: 1. Is this the largest bottleneck? (timing data or gap analysis) | 2. Simpler alternatives considered? | 3. Constraint prioritization correct? | 4. Test design decisions data-justified?
Severity: blocker if wrong problem addressed, high if no measurement data.
**Pattern**: Tests assert internal state or method calls instead of observable behavior.
For EVERY Then step in EVERY scenario, apply this mechanical checklist:
1. Does the assertion check a return value from a driving port call? YES = pass, NO = flag. 2. Does the assertion check an observable outcome (user sees X, system produces Y)? YES = pass, NO = flag. 3. Does the assertion check internal state, private fields, or method call counts? YES = REJECT the scenario.
**Concrete violations to flag**:
**Concrete passing assertions**:
**Relationship to Dim 5 (Walking Skeleton User-Centricity)**:
Severity: high (tests coupled to implementation break on refactoring).
**Pattern**: Scenarios exist without traceability to upstream wave artifacts.
Two mandatory traceability checks:
**Check A — Story-to-Scenario mapping**: 1. Read `docs/feature/{feature-id}/discuss/user-stories.md` 2. Extract ALL story IDs (e.g., US-01, US-02) 3. For EACH story ID, verify at least one scenario references it (via tag or comment) 4. Flag EVERY story ID with zero matching scenarios as BLOCKER
**Check B — Environment-to-Scenario mapping**: 1. Read `docs/feature/{feature-id}/devops/environments.yaml` 2. If missing, use defaults: `clean`, `with-pre-commit`, `with-stale-config` 3. For EACH environment, verify at least one walking skeleton includes a Given clause referencing that environment's preconditions 4. Flag EVERY environment with zero matching Given clauses as HIGH
**What this dimension does NOT cover**:
Severity: blocker for Check A (untraceable requirements), high for Check B (untested environments).
review_id: "accept_rev_{timestamp}"
reviewer: "acceptance-designer (review mode)"
strengths:
- "{positive test design aspect with example}"
issues_identified:
happy_path_bias:
- issue: "Feature {name} only tests sucAI agents that guide you from idea to working code, with human judgment at every gate. nWave runs inside Claude Code. It breaks feature delivery into seven waves (discover, diverge, discuss, design, devops, distill, deliver).
Repo: nWave-ai/nWave
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Detailed 5-phase workflow for creating agents - from requirements analysis through validation and iterative refinement
5-layer testing approach for agent validation including adversarial testing, security validation, and prompt injection resistance
Architectural style selection decision matrices, trade-off analysis, structural enforcement rules, and combination patterns. Load when choosing or evaluating…
Comprehensive architecture patterns, methodologies, quality frameworks, and evaluation methods for solution architects. Load when designing system architecture…