Skip to content

Commit 2b29800

Browse files
authored
chore: Gitignore agent skill auto-update artifacts (#109302)
Adds `.agents/.gitignore` and `agents.lock` to the root `.gitignore` so that dotagents auto-updates don't leave dirty working tree state. These files are auto-generated and shouldn't be tracked. Also mirrors the current `.agents/.gitignore` skill entries (prefixed with `.agents/`) as a temporary fallback to avoid breaking pre-existing installs during the migration. These temporary entries can be removed after a week. Both `.agents/.gitignore` and `agents.lock` are removed from git tracking via `git rm --cached`. Agent transcript: https://claudescope.sentry.dev/share/Wh40JwobL_ulw3REzVDMrPgv1qLRY2vrz-_mzK2hoqU
1 parent 1eaf0ae commit 2b29800

File tree

3 files changed

+28
-130
lines changed

3 files changed

+28
-130
lines changed

.agents/.gitignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

.gitignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,31 @@ yarn.lock
6565
.claude/settings.local.json
6666
.claude/plans
6767
.warden/
68+
# Auto-updated agent skill dependencies — ignore to avoid dirty state
69+
.agents/.gitignore
70+
agents.lock
71+
# end
72+
73+
# Temporary: mirror .agents/.gitignore contents to avoid breaking pre-existing installs. Remove that after a week
74+
.agents/skills/agents-md/
75+
.agents/skills/blog-writing-guide/
76+
.agents/skills/brand-guidelines/
77+
.agents/skills/claude-settings-audit/
78+
.agents/skills/code-review/
79+
.agents/skills/code-simplifier/
80+
.agents/skills/commit/
81+
.agents/skills/create-pr/
82+
.agents/skills/django-access-review/
83+
.agents/skills/django-perf-review/
84+
.agents/skills/doc-coauthoring/
85+
.agents/skills/find-bugs/
86+
.agents/skills/gh-review-requests/
87+
.agents/skills/iterate-pr/
88+
.agents/skills/security-review/
89+
.agents/skills/skill-creator/
90+
.agents/skills/skill-scanner/
91+
.agents/skills/sred-project-organizer/
92+
.agents/skills/sred-work-summary/
93+
.agents/skills/warden/
94+
.agents/skills/warden-sweep/
95+
# end

agents.lock

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)