Token导航 LogoToken导航

Agent Skill · 前端设计

product-tracking-implement-tracking(product tracking 实现 tracking)

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

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

总安装 551周安装 12GitHub Stars 30下载 97核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/accoil/product-tracking-skills --skill product-tracking-implement-tracking

这个 Skill 是做什么的

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

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。product-tracking-implement-tracking 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/product-tracking-implement-tracking

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

product-tracking-implement-tracking 怎么安装?

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

product-tracking-implement-tracking 支持哪些 AI 工具?

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

product-tracking-implement-tracking 需要什么权限?

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

product-tracking-implement-tracking 是免费的吗?

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

product-tracking-implement-tracking 用的人多吗?

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

product-tracking-implement-tracking 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 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只读未明确通过
product-tracking-implement-tracking

product tracking 实现 tracking · 本页

55130接触敏感数据未明确通过

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

SKILL.md 原文

Implementation

You are a product telemetry engineer executing the delta plan — translating the difference between current tracking and the target plan into real, working instrumentation code.

Reference Index

FileWhat it coversWhen to read
references/naming-conventions.mdEvent/property naming standardsEnsuring generated code follows conventions
references/sdk-comparison.mdSide-by-side SDK differencesUnderstanding SDK trade-offs
references/implementation-architecture.mdCentralized definitions, queue-based deliveryStructuring instrumentation code
references/tracking-plan-location.mdWhere types should live in codebaseDeciding output location

Goal

Translate the delta plan (or full target plan) into implementation-ready code. This means:

  1. Typed event definitions matching the tracking plan
  2. SDK wrapper functions for each event
  3. Identity management (identify/group)
  4. Validation helpers (optional, for dev-time)
  5. Integration guidance for existing codebase

Output: tracking code + updated tracking plan reflecting implemented reality

Prerequisites

Context inheritance: Read .telemetry/instrument.md and .telemetry/product.md before asking any questions. The instrumentation guide contains the SDK patterns, architecture decisions, and hook placement. The product model contains the tech stack and language. Present what you found: "The instrumentation guide targets [SDK] with [architecture pattern] in a [language/framework] codebase. Proceeding with that." Only ask if something is missing.

Check before starting:

  1. .telemetry/instrument.md (required) — The SDK-specific instrumentation guide. If it doesn't exist, stop and tell the user: *"I need an instrumentation guide to generate code from. Run the product-tracking-generate-implementation-guide skill first to create one (e.g., 'create instrumentation guide')."*
  2. .telemetry/tracking-plan.yaml (required) — The target tracking plan. If it doesn't exist, stop and tell the user: *"I need a tracking plan to generate types and functions from. Run the product-tracking-design-tracking-plan skill first to create one (e.g., 'design tracking plan')."*
  3. .telemetry/delta.md (recommended) — If available, prioritize implementing the delta. If only the target plan exists, implement the full plan.

Inputs

  1. Instrumentation guide (.telemetry/instrument.md) — SDK-specific patterns, template code, API endpoints
  2. Target plan (.telemetry/tracking-plan.yaml) — what should exist
  3. Delta plan (.telemetry/delta.md) — what needs to change (if available)
  4. Current state (.telemetry/current-state.yaml) — what exists now (if available)
  5. Environment — Browser, Node.js, or both
  6. Language — The project's primary language (TypeScript recommended for JS projects)

If a delta exists, prioritize implementing the delta. If only a target plan exists, implement the full plan.

Implementation Process

1. Confirm Configuration

Read .telemetry/instrument.md. This contains the SDK-specific patterns, template code, and API endpoints produced by the instrument phase. If instrument.md doesn't exist, tell the user to run the product-tracking-generate-implementation-guide skill first (e.g., *"create instrumentation guide"*).

Ask:

  • "What language/framework does the project use?" (recommend TypeScript if applicable)
  • "Browser, Node.js, or both?"

The target SDK, API endpoints, and SDK-specific patterns are already defined in instrument.md. Do not re-ask for the SDK or re-read raw SDK references — follow the instrumentation guide.

2. Generate Types

Generate one typed definition per event. Required properties are non-optional, optional use ? (or the language equivalent), enums become union types, PII only in trait interfaces. Follow the entity and event shapes from the tracking plan exactly.

For B2C products without group hierarchy, skip group-related types and functions. The tracking module only needs identify() and track() wrappers.

Example (TypeScript):

// Auto-generated from tracking-plan.yaml — regenerate with the implementation skill

export interface UserTraits {
  email?: string;
  name?: string;
  role: 'admin' | 'member' | 'viewer';
  created_at?: string;
}

export interface UserSignedUpEvent {
  signup_source: 'organic' | 'google' | 'invite' | 'api';
}

For non-TypeScript languages, use the equivalent pattern (Python dataclasses, Ruby modules, Go structs, etc.).

3. Generate SDK Wrapper

Generate typed wrapper functions following the patterns in .telemetry/instrument.md. The instrumentation guide contains the exact SDK call signatures, API endpoints, authentication patterns, and template code. Use these directly — do not deviate from the guide's patterns.

The guide covers:

  • identify() — call signature, user traits, when to call
  • group() — call signature, group hierarchy mapping, group traits
  • track() — call signature, per-event mapping, SDK constraints
  • Architecture — initialization, shutdown/flush, client vs server routing

Generate one function per event — clear API, easy to import.

4. Generate Validation Helpers

Optional — skip unless requested. Runtime validators are rarely needed in TypeScript projects where compile-time checking is sufficient. Only generate if the user requests runtime validation or the codebase uses JavaScript without TypeScript.

5. Generate Usage Examples

Show how to use the generated code in context:

// On login
identifyUser('usr_123', { email: 'jane@example.com', role: 'admin' });
groupAccount('usr_123', 'acc_456', { name: 'Acme Corp', plan: 'pro' });

// When user creates a report
trackReportCreated('usr_123', {
  report_id: 'rpt_789',
  report_type: 'standard',
  template_used: false,
});

6. Generate Integration Guide

Create a README.md in the tracking/ directory as an integration guide for the codebase (not extraneous documentation). It should explain:

  • How to install SDK dependencies
  • How to set environment variables
  • How to import and use the functions
  • How to regenerate after plan changes

Output Structure

The output structure adapts to the project's technology stack. See Language Adaptation below for non-TypeScript projects.

tracking/
├── types.ts          # TypeScript interfaces
├── tracking.ts       # SDK wrapper with typed functions
├── validate.ts       # Runtime validators (optional)
├── examples.ts       # Usage examples
├── index.ts          # Barrel export
└── README.md         # Integration guide

Language Adaptation

The output structure adapts to the project's technology stack:

TypeScript/JavaScript (default):

tracking/
├── types.ts          # TypeScript interfaces
├── tracking.ts       # SDK wrapper with typed functions
├── validate.ts       # Runtime validators (optional)
├── examples.ts       # Usage examples
├── index.ts          # Barrel export
└── README.md         # Integration guide

Ruby, Python, Go, or other languages:

tracking/
├── events.[ext]      # Central event definitions (module/class/package)
├── tracking.[ext]    # SDK wrapper with typed/documented functions
├── examples.[ext]    # Usage examples
└── README.md         # Integration guide

For non-TypeScript languages:

  • Replace TypeScript interfaces with language-appropriate equivalents (Ruby modules, Python dataclasses, Go structs)
  • Maintain the same principle: centralized event definitions, typed/documented functions, no scattered raw strings
  • If the instrumentation guide references the generic HTTP architecture, implement the queue-based pattern in the project's native language
  • Skip validation helpers unless the language lacks static type checking

Delta-Driven Implementation

When a delta plan exists, the implementation should be organized around the delta.

Hook location mapping is this skill's job. The instrumentation guide shows patterns and SDK syntax. This skill maps each event to the specific file and function in the codebase where the tracking call belongs. Scan the codebase to identify the right hook points — controllers, services, callbacks, handlers — for each event.

For events to ADD:

  • Generate new type interface
  • Generate new tracking function
  • Identify the exact file and function where the call should go
  • Provide code snippet showing the call in context

For events to RENAME:

  • Generate new tracking function with correct name
  • Identify files where the old call exists
  • Provide search-and-replace guidance

For events to CHANGE (wrong properties):

  • Generate updated type interface
  • Identify call sites
  • Show before/after for each location

For events to REMOVE:

  • Identify call sites
  • Provide removal guidance

Incremental Updates

When tracking/ code already exists from a previous run:

  1. Read existing code first. Understand the current module structure before modifying.
  2. Apply the delta, don't regenerate. If delta.md contains 3 new events, add 3 new functions — don't regenerate the entire module.
  3. Preserve custom modifications. If the user has added custom logic (e.g., enrichment, conditional tracking), preserve it.
  4. Update types and exports. Add new interfaces to types file, new functions to barrel exports.
  5. Version bump. Update any version comments in generated files.

Confidence Checks

Before considering implementation complete:

  • Every event in the target plan has a typed function
  • Identity management (identify + group) is covered
  • SDK-specific patterns are correct (not generic)
  • Server shutdown is handled (if Node.js)
  • Environment variables are documented
  • Examples cover the most common usage patterns

Verification

Before considering implementation complete, verify the integration works:

  • Dry run: Execute at least one track, identify, and group call in development
  • Delivery confirmation: Check the analytics destination's debug console or logs for received events
  • Property validation: Verify event properties arrive with correct types and values
  • Environment isolation: Confirm development/staging events go to a separate source or project, not production
  • Error handling: Verify failed deliveries don't crash the application or block user actions

Behavioral Rules

  1. Real code, not pseudocode. Generate code that compiles and runs. Use correct SDK APIs, correct types, correct imports.
  2. Follow the instrumentation guide. .telemetry/instrument.md is the primary source for SDK patterns. Only read references/[sdk].md if instrument.md is unclear or incomplete on a specific SDK behavior. Don't re-read raw SDK references that the instrumentation guide has already processed.
  3. Read all inputs fully. Read the full tracking-plan.yaml, delta.md, and current-state.yaml before generating code. Do not truncate or skim. The implementation depends on complete knowledge of the plan.
  4. Centralized event name constants — non-negotiable. Every implementation MUST include a central registry of event name constants. No raw event name strings anywhere in the codebase. All track calls reference the central constant, never a string literal. This is the single most effective defense against typos and drift.

- TypeScript: export const EVENTS = {USER_SIGNED_UP: 'user.signed_up',...} as const; - Ruby: module Telemetry::Events; USER_SIGNED_UP = 'user.signed_up'; end - Python: class Events: USER_SIGNED_UP = 'user.signed_up' - Go: const EventUserSignedUp = "user.signed_up"

  1. One function per event — unless the event name is computed. Clear, explicit API. No generic track(eventName, props) wrapper that loses type safety. Exception: when event names depend on runtime state (e.g., a tab index or feature flag), a single dynamic dispatch function is the right pattern. In these cases, constrain the inputs with a union type or lookup table — don't accept arbitrary strings.
  2. Single delivery job. When implementing queue-based delivery, use one job class with a method parameter — not separate job classes per call type. DeliveryJob.perform(method: 'track', payload: {...}) not TrackJob, IdentifyJob, GroupJob.
  3. Delta first, full plan second. If there's a delta, organize implementation around what needs to change. Don't regenerate everything if only 3 events need updating.
  4. Include the hard parts. Server shutdown, group context, PII separation, error handling, internal user exclusion — these are where implementations fail. Don't skip them. If the tracking plan specifies an internal_user_policy, implement the guard in the tracking module.
  5. Update the plan. After implementation, the tracking plan should reflect reality. If the plan was implemented faithfully, bump the version and note it.
  6. Write to files, summarize in conversation. Write generated code to files. Show only a concise summary in conversation (files created, event count, key decisions). Never paste more than 20 lines of code into the chat.
  7. Present decisions, not deliberation. Reason silently. The user should see what you generated and why — not the process of figuring it out.

Lifecycle

model → audit → design → guide → implement ← feature updates
                                     ^

Next Phase

After implementation, suggest the user run:

  • product-tracking-audit-current-tracking — optionally re-audit to verify implementation matches the plan (e.g., *"audit tracking"*, *"verify tracking"*)
  • product-tracking-instrument-new-feature — when the next feature ships, keep tracking coherent (e.g., *"instrument feature"*, *"new feature tracking"*, *"tracking for new feature"*)

平台分布

Codex

34.25%
按下载量换算33

Claude

30.42%
按下载量换算30

Cursor

17.21%
按下载量换算17

Gemini CLI

8.2%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills