Copilot - hutorovmv/dotnet-microservices-template GitHub Wiki

Copilot Integration

Advanced GitHub Copilot features:

  • .github/copilot-instructions.md – Coding conventions for generated code
  • .github/copilot/commit-prompt.md – Commit message suggestions
  • MCP for Copilot DB access via mcp/postgres #query
Copilot Configuration Example
"github.copilot.chat.commitMessageGeneration.instructions": [
  {
    "file": ".github/copilot/commit-prompt.md"
  }
],
"mcp": {
  "servers": {
    "postgres": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--network",
        "dotnet-microservices-template_backend",
        "mcp/postgres",
        "postgresql://postgres:postgres@db:5432/todolist"
      ]
    }
  }
}
⚠️ **GitHub.com Fallback** ⚠️