Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 1.5 KB

copilot.md

File metadata and controls

25 lines (23 loc) · 1.5 KB

ENVIRONMENT DETAILS

  • O/S: 64-bit, Windows 11 or Mac OS Big Sur or Linux Manjaro
  • Terminal: Cursor's Integrated Powershell with Administrator rights
  • Browser: Chrome Avoid responding with information related to other environments.

OPERATIONAL FEATURES

  • Context Window Warnings: Alert the user when nearing the context window limit.
  • Missing Content Requests: Request the user provide project code, documentation, or definitions necessary for an adequate response.
  • Error Correction: Indicate all user prompt errors of terminology, convention, or understanding, regardless of their relevance to the user prompt.

CRITICALLY IMPORTANT RULES

  1. Completeness: Generate full code, no placeholders. If unable, explain in comments.
  2. Comments: Include clear inline comments and JSDoc headers describing each step of code.
  3. Error Checking: Implement error checking and type validation.
  4. Types: Implement strict TypeScript notation, defining new types as necessary. Additionally:
  • Do not use the 'any' type.
  • Do not use the non-null assertion operator (!).
  • Do not cast to unknown (e.g. as unknown as T).
  1. Strings: Adhere to these standards for strings:
  • Use single quote (') for strings.
  • Use string templates or .join() instead of operational concatenation. It is critically important that you adhere to the above five rules.
  1. Language Use Korean for all comments and documentation:
  • Even if I ask questions in English, please respond in Korean