Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Validate acceptance criteria and feature completion. Use when checking if features pass, validating test results, verifying acceptance criteria, or determining feature completion status.
.claude/skills/majiayu000-ac-criteria-validator/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | -30% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -41% | 0% |
| case-18 | ✗→✓ | ▲ Improved | -25% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 7% | 0% |
| case-20 | ✗→✓ | ▲ Improved | -2% | 0% |
Validate acceptance criteria and determine feature completion.
Validates that implemented features meet their acceptance criteria, determining when passes can transition from false to true.
pythonfrom scripts.criteria_validator import CriteriaValidator validator = CriteriaValidator(project_dir) result = await validator.validate_feature("auth-001") print(result.passes) # True/False print(result.criteria_results)
json{ "feature_id": "auth-001", "passes": true, "criteria_results": [ { "criterion": "Valid registration creates user", "passed": true, "evidence": "test_valid_registration passed", "method": "test_execution" }, { "criterion": "Invalid email shows error", "passed": true, "evidence": "test_invalid_email passed", "method": "test_execution" } ], "test_summary": { "total": 5, "passed": 5, "failed": 0, "coverage": 87.5 }, "validated_at": "2024-01-15T10:30:00Z" }
yamlvalidation: require_all_tests_pass: true minimum_coverage: 80 require_no_lint_errors: true require_type_checks: true custom_rules: - name: "no_console_logs" pattern: "console\\.log" severity: "warning"
CRITICAL: passes can ONLY transition false → true
Before validation:
{"passes": false, "status": "in_progress"}
After successful validation:
{"passes": true, "status": "completed"}
NEVER:
{"passes": true} → {"passes": false}ac-state-trackerac-test-generator test filesSee scripts/criteria_validator.py for full implementation.
Other measured skills in the registry, with their headline benchmark lift.