mirror of
https://github.com/zuiidea/antd-admin
synced 2026-11-01 07:20:20 +00:00
docs: harden agent UI/quality instructions
Register golden paths, YAGNI, and verify:ui in app instructions and Cursor rules. Co-authored-by: zuiidea <zuiiidea@gmail.com>
This commit is contained in:
@@ -13,6 +13,7 @@ Maintain strict API contracts and consistent server/client mock behavior.
|
||||
## Do
|
||||
|
||||
- Keep request/response shapes schema-driven and type-safe.
|
||||
- New endpoints and client mutations/queries must use Zod schemas at the boundary.
|
||||
- Reuse endpoint constants and shared response helpers.
|
||||
- Keep handler response envelope consistent (`code`, `data`, `message`).
|
||||
- Ensure mock handlers reflect real API behavior and error semantics.
|
||||
|
||||
Reference in New Issue
Block a user