Nextjs Deployment
giuseppe-trisciuoglio/developer-kit
Provides comprehensive patterns for deploying Next.js applications to production.
Best-practices reference for preparing and instrumenting applications on Temps.
$ npx skills add gotempsh/temps --skill temps-best-practices -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install gotempsh/temps temps-best-practices --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/gotempsh/temps.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/temps-best-practices .claude/skills/temps-best-practices && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "temps-best-practices" agent skill from https://github.com/gotempsh/temps/tree/main/skills/temps-best-practices into .claude/skills/temps-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "temps-best-practices", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/gotempsh/temps/tree/main/skills/temps-best-practicesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add gotempsh/temps --skill temps-best-practices -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install gotempsh/temps temps-best-practices --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gotempsh/temps.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/temps-best-practices .agents/skills/temps-best-practices && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "temps-best-practices" agent skill from https://github.com/gotempsh/temps/tree/main/skills/temps-best-practices into .agents/skills/temps-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "temps-best-practices", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gotempsh/temps --skill temps-best-practices -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install gotempsh/temps temps-best-practices --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gotempsh/temps.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/temps-best-practices .cursor/skills/temps-best-practices && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "temps-best-practices" agent skill from https://github.com/gotempsh/temps/tree/main/skills/temps-best-practices into .cursor/skills/temps-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "temps-best-practices", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/gotempsh/temps.git --path skills/temps-best-practices--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add gotempsh/temps --skill temps-best-practices -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install gotempsh/temps temps-best-practices --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gotempsh/temps.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/temps-best-practices .gemini/skills/temps-best-practices && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "temps-best-practices" agent skill from https://github.com/gotempsh/temps/tree/main/skills/temps-best-practices into .gemini/skills/temps-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "temps-best-practices", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install gotempsh/temps temps-best-practicesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add gotempsh/temps --skill temps-best-practices -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/gotempsh/temps.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/temps-best-practices .github/skills/temps-best-practices && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "temps-best-practices" agent skill from https://github.com/gotempsh/temps/tree/main/skills/temps-best-practices into .github/skills/temps-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "temps-best-practices", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gotempsh/temps --skill temps-best-practices -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install gotempsh/temps temps-best-practices --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gotempsh/temps.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/temps-best-practices .opencode/skills/temps-best-practices && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "temps-best-practices" agent skill from https://github.com/gotempsh/temps/tree/main/skills/temps-best-practices into .opencode/skills/temps-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "temps-best-practices", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
temps-best-practicesBest-practices reference for preparing and instrumenting applications on Temps.
Temps Best Practices is an agent skill from gotempsh/temps. Best-practices reference for preparing and instrumenting applications on Temps. Covers the app runtime contract (.temps.yaml health, HOST/PORT, readiness, SIGTERM, replicas, migrations) and production observability (errors, traces, metrics, logs, analytics, privacy, sampling, cardinality, credential boundaries). Use whenever building or reviewing an app for Temps, configuring health checks, adding telemetry, diagnosing missing/noisy signals, or checking OTLP/Sentry/analytics ingestion. Triggers include "temps…
Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including reference files (for example `evals/evals.json`, `references/analytics.md` and `references/error-tracking.md`).
It sits in DevOps & Cloud, covering Observability and Deployment. It works with OpenTelemetry, Sentry, Docker and PostHog. The repository describes itself as: AI-native open-source alternative to Vercel + Sentry + PostHog + Pingdom + Resend + E2B. 440+ CLI operations with drop-in skills for Claude Code, Codex & OpenCode — deployments… The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 5a3994f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bunxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use bunx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
TEMPS_API_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Temps Best Practices loads about 2.9k tokens when it runs, and up to ~17k if it reads all its reference files. Until then it costs about 214 tokens; SKILL.md has 1,269 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from gotempsh/temps at commit 5a3994f, republished under its Apache-2.0 licence (© gotempsh). 1,269 words, ~2,860 tokens.
.claude/skills/temps-best-practices/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.Best practices for application code that runs on Temps. This skill owns the runtime contract and production observability; use temps-cli for platform operations.
.temps.yaml; for image/static deployments, inspect the deployment health-path override because no repository config is available.Every web application should expose a dedicated health endpoint. Repository builds configure it in .temps.yaml under the project's effective Temps Root Directory / Docker build context:
health:
path: /healthzUse health.path; do not rely on the currently parsed-but-unapplied status, interval, timeout, or retries fields. If OpenTelemetry server tracing is enabled, exclude the exact health path from incoming spans and routine access-log/request-metric noise. Keep the route, .temps.yaml, and filters synchronized.
Image and static deployments cannot read .temps.yaml; set the same route through their deployment health_check_path / CLI --health-check-path override instead.
Also require the app to read PORT, bind to HOST/0.0.0.0, align a custom image's EXPOSE, handle SIGTERM, flush telemetry, and exit inside Temps' 10-second shutdown window. See the runtime reference for readiness semantics, scale-to-zero caveats, replicas, migrations, stdout/stderr, and cron authentication.
Temps replaces Sentry + Datadog/Honeycomb + PostHog with one ingestion surface. This section is the map across all five pillars — use it to decide which pillar a signal belongs in, and to find the concrete endpoint/auth/gotcha details for each. It complements, not replaces, the narrower setup skills:
@temps-sdk/react-analytics hook usageGoal: an app in any language gets runtime health, error tracking, and traces working safely.
Temps auto-injects exporter destinations and credentials; it does not install or initialize an SDK. Apps deployed through Temps receive these variables at Docker build time and container runtime, but application instrumentation still has to be installed, initialized, filtered, and verified:
| Env var | What it's for | Client-safe? |
|---|---|---|
SENTRY_DSN | Server-side/generic error-tracking DSN | Server by default |
NEXT_PUBLIC_SENTRY_DSN / NUXT_PUBLIC_SENTRY_DSN / VITE_SENTRY_DSN / PUBLIC_SENTRY_DSN / REACT_APP_SENTRY_DSN | Framework-specific public Sentry write key | Yes |
SENTRY_RELEASE | Commit SHA; leave release unset in Sentry.init() so the SDK reads it | Server/build metadata |
OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_PROTOCOL | OTLP destination and http/protobuf protocol | Endpoint is non-secret |
OTEL_EXPORTER_OTLP_HEADERS | Deployment-token authorization for OTLP | No — server only |
OTEL_SERVICE_NAME, OTEL_SERVICE_VERSION | Stable service and release metadata | Non-secret |
Build-time availability does not make a server credential browser-safe. Never expose OTEL_EXPORTER_OTLP_HEADERS, TEMPS_API_TOKEN, dt_, or tk_ through a public-prefixed variable or client bundle. Browser/mobile OTLP must use an authenticated backend or collector; see references/telemetry-hygiene.md.
This auto-injection is scoped to apps deployed through Temps. It does not apply to: an app running elsewhere and only sending telemetry to a self-hosted Temps instance, or to Temps' own console/dashboard (which is built by its own CI, not through this deploy pipeline — self-referential, since Temps doesn't deploy itself as a project on itself). For those cases, get the real credential from the dashboard and wire it through whatever env var / build-arg / secrets mechanism that project's own build system already uses:
https://<public_key>@<temps-host>/<project_id>)dt_...) or API key (tk_...) for OTLP: Project Settings → API KeysNever hardcode a token or endpoint into source, a Dockerfile, or CI config. Do not ask the user for a token so it can be committed. A Sentry DSN public key is designed for client writes, but should still come from the platform's supported configuration path.
Either way, the app-side steps are the same:
| Pillar | What it's for | Reference |
|---|---|---|
| Error tracking | Uncaught exceptions, handled errors, stack traces, source maps | references/error-tracking.md |
| Traces (OTLP) | Distributed request spans, AI/gen_ai call chains, latency breakdowns | references/opentelemetry-traces.md |
| Metrics (OTLP) | Counters/gauges/histograms — request rates, queue depth, custom business metrics | references/metrics.md |
| Logs (OTLP) | Structured log records correlated to traces | references/logs.md |
| Analytics | Page views, custom product events, session replay, Web Vitals | references/analytics.md |
Read the specific reference file(s) for the pillar(s) in play — don't load all five unless doing a full-stack instrumentation pass.
Cross-pillar production rules live in references/telemetry-hygiene.md, not duplicated in every pillar.
trace_id/span_id attributes set, so they join with the trace in the dashboard.Temps OTLP ingestion shares a rate-limit/quota model, but token support differs by signal:
tk_ API key: server-side; needs X-Temps-Project-Id.dt_ deployment token: server-side and project/environment scoped. Prefer the header-based endpoint so Temps resolves attribution from the token. Do not expose it to a browser.si_ integration token: supported for infrastructure metrics ingestion, not general traces/logs.Authorization: Bearer <token> or X-Temps-Api-Key: <token>. Some OTLP exporters URL-encode the header as Bearer%20<token> — Temps accepts that too.TEMPS_OTEL_RATE_LIMIT, TEMPS_OTEL_RATE_LIMIT_WINDOW_SECS — server-side config, not something the app sets).TEMPS_OTEL_QUOTA_GB. If ingestion suddenly starts 413'ing, that's the likely cause.POST /api/otel/v1/{traces|metrics|logs} with attribution resolved from the token. Path-based endpoints exist, but should not be used to override a deployment token's intended deployment attribution..temps.yaml for repository builds or the deployment override for image/static deploys; SIGTERM drains and exits within 10 seconds.duration_ms.dt_, tk_, TEMPS_API_TOKEN, or OTLP authorization header.If a signal never appears, check whether the SDK was actually initialized, then endpoint/protocol, token type/header, rate limit, and quota.
Beyond the runtime health contract and observability guidance above, deployment, service/database provisioning, environment variables, domains, monitoring config, backups, and CI/CD automation are all reached through the Temps CLI (bunx @temps-sdk/cli). Use the temps-cli skill for those operations.
© gotempsh, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 8 other files (references) in skills/temps-best-practices of gotempsh/temps.
Open the folder on GitHubat commit 5a3994f
Temps Best Practices next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Temps Best Practices this skillgotempsh/temps | 828 | — | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| Nextjs Deploymentgiuseppe-trisciuoglio/developer-kit | 356 | — | ~2.3k | Automated safety check: Notes | MIT | |
| Aspiremicrosoft/aspire.dev | 196 | 4 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Aspire MonitoringCommunityToolkit/Aspire | 629 | — | ~3.5k | Automated safety check: Pass | MIT | |
| Deploy Observabilityaliyun/alibabacloud-observability-mcp-server | 166 | — | ~2.6k | Automated safety check: Notes | None | |
| Logfire Infrastructurepydantic/skills | 140 | — | ~1.8k | Automated safety check: Pass | MIT |
giuseppe-trisciuoglio/developer-kit
Provides comprehensive patterns for deploying Next.js applications to production.
microsoft/aspire.dev
Orchestrates Aspire distributed applications using the Aspire CLI for running, debugging, and managing distributed apps.
CommunityToolkit/Aspire
ANALYSIS SKILL - Observe Aspire apps: logs, traces, metrics, resource state, telemetry export, browser telemetry, and the standalone dashboard.
aliyun/alibabacloud-observability-mcp-server
Deploy, start, and update the Alibaba Cloud Observability MCP Server (阿里云可观测 MCP Server).
pydantic/skills
Monitor hosts, Docker containers, Kubernetes clusters, database/queue/cache servers, and cloud-provider metrics with Pydantic Logfire — no application code required.
PostHog/posthog
Investigates distributed application performance using PostHog APM (OpenTelemetry span) data via MCP.
gotempsh/temps
Manage, deploy, operate, and instrument applications with Temps.
gotempsh/temps
Add Temps analytics to React applications with comprehensive tracking capabilities including page views, custom events, scroll tracking, engagement monitoring, session recording, and Web Vitals…
gotempsh/temps
Operate Temps through the pinned @temps-sdk/cli package with bunx or npx.
gotempsh/temps
Design, build, test, and distribute external Temps plugins with TypeScript/Bun; provide development and local-testing guidance for existing Rust plugins.
gotempsh/temps
Add a custom domain to a Temps project and provision an automatic SSL/TLS certificate via Let's Encrypt, driven entirely from the @temps-sdk/cli CLI.
gotempsh/temps
Add Temps error tracking to applications using the Sentry-compatible SDK.
Works with
Categories
Best-practices reference for preparing and instrumenting applications on Temps. Temps Best Practices is an agent skill from gotempsh/temps. Best-practices reference for preparing and instrumenting applications on Temps.
Temps Best Practices fits situations like: reviewing an app for Temps; configuring health checks; adding telemetry; diagnosing missing/noisy signals.
Run `npx skills add gotempsh/temps --skill temps-best-practices -a claude-code`. Or copy the skill folder (skills/temps-best-practices in gotempsh/temps) into .claude/skills/temps-best-practices in your project. Claude Code loads it when a task matches its description.
Run `npx skills add gotempsh/temps --skill temps-best-practices -a codex`. Or copy the skill folder (skills/temps-best-practices in gotempsh/temps) into .agents/skills/temps-best-practices in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gotempsh/temps --skill temps-best-practices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/temps-best-practices, .gemini/skills/temps-best-practices, .github/skills/temps-best-practices and .opencode/skills/temps-best-practices in your project.
Going by SKILL.md and its folder, Temps Best Practices needs the command-line tools its instructions call (bunx) and credentials named TEMPS_API_TOKEN. Our summary lists: Docker; A credential in TEMPS_API_TOKEN.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Temps Best Practices is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.9k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 14k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Temps Best Practices: Nextjs Deployment (giuseppe-trisciuoglio/developer-kit, 356 stars), Aspire (microsoft/aspire.dev, 196 stars), Aspire Monitoring (CommunityToolkit/Aspire, 629 stars) and Deploy Observability (aliyun/alibabacloud-observability-mcp-server, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
gotempsh (a GitHub organization) maintains it in gotempsh/temps, which has 828 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 9, 2026.
Source: gotempsh/temps on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.