mirror of
https://github.com/zuiidea/antd-admin.git
synced 2026-10-19 16:14:37 +00:00
- Add second sample resource (orders): API, schemas, MSW, routes, menu, Lingui, and E2E. - Introduce useCrudToasts, useUrlSearchState, useTableFitHeight; extend useResourceCRUD with optimistic updates; add Vitest coverage for hooks and createHandler. - Implement token refresh in http layer, RouteError, and new E2E specs (auth-refresh, rbac, url-state). - Replace gen-resource codegen with English add-resource.instructions.md; fix Copilot instruction YAML in with-lingui and basic. - Add with-lingui CI workflow, Cursor thin rules, optimization plan doc, and refresh README/AGENTS. - Bump packages/create and lockfile where applicable. Made-with: Cursor
748 B
748 B
AI Instruction Files
This directory contains scoped instruction files used by AI coding agents.
Files
frontend.instructions.md: UI/routes/components/style changestesting.instructions.md: Playwright/MSW/test changesapi.instructions.md: API client/schema/handler changesrefactor.instructions.md: behavior-preserving cleanup and deduplicationadd-resource.instructions.md: add a new CRUD resource (manual / Agent checklist; mirrorusers+orders)
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.