Files
antd-admin/apps/with-lingui/.github/instructions/README.md
T
zuiidea c5221c71be feat(with-lingui): orders CRUD, shared hooks, auth refresh, and docs
- 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
2026-04-27 14:47:55 +08:00

748 B

AI Instruction Files

This directory contains scoped instruction files used by AI coding agents.

Files

  • frontend.instructions.md: UI/routes/components/style changes
  • testing.instructions.md: Playwright/MSW/test changes
  • api.instructions.md: API client/schema/handler changes
  • refactor.instructions.md: behavior-preserving cleanup and deduplication
  • add-resource.instructions.md: add a new CRUD resource (manual / Agent checklist; mirror users + orders)

Authoring Rules

  • Keep each file focused on one domain.
  • Put trigger phrases in description so agents can discover the file.
  • Use narrow applyTo patterns to avoid unnecessary context load.
  • Keep instructions executable: short Do/Do Not/Validation sections.