dotagents

作者: sentry

使用dotagents管理代理技能依赖。当被要求“添加技能”、“安装技能”、“移除技能”、“更新技能”、“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

来自 sentry 的更多技能

generate-frontend-forms
sentry
使用Sentry新表单系统创建表单的指南。在实现表单、表单字段、验证或自动保存功能时使用。
official
sentry-snapshots-cocoa
sentry
完整的 Sentry Snapshots 配置,适用于 Apple/Cocoa 项目。当被要求“设置 SnapshotPreviews”、“设置 Apple 快照测试”、“上传 Apple 快照到…”时使用。
official
architecture-review
sentry
员工级代码库健康审查。发现单体模块、静默失败、类型安全漏洞、测试覆盖缺口以及LLM友好性问题。
official
linear-type-labeler
sentry
根据每个问题的标题和描述内容,对Linear问题进行分类,并从Sentry工作区的标签分类体系中应用一个类型标签。
official
sentry-flutter-sdk
sentry
完整的Sentry SDK配置,适用于Flutter和Dart。当被要求“为Flutter添加Sentry”、“安装sentry_flutter”、“在Dart中配置Sentry”或配置错误…时使用。
official
sentry-svelte-sdk
sentry
为Svelte和SvelteKit提供完整的Sentry SDK设置。当被要求“为Svelte添加Sentry”、“为SvelteKit添加Sentry”、“安装@sentry/sveltekit”或配置……时使用。
official
vercel-react-best-practices
sentry
来自 Vercel 工程团队的 React 和 Next.js 性能优化指南。在编写、审查或重构 React/Next.js… 时应使用此技能。
official
sentry-tanstack-start-sdk
sentry
为TanStack Start React提供完整的Sentry SDK设置。当被要求“向TanStack Start添加Sentry”、“安装@sentry/tanstackstart-react”或配置错误…时使用。
official