project-api-validation
Apply this repository's webhook request-validation and error-code contract when API acceptance or rejection behavior changes.
- License 许可
- MIT
- 最近更新
- 2026-09-10
- Stars
- ★ 34
- Forks
- 3
01 前言 Front Matter
- name
- project-api-validation
- metadata
- { "job": "api-error-code-maintenance" }
- description
- Apply this repository's webhook request-validation and error-code contract when API acceptance or rejection behavior changes.
03 SKILL.md 正文
Project API validation
Use this procedure for request-validation changes:
- Inspect the target webhook handler and its unit tests.
- Preserve absent, empty, and already accepted inputs.
- Preserve
errors.problem(field, code)and reject invalid input before any registry mutation. - Add every new error code to
contracts/error-codes.json; keep it sorted and unique. - Run
python3 -m unittest -q. - Run
python3 tools/verify_error_catalog.py.
Do not use this Skill 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-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.
project-api-validation
Apply this repository's request-validation and structured error-catalog contract when public API acceptance or rejection changes.