Token导航 LogoToken导航

Agent Skill · 前端设计

tracekit-alerts(跟踪工具警报)

tracekit-alerts 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

tracekit-alerts 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 9,692。

总安装 196周安装 8GitHub Stars 1下载 63核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tracekit-alerts(跟踪工具警报)
来源仓库:https://github.com/tracekit-dev/tracekit-for-ai
仓库路径:skills/tracekit-alerts
安装命令:
npx skills add https://github.com/tracekit-dev/tracekit-for-ai --skill tracekit-alerts
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tracekit-dev/tracekit-for-ai --skill tracekit-alerts

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。适合围绕代码变更或协作事项进行整理时使用。可结合来源仓库和原始 README 继续核验具体用法。

安装命令:npx skills add https://github.com/tracekit-dev/tracekit-for-ai --skill tracekit-alerts 建议确认权限范围和是否执行命令后再使用

来源仓库内路径:skills/tracekit-alerts

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/tracekit-dev/tracekit-for-ai --skill tracekit-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tracekit-alerts 怎么安装?

在终端执行 npx skills add https://github.com/tracekit-dev/tracekit-for-ai --skill tracekit-alerts。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tracekit-alerts 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tracekit-alerts 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

tracekit-alerts 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

tracekit-alerts 用的人多吗?

公开数据是累计安装 196 次,近一周安装 8 次,下载 63 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tracekit-alerts 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
tracekit-alerts

跟踪工具警报 · 本页

1961接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

TraceKit Alerts

Auth Bootstrap

Do not tell the user to go sign up, log in separately, or manually create an API key before setup. First check for existing TraceKit auth. If ~/.tracekitconfig does not contain the production profile or TRACEKIT_API_KEY is missing, apply the tracekit-auth skill first. Use ./scripts/run-tracekit-auth.sh status to check, then guide the user through the TraceKit email verification flow with register and verify. That flow signs the user into an existing account for that email or creates the account automatically, then saves the returned credentials for the rest of the setup.

When To Use

Use this skill when the user asks to:

  • Set up alerts or notifications in TraceKit
  • Get notified on errors or error spikes
  • Monitor latency or performance degradation
  • Detect error spikes automatically
  • Set up uptime monitoring
  • Configure Slack notifications for errors
  • Create alerting rules via API or the dashboard
  • Manage alert fatigue or notification routing

Non-Negotiable Rules

  1. Never hardcode API keys or webhook URLs in code or config files. Use TRACEKIT_AUTH_TOKEN env var for API access.
  2. Always include a test notification step after setting up a channel to verify delivery.
  3. Always recommend starting with the starter kit before customizing - it provides sensible defaults for the most common scenarios.

Prerequisites

  • Any TraceKit SDK (backend or frontend) must be installed and sending data to the dashboard.
  • For Slack integration: Slack workspace admin access (or permission to approve the TraceKit app).
  • If no SDK is set up yet, complete the appropriate SDK skill first (see tracekit-apm-setup skill).

Detection

Before applying this skill, check the project:

  1. Check for any TraceKit SDK in the project - scan package.json, go.mod, requirements.txt, composer.json, pom.xml, .csproj, or Gemfile.
  2. If no SDK detected, redirect to the tracekit-apm-setup skill to install an SDK first. Alerts need data flowing into TraceKit before they can trigger.
  3. Alerts are SDK-agnostic - no SDK-specific configuration needed. Alerts operate on data already in the dashboard.

Step 1: Set Up Notification Channel (Dashboard)

Start with Slack (the most common integration), then optionally add other channels.

Slack Channel Setup

  1. Navigate to https://app.tracekit.dev/settings/channels.
  2. Click Add Channel > Slack.
  3. Click Add to Slack - this opens the Slack OAuth flow.
  4. Authorize the TraceKit app in your Slack workspace.
  5. Select the target channel (e.g., #engineering-alerts).
  6. Click Send Test Notification to verify the connection.
  7. Confirm the test message appears in your Slack channel.

Other Notification Channels

TraceKit supports additional channels - set them up the same way via Settings > Channels:

  • Email: Enter one or more email addresses. No external app approval needed.
  • Webhook: Provide a URL that accepts POST requests with JSON payload. Useful for custom integrations (e.g., Zapier, internal tools).
  • PagerDuty: Enter your PagerDuty integration key. Alerts create PagerDuty incidents with appropriate severity.

For most teams, start with Slack and add others as needed.

Step 2: Starter Kit - Recommended Alerts

Create these 4 alerts to cover the most common monitoring scenarios. Each alert has been tuned for sensible defaults that avoid alert fatigue while catching real issues.

Alert 1: Error Spike

Detects sudden increases in error volume compared to the rolling baseline.

SettingValue
NameError Spike
MetricError count
ConditionExceeds 5x rolling average
Time window5 minutes
ChannelSlack #engineering-alerts
SeverityCritical

How to create:

  1. Navigate to https://app.tracekit.dev/alerts/rules.
  2. Click Create Rule.
  3. Select metric: Error count.
  4. Set condition: Exceeds 5x baseline with a 5-minute window.
  5. Select channel: your Slack channel.
  6. Set severity: Critical.
  7. Save and activate.

Alert 2: P95 Latency

Catches performance degradation before it impacts most users.

SettingValue
NameP95 Latency
MetricTransaction P95 response time
ConditionExceeds 2000ms
Time window10 minutes
ChannelSlack #engineering-alerts
SeverityWarning

How to create:

  1. Navigate to https://app.tracekit.dev/alerts/rules.
  2. Click Create Rule.
  3. Select metric: Transaction P95.
  4. Set condition: Threshold > 2000ms with a 10-minute window.
  5. Select channel: your Slack channel.
  6. Set severity: Warning.
  7. Save and activate.

Alert 3: Uptime Drop

Detects availability drops by monitoring successful request rate.

SettingValue
NameUptime Drop
MetricSuccessful request rate
ConditionFalls below 99.5%
Time window15 minutes
ChannelSlack + Email (critical)
SeverityCritical

How to create:

  1. Navigate to https://app.tracekit.dev/alerts/rules.
  2. Click Create Rule.
  3. Select metric: Successful request rate (%).
  4. Set condition: Below 99.5% with a 15-minute window.
  5. Select channels: both your Slack channel and an email address.
  6. Set severity: Critical.
  7. Save and activate.

Alert 4: New Error Type

Catches new bugs immediately by alerting on error messages never seen before.

SettingValue
NameNew Error Type
MetricFirst occurrence
ConditionError message not previously seen
Time windowImmediate
ChannelSlack #engineering-alerts
SeverityWarning

How to create:

  1. Navigate to https://app.tracekit.dev/alerts/rules.
  2. Click Create Rule.
  3. Select type: First occurrence of new issue.
  4. Select channel: your Slack channel.
  5. Set severity: Warning.
  6. Save and activate.

Step 3: Create Custom Alerts (Dashboard Walkthrough)

Beyond the starter kit, create custom alerts for your specific needs:

  1. Navigate to https://app.tracekit.dev/alerts/rules.
  2. Click Create Rule.
  3. Select metric type:

- Error count - total errors in a time window - Transaction P95/P99 - latency percentiles - Throughput - requests per minute - Successful request rate - availability percentage - Custom metric - any metric you send via the SDK

  1. Set conditions:

- Threshold (absolute value, e.g., > 100 errors) - Relative (compared to baseline, e.g., > 3x average) - Window (1 minute to 24 hours)

  1. Select notification channels - one or more channels can be assigned.
  2. Set severity:

- Critical - immediate action required - Warning - investigate soon - Info - informational, no action needed

  1. Save and activate the rule.

You can also set a resolve notification - TraceKit will send a follow-up message when the metric returns to normal. This reduces the need to manually check if an issue has recovered.

Step 4: Programmatic Alerts (Dashboard and API)

For teams that manage infrastructure as code, create and manage alerts programmatically.

Dashboard

The recommended way to manage alerts is through the TraceKit dashboard at https://app.tracekit.dev/alerts. The dashboard provides a full UI for creating, editing, listing, and deleting alert rules.

Note: The TraceKit CLI (tracekit) supports webhook create/list/delete commands for managing webhook channels, but does not have alerts subcommands. Use the dashboard or the REST API below to manage alert rules programmatically.

API

Create an alert rule via the REST API:

curl -X POST https://app.tracekit.dev/api/v1/alerts \
  -H "Authorization: Bearer $TRACEKIT_AUTH_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Error Spike",
    "metric": "error_count",
    "threshold": {
      "type": "relative",
      "value": 5,
      "window": "5m"
    },
    "channels": ["slack:engineering-alerts"],
    "severity": "critical"
  }'

List all alert rules:

curl https://app.tracekit.dev/api/v1/alerts \
  -H "Authorization: Bearer $TRACEKIT_AUTH_TOKEN"

Update an alert rule:

curl -X PATCH https://app.tracekit.dev/api/v1/alerts/alert_abc123 \
  -H "Authorization: Bearer $TRACEKIT_AUTH_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "threshold": {
      "type": "relative",
      "value": 10,
      "window": "10m"
    }
  }'

Auth token scope: The token must have alerts:write scope for creating and modifying alerts. Get your token from Dashboard > Settings > Auth Tokens.

Step 5: Verification

After setting up the starter kit alerts, verify they work:

  1. Create all 4 starter kit alerts using the dashboard walkthrough above.
  2. Trigger a test error in your application - call an endpoint that throws an exception, or use the SDK's captureException method.
  3. Wait 1-2 minutes for the error spike alert to evaluate the time window.
  4. Check your Slack channel for the alert notification.
  5. Click the notification link - it should take you directly to the error in the TraceKit dashboard.
  6. Verify the alert details show the correct metric, threshold, and severity.

If the alert does not fire, see Troubleshooting below.

Troubleshooting

Alert not firing

  • Check alert is active: Navigate to Alerts > Rules and verify the alert status is "Active" (not "Disabled" or "Muted").
  • Check threshold is realistic: For testing, temporarily lower the threshold (e.g., error count > 1 instead of > 5x baseline). Your test environment may not have enough baseline data for relative thresholds.
  • Check time window: A 15-minute window means the condition must persist for 15 minutes before firing. Use a shorter window (1-5 minutes) for testing.

Slack not receiving notifications

  • Verify channel connection: Go to Settings > Channels and check the Slack channel shows a green "Connected" status.
  • Send a test notification: Click "Test" next to the channel. If the test fails, re-authorize the TraceKit app in Slack.
  • Check Slack permissions: The TraceKit app must have permission to post to the selected channel. Try a public channel first.

Too many alerts (alert fatigue)

  • Increase thresholds: Error spike at 5x baseline may be too sensitive for noisy services. Try 10x.
  • Widen time windows: A 5-minute window fires more frequently than a 15-minute window.
  • Use resolve notifications: Enable "Send resolved" so you know when issues clear without manually checking.
  • Consolidate channels: Route critical alerts to Slack and info alerts to email to reduce Slack noise.
  • Mute during deploys: Use the API to temporarily mute alerts during deployment windows.

API authentication error

  • Check auth token: Ensure TRACEKIT_AUTH_TOKEN is set and the token has alerts:write scope.
  • Check token expiry: Auth tokens expire after 90 days by default. Create a new token if expired.
  • Check endpoint URL: The API base URL is https://app.tracekit.dev/api/v1/ - ensure no trailing slash issues.

Next Steps

Once alerting is configured, consider:

  • Distributed Tracing - See full trace context in alert details to understand cross-service failures (see tracekit-distributed-tracing skill)
  • Code Monitoring - Set live breakpoints when alerts fire to capture production state without redeploying (see tracekit-code-monitoring skill)
  • Releases - Track crash-free rates per release and alert on regressions (see tracekit-releases skill)

References

  • Alert rules docs: https://app.tracekit.dev/docs/alerts
  • Notification channels docs: https://app.tracekit.dev/docs/channels
  • CLI reference: https://app.tracekit.dev/docs/cli
  • Dashboard: https://app.tracekit.dev

平台分布

Codex

35.37%
按下载量换算22

Claude

30.25%
按下载量换算19

Cursor

19.57%
按下载量换算12

Gemini CLI

11.04%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills