Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 30, 2026

Why make this change?

Per GitHub best practices, Copilot coding agent uses .github/copilot-instructions.md to understand repository context, conventions, and workflows. Without this, the agent lacks project-specific knowledge for optimal assistance.

What is this change?

Created .github/copilot-instructions.md containing:

  • Project context: .NET 8 C# service supporting 6 database types (SQL Server, PostgreSQL, MySQL, Cosmos DB, etc.)
  • Build/test commands: Database-specific test categories, dotnet format requirements, schema setup
  • Code conventions: 4-space indent, LF endings, dotnet format enforcement, SQL query formatting per engine
  • Security patterns: @env() syntax for connection strings, never commit secrets
  • Project structure: Core/Auth/CLI/Service/GraphQLBuilder organization
  • Common workflows: Config generation, local development setup, CLI usage

Key details for AI assistance:

  • Integration tests require specific database schemas from src/Service.Tests/DatabaseSchema-<engine>.sql
  • Config files use JSON with @env('var_name') for secrets
  • Different SQL formatters per database engine (sqlformat.org for Postgres, poorsql.com for SQL Server/MySQL)

How was this tested?

  • N/A - Documentation only, no code changes

Sample Request(s)

  • N/A - Documentation only, no runtime behavior changes

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • gh.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>✨ Set up Copilot instructions</issue_title>
<issue_description>Configure instructions for this repository as documented in Best practices for Copilot coding agent in your repository.

</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 30, 2026 21:14
Co-authored-by: Aniruddh25 <3513779+Aniruddh25@users.noreply.github.com>
Co-authored-by: Aniruddh25 <3513779+Aniruddh25@users.noreply.github.com>
Copilot AI changed the title [WIP] Set up Copilot instructions for the repository Add Copilot repository instructions Jan 30, 2026
Copilot AI requested a review from Aniruddh25 January 30, 2026 21:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive Copilot instructions to help GitHub Copilot understand the Data API builder (DAB) repository structure, conventions, and workflows. The new .github/copilot-instructions.md file provides detailed guidance about the .NET 8 C# service that supports 6 database types, build/test commands, code conventions, security practices, and common development workflows.

Changes:

  • Added .github/copilot-instructions.md with comprehensive repository documentation including project overview, structure, build/test procedures, code style guidelines, and development workflows

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Aniruddh25
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

Aniruddh25 and others added 2 commits January 30, 2026 20:27
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Aniruddh25
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Set up Copilot instructions

3 participants