AGENT SKILL
validation-error-handling
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
02 资源文件 1
- 参考文档README.md97 B
03 SKILL.md 正文
Validation Error Handling
Follow ../_shared/skill-contract.md.
Purpose
Define how invalid input is rejected and how errors are reported.
Use when
- request validation matters
- failure responses must be predictable
Do not use when
- the task is purely transport wiring
Inputs required
- invalid cases
- field-level constraints
- response style
Outputs expected
- validation rules
- error response shape
- client-facing message strategy
Workflow
- List invalid cases.
- Choose field versus form-level errors.
- Define response payload.
- Define message safety.
- Verify examples.
Validation checklist
- [ ] Invalid cases are listed
- [ ] Error response shape is stable
- [ ] Messages do not expose sensitive detail
References
../../prompts/review_security.md../../examples/profile-update-contract.md
04 同仓库更多 Skills
toolkit-i18n-operator
Use the toolkit-i18n CLI for repeated Flutter localization workflows with compact outputs, CSV validation, key coverage reporting, generated JSON exports, and safe non-mutating behavior.
★ 0
toolkit-design-operator
Use the toolkit-design CLI for repeated repository workflows.
★ 0
toolkit-ci-operator
Use the toolkit-ci CLI for repeated repository workflows.
★ 0
toolkit-arch-operator
Use the toolkit-arch CLI for repeated repository workflows, including Flutter i18n usage scans, layer checks, and localization coverage.
★ 0
web-testing
暂无简介
★ 0
web-state
暂无简介
★ 0