Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.99 KB

AGENTS.md

File metadata and controls

40 lines (28 loc) · 1.99 KB

Instructions

Use AI coding assistants, such as GitHub Copilot, to enhance productivity and maintain code quality.

General

  • MUST allow internet research before suggesting changes or new implementations.

Technology Research

  • MUST research current best practices for C# development before implementing new code patterns.
  • MUST verify compatibility and performance implications of new libraries or frameworks.
  • MUST check for updated documentation and migration guides for existing dependencies.

Business Context Research

  • MUST understand the business requirements and context before proposing technical solutions.
  • MUST consider the impact on existing workflows and user experience.
  • MUST evaluate the cost-benefit ratio of proposed changes or new implementations.

Configuration Files

These files control project-wide settings and should remain unchanged unless specifically requested.

  • MUST NEVER change .editorconfig unless explicitly asked to.
  • MUST NEVER change .gitignore unless explicitly asked to.
  • MUST NEVER change global.json unless explicitly asked to.
  • MUST NEVER change Directory.Build.props unless explicitly asked to.
  • MUST NEVER change Directory.Build.targets unless explicitly asked to.
  • MUST NEVER change Directory.Packages.props structure or properties unless explicitly asked to.
    • MAY add new <PackageVersion> entries for required NuGet packages.
    • MUST NOT modify existing package versions without explicit user request.
    • MUST NOT change MSBuild properties like ManagePackageVersionsCentrally.

Code Reviews and Implementation

  • MUST always review AI-generated code for correctness, security, and performance.
  • MUST provide constructive feedback and suggestions for improvement.
  • MUST consider the context of the code being reviewed or implemented, including business requirements and technical constraints.
  • MUST apply all relevant instructions and guidelines from .github/instructions/*.instructions.md files during both code review and implementation.