dotagents-qa

作成者: sentry

Dockerサンドボックス内でのdotagentsのQA動作変更。dotagentsのインストール、同期、リスト、ドクター、スキル配置、エージェントシンボリックリンク、MCPなどに影響を与える可能性がある変更時に使用します。

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

dotagents QA

Prove the requested behavior in Docker without touching host agent homes, caches, plugin registries, or credentials. Treat Docker as the safety boundary and the changed or released behavior as the test plan.

1. Define the contract

Before commands, state:

  • the exact subject: local checkout, packed local build, or published version;
  • the commands and semantics at risk;
  • default-global scope, explicit-project scope, or both;
  • the harnesses involved;
  • the fixture and evidence that constitute a pass.

For a published release, verify its registry metadata and install that exact version. Never silently test the local checkout instead. If you fix a discovered defect, report the release failure and packed-local-build pass separately.

Read the relevant references before acting:

Planning is part of acting: read the relevant references before proposing a command sequence, not only before executing it.

2. Establish isolation

Use the repo QA image. Rebuild it when the Dockerfile, pnpm version, or required current harness versions changed.

Run package and runtime work as a non-root user. Keep these inside Docker or disposable directories:

export HOME=/sandbox/home
export DOTAGENTS_STATE_DIR=/sandbox/state
export DOTAGENTS_HOME=/sandbox/user-agents
export COPILOT_HOME=/sandbox/copilot-home
export CODEX_HOME=/sandbox/codex-home
export CLAUDE_CONFIG_DIR=/sandbox/claude-home

Mount the host checkout read-only and copy it into the container without .git, node_modules, dist, coverage, or *.tsbuildinfo. Never point user-scope commands or client CLIs at the host's real home.

Do not forward auth for file, validation, marketplace, or resource-discovery checks. Copy credentials only for a separately authorized model-backed proof, scrub them afterward, and never retain them in /qa-out.

3. Run baseline validation

For a local plugin/runtime change, normally run:

pnpm install --frozen-lockfile
pnpm check
pnpm qa:example
pnpm qa:plugins

Add focused regression tests for every confirmed logic bug. A failing baseline is a finding; do not bypass it silently. If a check is irrelevant or unavailable, record why.

4. Exercise complete lifecycles

Use the CLI from a fresh fixture and inspect output plus files:

dotagents --project init --agents claude,codex,opencode,pi
dotagents --project add <source> [name]
dotagents --project list --json
dotagents --project doctor
dotagents --project install

Inspect agents.toml, agents.lock, canonical skills/plugins, ownership markers, marketplaces, manifests, harness projections, and warnings. Delete representative managed artifacts, run dotagents --project sync, and prove exact repair. Run dotagents --project remove <name> and prove canonical and generated cleanup.

Invoke every lifecycle command named by the contract with the intended scope. In particular, run install explicitly even though add also installs, and assert the config and lockfile paths directly rather than inferring them from list output.

For scope-selection changes, create both a project config and isolated global config, then prove unqualified commands mutate only global state from inside that configured repository. Prove --project mutates only project state, both --global and --user select the global paths, --global --user executes once, and either alias combined with --project fails before creating or changing files. Also cover --project init outside Git.

Test hook migration explicitly: create an executable, marker-delimited legacy post-merge hook containing unrelated lines around the bare install command; prove --project doctor diagnoses it and --project doctor --fix changes only the managed command to explicit project scope while preserving the unrelated content and executable mode.

Cover an unambiguous skill source as well as plugins so plugin-first discovery still falls back correctly. Use --all only with a controlled small catalog.

For global plugins, test the unqualified default plus both --global and legacy --user. Isolate HOME and DOTAGENTS_HOME; inspect global Claude, Codex, OpenCode, and Pi paths; repair with one spelling and remove with another.

5. Test representative plugins

When plugin compatibility is in scope, inspect current manifests and test:

  • getsentry/agent-plugin;
  • vercel/vercel-plugin;
  • one high-signal plugin selected from the current manifest in anthropics/claude-plugins-official.

In a proposed compatibility plan, name all three repositories but defer the Anthropic plugin selector until manifest inspection at execution time. Derive all selectors, versions, commits, and component counts from that inspection.

Use a fresh project per source. Record source commits. Do not guess repository names, selectors, versions, component counts, or layouts.

6. Prove harnesses independently

Keep per-harness fixtures isolated. In particular, do not enable Pi in the OpenCode proof: OpenCode can read Pi's shared .agents/skills links and create a false pass.

  • Claude: validate generated plugin and marketplace manifests, then marketplace add, install, list, and details.
  • Copilot: add the generated marketplace, browse it, install the plugin, and list the installed plugin.
  • Codex: add the project or user marketplace root, list available plugins, install, and list enabled plugins.
  • OpenCode: run opencode debug skill and opencode debug config; assert exact projected skill names and locations plus every portable plugin MCP entry under plugin.<plugin>.<server> with expanded paths and environment.
  • Pi: in a separate Pi-only fixture, verify expected skill links, resolved targets, and .dotagents-managed/<skill> ownership markers.

These no-auth checks prove validation, registration, installation, or resource discovery. They do not prove model-backed invocation. Never claim a plugin skill or subagent executed without a model interaction and visible evidence.

7. Report

Include:

  • exact dotagents and harness versions;
  • Docker image/setup and non-root user;
  • fixture shapes and source commits;
  • commands and inspected paths;
  • assertions that passed;
  • confirmed defects and their regression tests;
  • release results versus local-fix results;
  • skipped authenticated checks and residual risk;
  • retained /qa-out location, if any.

Reporting is lossless. Enumerate every supplied command, version, source commit, and inspected path, even when repetitive. A category summary such as “state and marketplaces” is insufficient; do not invent missing values.

Keep the report candid: filesystem proof, native management proof, resource-discovery proof, and model-backed execution are different confidence levels.

sentryのその他のスキル

add-ai-integration
sentry
Sentry JavaScript SDKに新しいAIプロバイダー統合を追加します。新しいAIインストルメンテーション(OpenAI、Anthropic、Vercel AI、LangChainなど)を貢献する際に使用します…
add-cdn-bundle
sentry
指定された機能を持つブラウザパッケージ用の新しいCDNバンドルを作成します
agent-prompt
sentry
効果的なエージェントプロンプトとスキルを作成するためのリファレンスガイド。新しいスキルの作成、プロンプト品質のレビュー、またはWardenのプロンプトの理解に使用します。
agents-md
sentry
このスキルは、ユーザーが「AGENTS.mdを作成して」「AGENTS.mdを更新して」「エージェントドキュメントを管理して」「CLAUDE.mdを設定して」と依頼した場合や、エージェント…を維持する必要がある場合に使用します。
agents-md
sentry
60行未満の最小限で高シグナルなエージェントドキュメントを作成・維持します。研究に基づくエージェント向けドキュメントのベストプラクティスを適用し、長くなると指示の品質が低下します。パッケージマネージャー、ファイルスコープのコマンド(ファイルごとのテスト・リンター・型チェック)、エージェントIDによるコミット帰属の3つのコアセクションが必要です。プロジェクト構造(ロックファイル、リンター設定、CIコマンド、モノレポ指標)を分析してファイルに含める内容を決定します。ヘッダーと箇条書きのみを使用し、参照...
agents-md
sentry
このスキルは、ユーザーが「AGENTS.mdを作成」「AGENTS.mdを更新」「エージェントドキュメントを管理」「CLAUDE.mdを設定」と依頼した場合や、エージェント…
ai-sdk
sentry
ai-sdk — getsentry/webvitals.com が公開する、AIエージェント用のインストール可能なスキル。
analytics
sentry
SentryのフロントエンドUIでアナリティクスイベントを計測・発見します。ボタン、ページ、モーダル、カスタムインタラクションにトラッキングを追加する際や、新しい定義を行う際に使用します。