.agent/skills/sentry-expert/SKILL.md
Active workflow skill for Sentry and OpenTelemetry planning, research, and implementation support. Grounded in current official Sentry and OpenTelemetry documentation with Vercel Node.js plus the HTTP MCP server and Search CLI as the default Oak deployment context.
npx skillsauth add oaknational/oak-open-curriculum-ecosystem sentry-expertInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Active workflow skill for Sentry and OpenTelemetry planning, research, and
implementation work. This skill supports the working agent during tasks that
involve observability foundations. It does not replace the
sentry-reviewer, which provides independent read-only assessment.
Use this skill when the working agent needs to:
@sentry/node initialisation@opentelemetry/apisentry-reviewersecurity-reviewermcp-reviewerThis skill follows the same authority hierarchy as the sentry-reviewer
(ADR-129):
@sentry/node,
getsentry/sentry-javascript, @opentelemetry/apistarter-app-spike — pattern source onlyDo not cargo-cult existing repo patterns or starter-app-spike. Always verify
against current official documentation first.
Default Oak runtime context:
apps/oak-curriculum-mcp-streamable-httpapps/oak-search-cliThe standalone stdio MCP workspace is deprecated and is not a target for new observability investment in this phase.
Before planning or implementation, consult live official documentation:
| Source | URL | Use for |
|--------|-----|---------|
| Sentry Node docs | https://docs.sentry.io/platforms/javascript/guides/node/ | Init, traces, logs, shutdown, integrations |
| Sentry MCP monitoring docs | https://docs.sentry.io/ai/monitoring/mcp/ | MCP Insights and capture policy |
| npm: @sentry/node | https://www.npmjs.com/package/@sentry/node | Package version and published surface |
| GitHub: getsentry/sentry-javascript | https://github.com/getsentry/sentry-javascript | Source and types |
| OpenTelemetry JS docs | https://opentelemetry.io/docs/languages/js/ | Manual spans and trace context |
| OTel logs data model | https://opentelemetry.io/docs/specs/otel/logs/data-model/ | Log record expectations |
| Document | Purpose |
|----------|---------|
| docs/architecture/architectural-decisions/051-opentelemetry-compliant-logging.md | Existing logging foundation |
| docs/architecture/architectural-decisions/078-dependency-injection-for-testability.md | DI rules for sinks and adapters |
| docs/architecture/architectural-decisions/128-stdio-workspace-retirement-and-http-transport-consolidation.md | Runtime scope boundary |
| docs/architecture/architectural-decisions/143-coherent-structured-fan-out-for-observability.md | Chosen architecture for this phase |
| .agent/plans/architecture-and-infrastructure/active/sentry-otel-integration.execution.plan.md | Current implementation plan |
| Document | Load when |
|----------|-----------|
| .agent/plans/architecture-and-infrastructure/future/observability-and-quality-metrics.plan.md | Milestone/gate planning |
| .agent/plans/agentic-engineering-enhancements/current/sentry-specialist-capability.plan.md | Capability/discoverability work |
| docs/agent-guidance/archive/sentry-guidance.md | Historical patterns |
| docs/governance/safety-and-security.md | Privacy/redaction work |
| .agent/plans/user-experience/public-alpha-experience-contract.md | Public-alpha blocker alignment |
Identify which observability area is involved:
Fetch the current official Sentry and OpenTelemetry docs for the specific area. Do not rely on cached knowledge.
Apply Oak ADRs:
Choose the simplest solution that remains strong over the long term. Long-term architectural excellence wins over expedient layering.
After implementation, invoke sentry-reviewer plus the standard reviewers that
match the change profile.
SENTRY_MODE=sentry fail open on invalid DSN or invalid sampling
config.starter-app-spike as authority.tools
When and how to use git worktrees for isolated work.
documentation
TSDoc and documentation workflow for canonical source comments, README updates, and ADR touchpoints.
development
Structured debugging workflow: reproduce, isolate, hypothesise, verify, fix, regression test.
data-ai
Load the shared thorough start-right workflow from `.agent/skills/start-right-thorough/shared/start-right-thorough.md`.