oracle-generatelisted
Install: claude install-skill QAIA-Project/QAIA
# oracle-generate — standards as generation oracles
When a requirement touches a **standardized domain**, do not guess the edge cases or the expected results — derive them from the standard (the *oracle*). The oracle supplies both **test conditions** (for `istqb-design`) and **correct `Then` values** (for `testbook-generate`), grounded and cited — never invented.
## Built-in oracle library (no network — encoded knowledge)
Load the reference file `oracles/library.md` in this skill directory. It defines, per standard, the canonical valid/invalid cases and expected outcomes:
| Domain trigger in the US | Oracle | Supplies |
|---|---|---|
| card / PAN / payment number | **Luhn** | valid test PANs, invalid checksums, per-network lengths → valid/invalid + expected result |
| date / deadline / expiry | **ISO 8601** | leap years, 29 Feb, 30/31 boundaries, timezones, week dates |
| email address | **RFC 5322** | canonical valid + invalid corpus |
| HTTP / REST / status code | **HTTP semantics** | correct status per condition (400/401/403/404/409/422…) as expected `Then` |
| currency code | **ISO 4217** | valid codes, invalid, minor-unit rules |
| country code | **ISO 3166** | alpha-2/alpha-3 valid/invalid |
| IBAN / bank account | **IBAN mod-97** | valid/invalid checksums, per-country length |
## Project oracle — OpenAPI / JSON Schema (bounded, opt-in)
For project-specific truth, the user may designate **ONE** source — an OpenAPI/Swagger document
(`.yaml`/`.json`) or a JSON Schem