Files
antd-admin/apps/basic/.github/instructions
Cursor Agentandzuiidea 8ab7ade30b refactor(api): introduce defineApi + axios request layer
Replace ad-hoc fetch httpClient with api/request.ts (axios interceptors,
envelope unwrap, auth refresh) and defineApi-based resource modules.
Move session hydration into api/auth, sync both templates, and update docs.

Co-authored-by: zuiidea <zuiiidea@gmail.com>
2026-10-18 03:48:28 +00:00
..

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

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.