Skip to content

feat: Add dotagents skill management and expand warden#108695

Merged
dcramer merged 4 commits intomasterfrom
feat/dotagents-skill-management
Feb 20, 2026
Merged

feat: Add dotagents skill management and expand warden#108695
dcramer merged 4 commits intomasterfrom
feat/dotagents-skill-management

Conversation

@dcramer
Copy link
Copy Markdown
Member

@dcramer dcramer commented Feb 20, 2026

Introduces dotagents for managing shared agent skills across the repo. This moves skills from .claude/skills/ to .agents/skills/ (with a symlink for backwards compatibility) and declares remote skill dependencies in agents.toml with integrity verification via agents.lock.

Remote skills are sourced from getsentry/skills and getsentry/warden-sentry. Running devenv sync will automatically install them via npx @sentry/dotagents install --frozen.

Key changes:

  • agents.toml / agents.lock — skill declarations and integrity lockfile
  • .agents/skills/ — new canonical location for skills (.claude/skills is now a symlink)
  • .agents/skills/warden/ — new local warden skill with CLI reference docs
  • .envrc — check for missing skills and prompt devenv sync
  • devenv/sync.py — add dotagents install to the sync pipeline
  • Adds new synthesized bug finder skills for warden

Collaborators need to run devenv sync (or npx @sentry/dotagents install) to populate gitignored managed skills.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 20, 2026
Copy link
Copy Markdown
Member

@JoshFerge JoshFerge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one small q about npm vs pnpm semantics but lgtm

Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

dcramer and others added 3 commits February 20, 2026 11:08
Introduce dotagents for managing shared agent skills across the repo.
Skills are moved from .claude/skills/ to .agents/skills/ with a symlink
for backwards compatibility. Remote skills from getsentry/skills and
getsentry/warden-sentry are declared in agents.toml with integrity
verification via agents.lock.

- Add agents.toml and agents.lock for skill declarations
- Move existing skills to .agents/skills/ directory
- Add warden skill with CLI reference docs
- Add .envrc check to prompt devenv sync when skills missing
- Add dotagents install step to devenv/sync.py

Co-Authored-By: Claude <[email protected]>
- Use pnpm dlx instead of npx (JoshFerge review)
- Make agent skills install non-fatal since private skill repos
  may not be accessible in CI environments
- Fix .envrc check to test for a managed skill dir (commit/) instead
  of top-level .agents/skills/ which exists in-repo with local skills

Co-Authored-By: Claude <[email protected]>
shutil.which("pnpm") without a path argument searches the inherited
process PATH, but pnpm is installed in .devenv/bin/ by devenv. Use
the same binroot path that run_procs adds to the child PATH.

Co-Authored-By: Claude <[email protected]>
@dcramer dcramer force-pushed the feat/dotagents-skill-management branch from e3795a0 to 48d7553 Compare February 20, 2026 19:11
@dcramer dcramer marked this pull request as ready for review February 20, 2026 19:33
@dcramer dcramer requested review from a team as code owners February 20, 2026 19:33
Copy link
Copy Markdown
Member

@joshuarli joshuarli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

devenv side of things lgtm

Add paths and ignorePaths to sentry-backend-bugs (src/sentry/**/*.py)
and sentry-javascript-bugs (static/**/*.{ts,tsx,js,jsx}) so they only
run on relevant file changes instead of the entire repo.

Co-Authored-By: Claude <[email protected]>
@dcramer
Copy link
Copy Markdown
Member Author

dcramer commented Feb 20, 2026

fixed one more miss (i forgot to add the skills to warden, which currently manages them separately, but its ok atm)

@dcramer dcramer changed the title feat: Add dotagents skill management feat: Add dotagents skill management and expand warden Feb 20, 2026
@dcramer dcramer merged commit 2f0a302 into master Feb 20, 2026
103 checks passed
@dcramer dcramer deleted the feat/dotagents-skill-management branch February 20, 2026 20:15
priscilawebdev pushed a commit that referenced this pull request Feb 24, 2026
Introduces [dotagents](https://github.com/getsentry/dotagents) for
managing shared agent skills across the repo. This moves skills from
`.claude/skills/` to `.agents/skills/` (with a symlink for backwards
compatibility) and declares remote skill dependencies in `agents.toml`
with integrity verification via `agents.lock`.

Remote skills are sourced from `getsentry/skills` and
`getsentry/warden-sentry`. Running `devenv sync` will automatically
install them via `npx @sentry/dotagents install --frozen`.

Key changes:
- `agents.toml` / `agents.lock` — skill declarations and integrity
lockfile
- `.agents/skills/` — new canonical location for skills
(`.claude/skills` is now a symlink)
- `.agents/skills/warden/` — new local warden skill with CLI reference
docs
- `.envrc` — check for missing skills and prompt `devenv sync`
- `devenv/sync.py` — add `dotagents install` to the sync pipeline
- Adds new synthesized bug finder skills for warden

Collaborators need to run `devenv sync` (or `npx @sentry/dotagents
install`) to populate gitignored managed skills.

---------

Co-authored-by: Claude <[email protected]>
mchen-sentry pushed a commit that referenced this pull request Feb 24, 2026
Introduces [dotagents](https://github.com/getsentry/dotagents) for
managing shared agent skills across the repo. This moves skills from
`.claude/skills/` to `.agents/skills/` (with a symlink for backwards
compatibility) and declares remote skill dependencies in `agents.toml`
with integrity verification via `agents.lock`.

Remote skills are sourced from `getsentry/skills` and
`getsentry/warden-sentry`. Running `devenv sync` will automatically
install them via `npx @sentry/dotagents install --frozen`.

Key changes:
- `agents.toml` / `agents.lock` — skill declarations and integrity
lockfile
- `.agents/skills/` — new canonical location for skills
(`.claude/skills` is now a symlink)
- `.agents/skills/warden/` — new local warden skill with CLI reference
docs
- `.envrc` — check for missing skills and prompt `devenv sync`
- `devenv/sync.py` — add `dotagents install` to the sync pipeline
- Adds new synthesized bug finder skills for warden

Collaborators need to run `devenv sync` (or `npx @sentry/dotagents
install`) to populate gitignored managed skills.

---------

Co-authored-by: Claude <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators Mar 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

claude-code-assisted Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants