Skip to content

Configure FluentMigrator-specific Copilot instructions#2180

Merged
jzabroski merged 2 commits into
mainfrom
copilot/setup-copilot-instructions
Nov 22, 2025
Merged

Configure FluentMigrator-specific Copilot instructions#2180
jzabroski merged 2 commits into
mainfrom
copilot/setup-copilot-instructions

Conversation

Copilot AI commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

Replaced generic ASP.NET Core API guidelines in .github/copilot-instructions.md with FluentMigrator-specific migration framework patterns.

Removed:

  • ASP.NET Core content (authentication, API versioning, middleware)
  • Generic data access patterns irrelevant to a migration library

Added:

  • Project context: 11 supported database providers (SQL Server, PostgreSQL, MySQL, SQLite, Oracle, Firebird, Snowflake, SAP HANA, Jet, Redshift, DB2)
  • Migration patterns: Up()/Down() structure, AutoReversingMigration, timestamp-based versioning
  • Database-agnostic code: IfDatabase() usage with ProcessorIdConstants
  • Testing patterns: NUnit fixtures with Shouldly assertions, integration test organization
  • Architecture: Processor/generator implementation, project structure, extension method conventions
  • Build/test: dotnet build/test workflows, GitVersion integration

Example migration pattern:

[Migration(20090906205342)]
public class AddUsersTable : Migration
{
    public override void Up() =>
        Create.Table("Users")
            .WithIdColumn()
            .WithColumn("Name").AsString().NotNullable();

    public override void Down() =>
        Delete.Table("Users");
}

Retained:

  • C# 13 language guidelines
  • .editorconfig alignment (naming, formatting)
  • Nullable reference type patterns
  • XML documentation standards

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: curl -L REDACTED (dns block)
  • l78vsblobprodsu6weus64.blob.core.windows.net
    • Triggering command: dotnet restore FluentMigrator.sln (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)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Configure instructions for Copilot in repository Configure FluentMigrator-specific Copilot instructions Nov 18, 2025
Copilot AI requested a review from jzabroski November 18, 2025 20:20
@jzabroski
jzabroski marked this pull request as ready for review November 22, 2025 03:50
@jzabroski
jzabroski merged commit 72d36e7 into main Nov 22, 2025
0 of 5 checks passed
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

2 participants