835 B
835 B
Copilot Instructions for ImEX RPS
Read AGENTS.md first. It contains the current project architecture, safety rules, workflows, and migration context.
When proposing or generating code:
- Use npm scripts and current Vite/Electron workflows, not stale Create React App/yarn instructions.
- Keep changes narrow and preserve existing style.
- Do not edit generated
build/,dist/, ordist-electron/. - Do not suggest publish commands unless the user explicitly asks to publish.
- Prefer AntD v5 APIs and avoid deprecated props.
- Preserve Electron security defaults:
contextIsolation: true,nodeIntegration: false, preload bridge for renderer IPC. - Avoid circular Electron main-process imports; IPC modules should not import
mainWindowfrommain-src.js. - Use
.ai/files for deeper domain and architecture context.