Skip to content

Add basic F# GitHub Copilot instructions and GitHub MCP #726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 7, 2025

Conversation

xperiandri
Copy link
Collaborator

No description provided.

@Copilot Copilot AI review requested due to automatic review settings July 1, 2025 14:01
Copy link

@Copilot 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 introduces basic F# GitHub Copilot instructions and integrates the GitHub MCP configuration for secure API access.

  • Updated CHANGELOG.md to log the new instructions entry.
  • Added .mcp.json for GitHub MCP configuration using a GitHub personal access token.
  • Added .github/copilot-instructions.md which outlines best practices and latest F# coding conventions for using Copilot.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
CHANGELOG.md Added a log entry for the new Copilot instructions and GitHub MCP
.mcp.json New configuration file establishing connection parameters for MCP
.github/copilot-instructions.md Introduces F# coding guidelines and best practices for Copilot usage

@xperiandri xperiandri force-pushed the copilot-settings branch 2 times, most recently from bf649a0 to f518f57 Compare July 6, 2025 21:36
@xperiandri
Copy link
Collaborator Author

@Numpsy, @webwarrior-ws, @BennieCopeland do you have any suggestions?

@xperiandri xperiandri merged commit 77b6ae1 into master Jul 7, 2025
8 of 10 checks passed
@xperiandri xperiandri deleted the copilot-settings branch July 7, 2025 00:08

Prefer `voption` over `option`

Prefer `task` CE over `async` CE
Copy link
Collaborator

Choose a reason for hiding this comment

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

@xperiandri let's put this line backwards, async is idomatic F#

``created object``.otherField <- fieldValue

[<DefaultValue>]
val mutable otherField : FieldType
Copy link
Collaborator

Choose a reason for hiding this comment

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

@xperiandri let's not encourage Copilot to use the mutable keyword

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The mutable keyword can be mentioned separately to bring its attention to the preference of not using it.

xperiandri added a commit that referenced this pull request Jul 11, 2025
## [0.25.0] - 2025-07-11

- Migrate from `Paket` to `Directory.Packages.props` #722 [@xperiandri]
- Migrate to .NET `9.0.201` and FCS `43.9.201` #722 [@xperiandri]
- Write test logs to test context output #722 [@xperiandri]
- Use string interpolation instead of `+` concatenation #724 [@xperiandri]
- Run tests in parallel #728 [@xperiandri]
- Remove `NoPartialFunctions` compiler workaround (#698) [@webwarrior-ws]
- Add `SLNX` and `SLNF` format support and migrate to SLNX solution #723 [@xperiandri]
  Remove `Ionide.ProjInfo.Sln` NuGet package dependency
- Remove `Newtonsoft.Json` NuGet dependency #725 [@xperiandri]
- Add missing rule checks for FL0079-FL0081 #713 [@BennieCopeland]
- Modify `.gitignore` to the Visual Studio standard one #735 [@xperiandri]
- Add basic Copilot instructions and GitHub MCP #726 [@xperiandri]
- Migrate `Fornax` to `0.16.0-beta002` and `FSharp.Formatting` to `20.0.1` #736 [@xperiandri, @Numpsy]
- Update the build instructions to use `dotnet fsi` instead of `fake-cli` #734 [@Numpsy]
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.

2 participants