بنقرة واحدة
ba-validation
[Agentic] Validation & Verification - ensure quality and correctness (SKILL-08)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
[Agentic] Validation & Verification - ensure quality and correctness (SKILL-08)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
[Meta] How to use BA-Kit effectively. Use when starting with BA-Kit, unsure which agent to invoke, or when an AI agent needs to map user intent to the right skill.
[Agentic] Agile BA Practices - User Story Mapping, MVP Definition, Hypothesis-Driven Development
[Agentic] Business Rules Management - decision tables, decision trees, rule catalog, conflict detection
[Agentic] Change Management - ADKAR, readiness assessment, training needs, go-live planning, benefits realization
[Agentic] Communication & Reporting - audience-adapted messaging, status reports, executive summaries
[Agentic] Conflict Resolution & Negotiation - resolve stakeholder disagreements (SKILL-06)
| name | ba-validation |
| description | [Agentic] Validation & Verification - ensure quality and correctness (SKILL-08) |
| version | 1.0.0 |
If input is unclear, incomplete, or out-of-scope:
When NOT to use:
When activated via @ba-validation, perform the following cognitive loop:
Compile a list of observed defects and proposed fixes.
STOP & THINK. Don't be too annoying.
Provide a summary table:
Don't stop here. Recommend the next step:
@ba-root-cause to investigate why these defects occurred."@ba-writing to fix the ambiguous stories."@ba-metrics to measure quality trends from these defect findings."| Rationalization | Reality |
|---|---|
| "The writer is senior, specs are fine" | Senior writers produce 40% ambiguous terms when rushing. Always validate. |
| "Stakeholder already approved" | Stakeholders approve vibes, not testability. Validate against INVEST + SMART. |
| "Manual review is enough" | Manual review misses 60% of defects. Use the checklist, every time. |
| "I'll let QA catch it later" | Spec defects caught in dev = 10x cost. Caught in QA = 100x. |
| "Only validate stories flagged as complex" | Simple stories hide simple defects that cascade. |
After completing this skill's process, confirm:
grep_search: To find forbidden words (e.g., "fast", "user-friendly").write_to_file: To generate the Defect Log.| Technique | When to Use | Key Output |
|---|---|---|
| Peer Review | Right mix of reviewers available; quality culture | Reviewed requirements with defect list |
| User Acceptance Tests | Users available; tests saved for final testing | Acceptance test cases with severity |
| Model Validation | Models exist; scenarios can test completeness | Cross-model verification report |
| Operational Prototype | User expectations manageable; dev tools available | Working prototype + feedback log |
Apply this checklist to every specification under review:
| Level | Severity | Definition |
|---|---|---|
| 1 | Critical | Impossible to continue testing or accept the system |
| 2 | Major | Testing continues, system CANNOT be deployed |
| 3 | Medium | System deployed with departure from agreed functionality |
| 4 | Minor | Correctable, will NOT impact business functionality |
| 5 | Cosmetic | Colors, fonts, display issues — future correction |
When asked to evaluate a BRD or set of BRDs, apply this quantified scoring rubric:
| # | Dimension | Weight | Criteria | Measurement |
|---|---|---|---|---|
| 1 | Stakeholder Coverage | 15% | All identified personas have a dedicated BRD perspective | personas_with_BRD / total_personas * 100 |
| 2 | Functional Scope Coverage | 25% | Every feature in the project scope has ≥1 User Story | features_with_US / total_features * 100 |
| 3 | AC Scenario Depth | 20% | Each US has ≥3 AC scenarios (happy + edge + error minimum) | US_with_3_AC / total_US * 100 |
| 4 | NFR Coverage | 10% | ≥5 of 8 ISO 25010 quality categories explicitly addressed | NFR_categories_addressed / 8 * 100 |
| 5 | Business Rule Quantification | 10% | ≥80% of business rules have testable metrics (no vague terms) | quantified_rules / total_rules * 100 |
| 6 | Requirements Traceability | 10% | RTM chain BRD→US→AC exists for ≥90% of requirements | traced_requirements / total_requirements * 100 |
| 7 | Domain Glossary | 5% | ≥80% of domain-specific terms are explicitly defined | defined_terms / used_domain_terms * 100 |
| 8 | Regulatory Compliance | 5% | All applicable regulations (GDPR, labor law, etc.) addressed | regulations_addressed / identified_regulations * 100 |
BRD_Score = Σ(dimension_score × weight) × 100
PASS: ≥ 80% → "✅ BRD meets quality gate"
CONDITIONAL: 60-79% → "⚠️ BRD needs targeted fixes"
REJECT: < 60% → "❌ BRD requires significant rework"
Run the automated coverage checker before manual review:
# Quick health check
python3 .agent/scripts/coverage_checker.py outputs/mini-app-cham-cong/
# Detailed per-module breakdown
python3 .agent/scripts/coverage_checker.py outputs/mini-app-cham-cong/ --verbose
| Criterion | Score | Issue |
|---|---|---|
| Independent | ✅ | Can be built without US-REG-01 |
| Negotiable | ✅ | OT limit values configurable |
| Valuable | ✅ | Direct value: legal compliance |
| Estimable | ✅ | 5 SP estimated |
| Small | ✅ | 1 form + 4 validations |
| Testable | ✅ | 4 ACs with numeric thresholds |
| Line | Text | Issue | Fix |
|---|---|---|---|
| AC2 | "Giờ bắt đầu OT: mặc định = Giờ tan ca + 1 phút" | OK — specific | — |
| AC3 | "Vượt giới hạn" | Which limit? Day/week/month/year? | Specify: "Vượt giới hạn [ngày/tuần/tháng/năm]" |
Verdict: CONDITIONAL (82%) — fix ambiguity in AC3 + add rate limit NFR.
Before drafting, search for relevant knowledge:
run_command: python3 .agent/scripts/ba_search.py "<topic keywords>" --domain validationpython3 .agent/scripts/ba_search.py "<query>" --multi-domain.agent/templates/use-case-template.md — Use Case Specification (for review).agent/templates/test-case-template.md — Test Case Specification.agent/templates/test-suite-template.md — Full Test Suite@ba-writing to fix ambiguous/vague stories."@ba-test-gen to generate test cases from validated AC."@ba-quality-gate to pipeline the full validation flow."@ba-consistency to check cross-artifact alignment."@ba-auditor for full project health audit."Activation Phrase: "QA Protocol Initiated. Show me the specifications or the design."