Skip to content

Commit 62c14b0

Browse files
markushiclaude
andauthored
chore(tooling): Add dotagents configuration (#5230)
* meta: Add dotagents configuration Sets up dotagents to manage AI agent skills declaratively via agents.toml. Previously committed skills are now managed by dotagents and gitignored. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * meta: Keep custom skills alongside dotagents-managed ones Use a nested .gitignore in .claude/skills/ to ignore dotagents-managed skills while preserving repo-specific custom skills (create-java-pr, test). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Declare built-in skills --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a1eadfa commit 62c14b0

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

.claude/skills/.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Ignore dotagents-managed skills (synced from agents.toml)
2+
*
3+
# Keep custom repo-specific skills
4+
!.gitignore
5+
!create-java-pr/
6+
!create-java-pr/**
7+
!test/
8+
!test/**

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ spy.log
3434
# Local Claude Code settings/state that should not be committed
3535
.claude/settings.local.json
3636
.claude/worktrees/
37+
# Auto-generated by dotagents — do not commit these files.
38+
agents.lock
39+
.agents/.gitignore

agents.toml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Whenever you make changes to this file, run the following to update all generated dotagent files
2+
# npx @sentry/dotagents install
3+
# npx @sentry/dotagents sync
4+
5+
version = 1
6+
7+
[[skills]]
8+
name = "dotagents"
9+
source = "getsentry/dotagents"
10+
11+
[[skills]]
12+
name = "sentry-workflow"
13+
source = "getsentry/sentry-for-ai"
14+
15+
[[skills]]
16+
name = "sentry-fix-issues"
17+
source = "getsentry/sentry-for-ai"
18+
19+
[[skills]]
20+
name = "sentry-code-review"
21+
source = "getsentry/sentry-for-ai"
22+
23+
[[skills]]
24+
name = "sentry-pr-code-review"
25+
source = "getsentry/sentry-for-ai"
26+
27+
[[skills]]
28+
name = "create-java-pr"
29+
source = "path:.agents/skills/create-java-pr"
30+
31+
[[skills]]
32+
name = "test"
33+
source = "path:.agents/skills/test"

0 commit comments

Comments
 (0)