project-api-validation
Apply this repository's request-validation and structured error-catalog contract when public API acceptance or rejection changes.
- License 许可
- MIT
- 最近更新
- 2026-09-10
- Stars
- ★ 34
- Forks
- 3
01 前言 Front Matter
- name
- project-api-validation
- metadata
- { "job": "api-error-catalog-maintenance" }
- description
- Apply this repository's request-validation and structured error-catalog contract when public API acceptance or rejection changes.
03 SKILL.md 正文
Project API validation
For public request-validation changes:
- Preserve absent, empty, and already accepted inputs.
- Reject invalid input with
errors.problem(field, code)before queue, registry, outbox, or other durable mutation. - Name a new enum error
INVALID_<UPPERCASE_FIELD>and add it tocontracts/error-codes.json, keeping that catalog sorted and unique. - Never mutate the caller-owned request.
- Run the unit suite and
python3 tools/verify_error_catalog.py.
Do not use this capability for internal algorithms or release documentation.
04 同仓库更多 Skills
nulnul-harness
Set up, inspect, or resume a project-local harness. Use for explicit harness requests, recurring work missing a usable contract, or measured capability failures. Skip ordinary edits and unrelated questions already covered by local instructions.
project-release-docs
Preserve this repository's release documentation contract.
project-api-validation
Apply this repository's webhook request-validation and error-code contract when API acceptance or rejection behavior changes.
project-release-docs
Preserve this repository's release documentation contract.
project-api-validation
Apply this repository's request-validation and structured error-catalog contract when public API acceptance or rejection changes.
project-release-docs
Preserve this repository's release documentation contract.