integration-test
Run a live-instance verification of traceway-cli that goes beyond the Go smoke suite — exercises real-data detail endpoints,…
Analyze and instrument repositories for Traceway observability. Use when the user wants to plan, add, migrate, or verify Traceway or OpenTelemetry monitoring for backend, browser, full-stack, mobile or iOS, or AI-agent software, including project topology and user-approved
Claude Code
$ npx -y skills add tracewayapp/traceway --skill traceway-setup --agent claude-code
Codex
$ npx skills add tracewayapp/traceway --skill traceway-setup -a codex -y
Cursor
$ npx skills add tracewayapp/traceway --skill traceway-setup -a cursor -y
Gemini CLI
$ npx skills add tracewayapp/traceway --skill traceway-setup -a gemini-cli -y
GitHub Copilot
$ npx skills add tracewayapp/traceway --skill traceway-setup -a github-copilot -y
OpenCode
$ npx skills add tracewayapp/traceway --skill traceway-setup -a opencode -y
Windsurf
$ npx skills add tracewayapp/traceway --skill traceway-setup -a windsurf -y
name: traceway-setup description: Analyze and instrument repositories for Traceway observability. Use when the user wants to plan, add, migrate, or verify Traceway or OpenTelemetry monitoring for backend, browser, full-stack, mobile or iOS, or AI-agent software, including project topology and user-approved setup-plan creation. Also runs on one part of a codebase when the request names it, e.g. `/traceway-setup track ai use` (find the LLM calls and instrument them with the OpenTelemetry GenAI conventions), background jobs, logs, metrics, the browser app, or a single directory. Also use it to embed a Traceway dashboard in the user's own application. Backends use OTLP/HTTP; browser and mobile clients use separate Traceway SDK projects. Accept a project token and instance URL or an organization setup token (`tws_...`) and URL; with no token, analyze first and guide setup-token acquisition. Treat any `tws_` token as a setup token.
Analyze the application first, agree on its Traceway project structure with the user, help them create that structure in the dashboard, and only then integrate and verify it.
| Invocation carries | Path | |---|---| | A project ingest token + url | Fast Path for a single component, otherwise Steps 1-2, then integrate against the existing project | | A setup token (`tws_`) + url | Steps 1-2, then Step 3 from "Write the plan file" (3b) | | No token | Steps 1-2, then Step 3 from the top | | Words naming one part of the codebase (`track ai use`, `instrument the background jobs`, `only apps/worker`), with or without a token | "Scoped Runs" below; the token rows above still decide how the credential is obtained |
**Every backend integrates with OpenTelemetry.** There is one backend path, not one per language or web framework: Go, Node, Python, PHP, Java, .NET, Ruby, and everything else export OTLP/HTTP to `<instance>/api/otel/*`. The Traceway project is created with framework **OpenTelemetry**, which is the only backend option in the dashboard's framework picker. The native Traceway Go SDK is a deliberate exception used only when the user explicitly asks for it.
When all of the following hold, skip Steps 2 and 3 and go straight to the integration steps:
Still run Step 1, because it decides *how* to instrument. Collapse "Propose and Confirm the Project Map" to a single confirmation line ("This is a Go API; it reports to your existing `<name>` project over OpenTelemetry") and skip the project-creation step entirely. The full map-and-creation ceremony exists for repositories with more than one deployable component, or where no project exists yet. Do not make a user who handed you a token sit through a project-map review for a single service.
The skill also runs on one part of a codebase. A request that names a part, instead of asking for the whole setup, is a scoped run: `/traceway-setup track ai use`, "instrument the background jobs", "add Traceway to `apps/worker` only", "check that the setup works". The words after the skill name, or the request that loaded the skill, carry the scope. A part is an **area** (one kind of telemetry) or a **path** (a directory, package or named component), and the two combine: "track AI use in `services/assistant`".
| The request names | Typical wording | Do | |---|---|---| | **AI / LLM usage** | integrate, instrument, track or monitor: AI use, LLM or model calls, tokens, cost, prompts, agents, a chatbot | Follow [ai-usage.md](ai-usage.md) from top to bottom. It carries its own analysis (its Steps A and B are rule 1 below for this scope), instrumentation and verification; read a step of this file only when it sends you here. | | **Background work** | tasks, jobs, cron, queues, workers, schedulers, CLI commands | Step 1 items 1, 3 and 5, then Step 5, then the task check of Step 9 | | **Endpoints** | routes, endpoint grouping, request tracing | Step 1 items 1-4, then Step 4 through "Verify endpoint grouping" | | **Errors**, **logs** or **metrics** | exceptions, issues; log shipping; custom or business metrics | Step 1 items 1 and 3, then "Errors", "Logs" or "Metrics" in Step 4, then the matching check of Step 9 | | **Browser app** | frontend, RUM, web vitals, session replay, source maps | Step 1 items 1, 3, 4 and 7, then the browser part of Step 7 with [rum.md](rum.md), then check 2 of Step 9 | | **Mobile app** | Flutter, React Native, Android, iOS, crashes, symbols | Step 1 items 1, 3 and 8, then the mobile part of Step 7, then
Run a live-instance verification of traceway-cli that goes beyond the Go smoke suite — exercises real-data detail endpoints,…
Configure Traceway alerting, SLOs, on-call routing, personal notifications, dashboards and browser collection, or perform…
The full guide to Traceway, the observability platform. Explains every part of the product and how it is meant to be used: issues…
Operate a Traceway observability instance through the traceway CLI: log in, query exceptions, logs, endpoints, and metrics,…
Kubeshark installation and deployment skill. Use this skill whenever the user wants to install Kubeshark, deploy Kubeshark to a…
Call the user on the phone for real-time voice conversations. Use this when you need input, want to report on completed work, or…