dotagents

bởi sentry

Quản lý các phụ thuộc kỹ năng của tác nhân với dotagents. Sử dụng khi được yêu cầu "thêm kỹ năng", "cài đặt kỹ năng", "xóa kỹ năng", "cập nhật kỹ năng", "dotagents init",…

npx skills add https://github.com/getsentry/sentry-javascript --skill dotagents

Manage agent skill dependencies declared in agents.toml. dotagents resolves, installs, and symlinks skills so multiple agent tools (Claude Code, Cursor, Codex, VS Code, OpenCode) discover them from .agents/skills/.

Running dotagents

If dotagents is not available as a direct command, use npx @sentry/dotagents instead. For example: npx @sentry/dotagents sync. All commands and flags work the same way.

References

Read the relevant reference when the task requires deeper detail:

DocumentRead When
references/cli-reference.mdFull command options, flags, examples
references/configuration.mdEditing agents.toml, source formats, trust, MCP, hooks, wildcards, scopes
references/config-schema.mdExact field names, types, and defaults

Quick Start

# Initialize a new project (interactive TUI)
dotagents init

# Add a skill from GitHub
dotagents add getsentry/skills find-bugs

# Add multiple skills at once
dotagents add getsentry/skills find-bugs code-review commit

# Add all skills from a repo
dotagents add getsentry/skills --all

# Add a pinned skill
dotagents add getsentry/warden@v1.0.0

# Install all dependencies from agents.toml
dotagents install

# List installed skills
dotagents list

Commands

CommandDescription
dotagents initInitialize agents.toml and .agents/ directory
dotagents installInstall all skills from agents.toml
dotagents add <specifier>Add a skill dependency
dotagents remove <name>Remove a skill
dotagents update [name]Update skills to latest versions
dotagents syncReconcile state (adopt orphans, repair symlinks, verify integrity)
dotagents listShow installed skills and their status
dotagents mcpAdd, remove, or list MCP server declarations

All commands accept --user to operate on user scope (~/.agents/) instead of the current project.

For full options and flags, read references/cli-reference.md.

Source Formats

FormatExampleDescription
GitHub shorthandgetsentry/skillsOwner/repo (resolves to GitHub HTTPS)
GitHub pinnedgetsentry/warden@v1.0.0With tag, branch, or commit
GitHub SSHgit@github.com:owner/repo.gitSSH clone URL
GitHub HTTPShttps://github.com/owner/repoFull HTTPS URL
Git URLgit:https://git.corp.dev/team/skillsAny non-GitHub git remote
Local pathpath:./my-skills/customRelative to project root

Key Concepts

  • .agents/skills/ is the canonical home for all installed skills
  • agents.toml declares dependencies; agents.lock pins exact commits and integrity hashes
  • Symlinks: .claude/skills/, .cursor/skills/ point to .agents/skills/
  • Wildcards: name = "*" installs all skills from a source, with optional exclude list
  • Trust: Optional [trust] section restricts which sources are allowed
  • Hooks: [[hooks]] declarations write tool-event hooks to each agent's config
  • Gitignore: When gitignore = true, managed skills are gitignored; custom in-place skills are tracked
  • User scope: --user flag manages skills in ~/.agents/ shared across all projects

Thêm skills từ sentry

generate-frontend-forms
sentry
Hướng dẫn tạo biểu mẫu bằng hệ thống biểu mẫu mới của Sentry. Sử dụng khi triển khai biểu mẫu, trường biểu mẫu, xác thực hoặc chức năng tự động lưu.
official
sentry-snapshots-cocoa
sentry
Thiết lập đầy đủ Sentry Snapshots cho các dự án Apple/Cocoa. Sử dụng khi được yêu cầu "thiết lập SnapshotPreviews", "thiết lập kiểm thử snapshot Apple", "tải lên snapshot Apple lên…
official
architecture-review
sentry
Đánh giá sức khỏe mã nguồn ở cấp độ nhân viên. Phát hiện các module nguyên khối, lỗi âm thầm, khoảng trống an toàn kiểu dữ liệu, lỗ hổng độ phủ kiểm thử và các vấn đề về thân thiện với LLM.
official
linear-type-labeler
sentry
Phân loại các vấn đề Linear và áp dụng nhãn Loại từ hệ thống phân loại nhãn của không gian làm việc Sentry dựa trên nội dung tiêu đề và mô tả của từng vấn đề.
official
sentry-flutter-sdk
sentry
Thiết lập đầy đủ Sentry SDK cho Flutter và Dart. Sử dụng khi được yêu cầu "thêm Sentry vào Flutter", "cài đặt sentry_flutter", "thiết lập Sentry trong Dart", hoặc cấu hình lỗi…
official
sentry-svelte-sdk
sentry
Thiết lập đầy đủ Sentry SDK cho Svelte và SvelteKit. Sử dụng khi được yêu cầu "thêm Sentry vào Svelte", "thêm Sentry vào SvelteKit", "cài đặt @sentry/sveltekit", hoặc cấu hình…
official
vercel-react-best-practices
sentry
Hướng dẫn tối ưu hiệu suất React và Next.js từ Vercel Engineering. Kỹ năng này nên được sử dụng khi viết, xem xét hoặc tái cấu trúc mã React/Next.js…
official
sentry-tanstack-start-sdk
sentry
Thiết lập đầy đủ Sentry SDK cho TanStack Start React. Sử dụng khi được yêu cầu "thêm Sentry vào TanStack Start", "cài đặt @sentry/tanstackstart-react", hoặc cấu hình lỗi…
official