Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dd-instrument-shipdog

БесплатноБез исполняемых скриптовНе проверен

Datadog Shipdog backend setup. Gets one service's traces and logs into Datadog, turns on Live Debugger (logpoints that capture variable values from running…

datadog-labsот datadog-labs★ 188 звёзд на GitHub

Об этом скилле

Datadog Shipdog backend setup

Shipdog gives a team traces, logs, and Live Debugger for their backend. This skill sets up one service for it. Today that means Python or Node.js in agentless mode: the tracer sends straight to Datadog with no Agent (Node.js, Python).

Live Debugger is the only Dynamic Instrumentation feature in scope. Its tracer switch is DD_DYNAMIC_INSTRUMENTATION_ENABLED (step 2); don't set up other Dynamic Instrumentation probes or suggest them in the report.

Rules

  • Read the entrypoint, manifests, and deploy files before editing.
  • Live Debugger isn't available on the US1-FED or US2-FED sites. If DD_SITE is ddog-gov.com or us2.ddog-gov.com, stop before editing anything: reply Not set up: Shipdog isn't available on <site>.
  • Never write the API key value into a committed file, and never print it.
  • One tracer init. If the project already loads ddtrace/dd-trace, keep that load and fix its version and settings, so the tracer's settings come from one place.
  • Add dependencies to the manifest the deploy installs from, not only the local environment. Keep node_modules/ and virtualenvs in .gitignore.
  • No unrelated edits: the user reviews the diff, and unrelated changes hide the setup. Suggest other products in the report instead, such as RUM (dd-instrument-rum) for the frontend.
  • Done means verified (step 4). If something blocks verification, report the blocker.
  • Requires the dd-git-tagging skill. If it isn't installed, stop before editing anything: reply Not set up: dd-instrument-shipdog needs the dd-git-tagging skill installed alongside it. Don't set Git metadata any other way.

0. Source code integration first

Live Debugger places logpoints by file and line, so Datadog must see the service's source. Source code integration has two halves: connecting the Git provider to Datadog (dd-github-onboarding for GitHub, now), and tagging the service's telemetry with the commit (dd-git-tagging, in step 2). For a GitHub repo, run dd-github-onboarding if it's available; it checks whether GitHub is already connected. Without it, or for another provider, tell the user to connect it under Integrations in Datadog and continue. Say in the report which happened.

1. Inspect

  • Runtime: requirements.txt/pyproject.toml/Pipfile → Python, read references/python.md. package.json with a server entrypoint → Node.js, read references/nodejs.md. Anything else (Java, Go, Ruby, .NET, PHP, Bun, Deno, browser code): say this skill covers only Python and Node.js, and stop. Several services: ask which one.
  • Launch commands: every place the service starts (scripts.start, Procfile, Dockerfile CMD, compose, Kubernetes, a gunicorn/uvicorn command). Each one gets the tracer.
  • Agent: decide this yourself; don't ask. Grep the project for DD_AGENT_HOST, DD_TRACE_AGENT_URL, DD_TRACE_AGENT_PORT, a datadog/agent image, or a Datadog Helm chart, and run curl -s -m 2 http://localhost:8126/info.
    • No Agent anywhere (the normal Shipdog case): go agentless.
    • Project config sends to an Agent: curl its /info at the configured host and port. If it answers and its endpoints include /v0.7/config and a /debugger/ path, keep the Agent: set everything in step 2 except DD_AGENTLESS_ENABLED, log submission, and DD_API_KEY (the Agent holds the key), then verify as usual. Missing logs here mean the Agent's log collection is off; report that as a follow-up. If the Agent doesn't answer or lacks those endpoints, Agent repair is out of scope: report what you found and stop.
    • An Agent answers locally but the project doesn't use it: a local Agent says nothing about where the service deploys. Go agentless and mention it in the report.
  • Logging library: Node.js winston/pino/bunyan or only console.log; Python logging/structlog, loguru, or only print.
  • Existing values of the variables in step 2. Reuse them.
  • MCP tools: if discover_datadog_logpoint isn't in your tool list, run the dd-coding-agent-mcp skill now with Shipdog's toolsets (below). If that skill isn't installed, or there's no local coding agent whose MCP config you can change, don't set up MCP yourself: finish the setup, verify with No MCP tools, and add a warning to the report's follow-ups (Warning: the dd-coding-agent-mcp skill is missing, so the Datadog MCP tools weren't connected. Install it from https://github.com/datadog-labs/agent-skills and rerun., or say no local coding agent could be configured). The user's reload and sign-in can happen while you edit; don't wait on them. If the tools still aren't there by step 4, verify with No MCP tools below and list the steps that skill reported as a follow-up. Missing tools n
Полный SKILL.md на GitHub

Установить dd-instrument-shipdog в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/nodejs.mdreferences/python.md

FAQ

Что делает скилл dd-instrument-shipdog?

Datadog Shipdog backend setup. Gets one service's traces and logs into Datadog, turns on Live Debugger (logpoints that capture variable values from running code), and proves it with a real logpoint. Supports Python and Node.js today, sending straight to Datadog with no Agent (agentless mode) or through an existing working Agent. Use when the user wants to add logpoints to their app, see variable values from a running or production service without print statements or redeploys, set up or fix Live Debugger ("service isn't available", logpoints never capture), send traces and logs to Datadog without an Agent, or set up or onboard to Shipdog. Not for installing the Datadog Agent on hosts, frontend RUM, or adding log statements to code.

Как установить скилл dd-instrument-shipdog?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dd-instrument-shipdog запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dd-instrument-shipdog с