Skip to content

Ignore personal AI tooling (agents and skills) in git#8753

Open
ventselartur wants to merge 2 commits into
mainfrom
bugs/640172-CannotSymblinkAgentsAndSkills
Open

Ignore personal AI tooling (agents and skills) in git#8753
ventselartur wants to merge 2 commits into
mainfrom
bugs/640172-CannotSymblinkAgentsAndSkills

Conversation

@ventselartur

@ventselartur ventselartur commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

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 in git 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

  • Added .gitignore patterns for personal AI tooling folders: .claude/ and .copilot/ skills/agents/rules/commands/instructions/hooks, and .github/ agents/prompts/instructions plus copilot-instructions.md.
  • Added ignores for the merged MCP configs (.mcp.json, .vscode/mcp.json).
  • Preserved the repo's own tracked .github/agents/EngSys-VersionChange.agent.md via an ! re-include, so the blanket .github/agents/ rule does not untrack it.

Fixes AB#640172

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>
@ventselartur ventselartur requested a review from a team June 23, 2026 18:39
@github-actions github-actions Bot added this to the Version 29.0 milestone Jun 23, 2026
Comment thread .gitignore
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@ventselartur ventselartur enabled auto-merge (squash) June 23, 2026 18:45
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Stale Status Check Deleted

The Pull Request Build workflow run for this PR was older than 72 hours and has been deleted.

📋 Why was it deleted?

Status checks that are too old may no longer reflect the current state of the target branch. To ensure this PR is validated against the latest code and passes up-to-date checks, a fresh build is required.


🔄 How to trigger a new status check:

  1. 📤 Push a new commit to the PR branch, or
  2. 🔁 Close and reopen the PR

This will automatically trigger a new Pull Request Build workflow run.

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