mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-26 10:13:59 +00:00
Register golden paths, YAGNI, and verify:ui in app instructions and Cursor rules. Co-authored-by: zuiidea <zuiiidea@gmail.com>
AI Instruction Files
This directory contains scoped instruction files used by AI coding agents.
Files
frontend.instructions.md: UI/routes/components/style changes (includes golden paths andverify:ui)testing.instructions.md: Playwright/MSW/test changesapi.instructions.md: API client/schema/handler changesrefactor.instructions.md: behavior-preserving cleanup and deduplication
UI golden paths and Ant Design/token rules live in frontend.instructions.md.
Authoring Rules
- Keep each file focused on one domain.
- Put trigger phrases in
descriptionso agents can discover the file. - Use narrow
applyTopatterns to avoid unnecessary context load. - Keep instructions executable: short Do/Do Not/Validation sections.