Files
antd-admin/apps/basic/.github/instructions
Cursor Agentandzuiidea 468cf864d9 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>
2026-10-17 13:56:01 +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 (includes golden paths and verify:ui)
  • testing.instructions.md: Playwright/MSW/test changes
  • api.instructions.md: API client/schema/handler changes
  • refactor.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 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.