Repository navigation
Add the AI infrastructure for coding agents - #1
Closed
xperiandri wants to merge 8 commits into
Closed
xperiandri wants to merge 8 commits into
xperiandri wants to merge 8 commits into
Conversation
`.github/copilot-instructions.md` is the single source for GitHub Copilot, Claude Code and other agents: the build and test commands, the structure, how the adornments work, the parts that belong to the original author, the rules for Visual Studio extensions and the C# guidelines. `CLAUDE.md` imports it and `AGENTS.md` points to it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
`create-pr-description.prompt.md` compares the branch with `origin/main` and fills in the pull request template. This repository has no template, so the prompt falls back to a default structure. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A custom agent for the extension code, based on `madskristensen/CustomAgents`. It refers to the project instructions and to the skills instead of repeating them. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Six skills of `madskristensen/vs-agent-plugins` (commit e971073e2163d4bc66d3e455e102c316e01c94c6) that apply to this extension: `handling-async-threading`, `handling-extension-errors`, `adding-editor-adornments`, `listening-text-view-events`, `adding-options-settings` and `handling-solution-events`. The content is unchanged. The Apache License 2.0 of the upstream repository comes with them, and `README.md` names the source. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Git cannot store a Windows junction, so `Directory.Build.targets` creates it when Visual Studio loads the project, and `.gitignore` excludes it. A command-line build skips the target. `Directory.Build.targets` is a solution item. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
`.claude/settings.json` registers the `vs-agent-plugins` marketplace and enables `vs-extensibility-skills`, the whole catalogue of 40 skills. If Claude Code does not offer to install it, `claude plugin install vs-extensibility-skills@vs-agent-plugins --scope project` does. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The job runs on `windows-2022`: the VSIX builds only with the MSBuild of Visual Studio, and the extension targets Visual Studio 2022. The integrated firewall of the agent is not compatible with Windows, so the agent runs without it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
`.mcp.json` lists `GitHub` for Visual Studio and Claude Code, and `Microsoft Learn` for Claude Code only, because Visual Studio bundles that server itself. The GitHub server does not support the OAuth dynamic client registration that Claude Code needs, so `.claude/scripts/github-mcp-headers.ps1` passes it the token that Git Credential Manager already stores. `.mcp.json` is a solution item. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Owner
Author
|
Superseded by mrlacey#50: the same change, opened in the original repository. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
The repository gets one set of instructions for AI agents:
.github/copilot-instructions.mdis the single source for GitHub Copilot, Claude Code and other agents, andCLAUDE.mdandAGENTS.mdpoint to it. It describes the build and test commands, the project structure, how the adornments are created, the parts that belong to the original author and the rules for Visual Studio extensions. Around it come the MCP servers in.mcp.json, thevs-extension-expertagent, six Visual Studio extension skills frommadskristensen/vs-agent-pluginstogether with the plugin for Claude Code, the setup steps of the Copilot coding agent and a prompt that writes pull request descriptions. The extension code and the project files do not change.Types of changes
Put an
xin the boxes that applyNone of these: the change adds repository tooling and documentation, not extension code.
Checklist
-p:TargetFrameworkVersion=v4.8, because the .NET Framework 4.8.1 targeting pack is not installed on that machine: no errors, the same 26 distinct warnings, the VSIX has the same size)vstest.console.exe, before and after the change)README.mdandCHANGELOG.md(if appropriate) (nothing user-visible changed)Further comments
The branch has eight commits that can be reviewed one by one.
StringResourceVisualizer.slnchanges together with the files it lists, so the solution names only existing files in every commit.Buildworkflow runs on this pull request. Its build, test run and artifact upload succeed. The later stepPublish Test Resultsfails, because the third-party actionEnricoMi/publish-unit-test-result-action/windows@v2finds no Python interpreter on thewindows-2022runner image (No python3 interpreter found), and the badge steps after it are skipped. This change touches no file that the workflow uses, but the workflow was not run without it; anactions/setup-pythonstep before the failing one is the usual fix and is not part of this pull request.madskristensen/vs-agent-pluginsat commite971073e2163d4bc66d3e455e102c316e01c94c6(Apache License 2.0, included next to them);.claude/settings.jsonenables the same catalogue as a Claude Code plugin.windows-2022, like the CI build, because the extension targets Visual Studio 2022: GitHub states that the integrated firewall of the Copilot coding agent is not compatible with Windows, so the agent runs without it. Its run passes.NU1902andNU1903forMessagePack2.5.192,VSTHRD110and theTODOcomment; the change adds none.Tools > Options > GitHub > Copilot > Copilot Chat. Claude Code asks once to approve the project MCP servers from.mcp.json..slnxand changes to the existing CI workflow.🤖 Generated with Claude Code