Ignore personal AI tooling (agents and skills) in git#8753
Open
ventselartur wants to merge 2 commits into
Open
Ignore personal AI tooling (agents and skills) in git#8753ventselartur wants to merge 2 commits into
ventselartur wants to merge 2 commits into
Conversation
BCApps' .gitignore lacked patterns for the Copilot/Claude agents and skills symlinked in from C:\depot\BC-agentic-workspace, so they showed up as untracked noise in git status. Ignore the managed symlink targets (.claude and .copilot skills/agents/rules/commands/instructions/hooks, .github agents/prompts/instructions, copilot-instructions.md) and the merged MCP configs, while keeping the repo's own tracked .github/agents/EngSys-VersionChange.agent.md. Fixes AB#640172 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
mazhelez
approved these changes
Jun 26, 2026
Contributor
|
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.
Why
When a developer adds their personal Copilot/Claude agents and skills to BCApps (under
.claude/,.copilot/, and.github/agents), these files show up as untracked entries ingit status, cluttering the working tree and risking accidental commits of personal tooling. Our ADO repo already follows the practice of placing agents and skills under.gitignore; this change brings the same convention to BCApps.Summary
.gitignorepatterns for personal AI tooling folders:.claude/and.copilot/skills/agents/rules/commands/instructions/hooks, and.github/agents/prompts/instructions pluscopilot-instructions.md..mcp.json,.vscode/mcp.json)..github/agents/EngSys-VersionChange.agent.mdvia an!re-include, so the blanket.github/agents/rule does not untrack it.Fixes AB#640172