[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CTEB9GHR14YG0Y7TD7BA29":3,"skill-same:01M6CTEB9GHR14YG0Y7TD7BA29":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":24,"linkOnly":25,"markdownContent":26,"markdownBody":27,"frontMatter":28,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M6CTEB9GHR14YG0Y7TD7BA29","instrumentation",null,"Defines analytics events and tracking plans for a feature. Use when adding product analytics or reviewing event naming.","vibbs\u002Fcompany-os","vibbs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7379149?v=4","01M6CT6M03CAS1H7RA89F3965B","Vibbs Dod","01M6CT6M4MY60C9FFQ3AAR2RSK",6,"MIT","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Fos\u002Fskills\u002Finstrumentation\u002FSKILL.md",[],[5,19,20,21,22,23],"analytics","product","tracking","product analytics","use","2026-11-10 10:12:30",false,"---\nname: instrumentation\ndescription: Defines analytics events and tracking plans for a feature. Use when adding product analytics or reviewing event naming.\nruntimes:\n  claude:\n    user-invocable: false\n---\n\n# Instrumentation\n\n## Reference\n- **ID**: S-ENG-08\n- **Category**: Engineering\n- **Inputs**: company.config.yaml (analytics section), PRDs (success metrics), existing codebase\n- **Outputs**: event taxonomy (standards\u002Fanalytics\u002F), tracker conventions (standards\u002Fanalytics\u002F), per-feature instrumentation plan\n- **Used by**: Engineering Agent\n- **Tool scripts**: .\u002Ftools\u002Fartifact\u002Fvalidate.sh\n\n## Purpose\n\nDefine analytics instrumentation standards so every feature ships with measurable events, consistent tracker IDs, and clear mappings from PRD success metrics to trackable data points. This skill produces the event taxonomy, tracker attribute conventions, and per-feature instrumentation plans that engineering uses during implementation.\n\n## When to Use\n\n- Setting up analytics for a new product or codebase\n- Building a new feature that has success metrics in its PRD\n- Auditing existing instrumentation for gaps or inconsistencies\n- Onboarding a new analytics provider\n\n## Instrumentation Procedure\n\n### Step 0: Provider Selection\n\nIf `analytics.provider` is empty or not configured in `company.config.yaml`, present a provider selection guide before generating the event taxonomy:\n\n| Provider | Best For | Free Tier | Self-Hosted |\n|----------|----------|-----------|-------------|\n| PostHog | Product analytics + session replay | 1M events\u002Fmonth | Yes |\n| Plausible | Privacy-first web analytics | None (paid) | Yes |\n| Mixpanel | Event-based product analytics | 20M events\u002Fmonth | No |\n| Segment | Data routing to multiple tools | 1K users\u002Fmonth | No |\n\nWalk the user through updating `company.config.yaml` before proceeding.\n\n### Step 1: Load Context\n\nBefore defining any events or conventions:\n\n1. **Read `company.config.yaml`** -- extract:\n   - `analytics.provider` (e.g., Mixpanel, Amplitude, PostHog, Segment)\n   - `analytics.event_prefix` (e.g., `app_`, `myproduct_`)\n   - `analytics.tracker_attribute` (e.g., `data-track-id`)\n   - `observability.error_tracking` (e.g., Sentry, Bugsnag)\n2. **Read existing PRDs** in `artifacts\u002Fprds\u002F` -- collect all success metrics across features\n3. **Check `standards\u002Fanalytics\u002F`** -- see if event taxonomy or tracker conventions already exist (update rather than overwrite)\n\n### Step 2: Generate Event Taxonomy\n\nProduce `standards\u002Fanalytics\u002Fevent-taxonomy.md` with the following structure:\n\n#### AARRR Pirate Metrics Framework Mapping\n\nEvery product event maps to one of five lifecycle stages:\n\n| Stage | Purpose | Example Events |\n|-------|---------|----------------|\n| **Acquisition** | How users find the product | `user.visited`, `user.signed_up`, `referral.clicked` |\n| **Activation** | First value moment | `feature.first_used`, `onboarding.completed`, `project.first_created` |\n| **Retention** | Users coming back | `session.started`, `feature.used_again`, `streak.maintained` |\n| **Revenue** | Monetization events | `subscription.started`, `plan.upgraded`, `payment.completed` |\n| **Referral** | Users inviting others | `invite.sent`, `referral.converted`, `share.clicked` |\n\n#### Event Naming Convention\n\nFormat: `\u003Cobject>.\u003Caction>`\n\n**Objects** (the entity being acted upon):\n- `user`, `session`, `feature`, `subscription`, `project`, `invite`, `page`, `error`\n\n**Actions** (past tense verbs describing what happened):\n- `created`, `completed`, `viewed`, `clicked`, `upgraded`, `failed`, `started`, `sent`, `converted`, `deleted`, `updated`, `exported`, `imported`\n\n**Examples**:\n- `user.signed_up`\n- `page.viewed`\n- `feature.activated`\n- `subscription.upgraded`\n- `project.created`\n- `error.occurred`\n\n#### Required Properties for Every Event\n\nEvery event MUST include these properties:\n\n| Property | Type | Description |\n|----------|------|-------------|\n| `timestamp` | string (ISO 8601) | When the event occurred |\n| `user_id` | string | Authenticated user identifier (omit if anonymous) |\n| `session_id` | string | Current session identifier |\n| `platform` | enum | `web` \u002F `ios` \u002F `android` |\n| `app_version` | string | Current application version |\n\nThe `event_prefix` from config is prepended to the event name when sent to the analytics provider (e.g., if prefix is `app_` and event is `user.signed_up`, the provider receives `app_user.signed_up`).\n\n#### Event Categories\n\n| Category | When to Use | Examples |\n|----------|-------------|----------|\n| `page_view` | User navigates to a page\u002Fscreen | `page.viewed` |\n| `user_action` | User performs an intentional action | `button.clicked`, `form.submitted` |\n| `system_event` | System-initiated events | `email.sent`, `job.completed` |\n| `business_event` | Revenue and conversion events | `subscription.started`, `payment.completed` |\n\n#### Anti-Patterns\n\n- **No PII in event properties**: Never include email, name, phone, IP address, or any personally identifiable information as event property values\n- **No high-cardinality values**: Never use full URLs, raw UUIDs, free-text input, or timestamps as property values (use categories, slugs, or enums instead)\n- **No deep nesting**: Event properties must not nest objects deeper than 2 levels\n- **No ambiguous names**: `clicked` alone is meaningless -- always pair with the object (`button.clicked`, `link.clicked`)\n- **No future tense**: Events record what happened, not what will happen (`user.signed_up`, not `user.signing_up`)\n\n### Step 3: Generate Tracker ID Conventions\n\nProduce `standards\u002Fanalytics\u002Ftracker-conventions.md` with the following structure:\n\n#### Analytics Tracking Attribute\n\n**Attribute**: Uses the value from `analytics.tracker_attribute` in config (default: `data-track-id`)\n\n**Format**: `data-track-id=\"\u003Cpage>-\u003Celement>-\u003Caction>\"`\n\n**Rules**:\n- Lowercase throughout\n- Hyphens (`-`) between segments (page, element, action)\n- Underscores (`_`) within segments for multi-word names\n- Every interactive element (button, link, form input, toggle, dropdown, checkbox) MUST have a tracker ID\n\n**Examples**:\n```\ndata-track-id=\"login-submit_btn-click\"\ndata-track-id=\"dashboard-export_btn-click\"\ndata-track-id=\"settings-theme_toggle-change\"\ndata-track-id=\"profile-avatar_input-upload\"\ndata-track-id=\"nav-pricing_link-click\"\ndata-track-id=\"onboarding-skip_btn-click\"\n```\n\n#### Error Tracking Attribute\n\n**Attribute**: `data-sentry-component=\"\u003CComponentName>\"`\n\n**Rules**:\n- PascalCase component name (matches React\u002FVue component naming)\n- Applied to every route-level or page-level component\n- Enables error tracking tools (Sentry, Bugsnag) to group errors by component\n\n**Examples**:\n```\ndata-sentry-component=\"LoginPage\"\ndata-sentry-component=\"DashboardView\"\ndata-sentry-component=\"SettingsPanel\"\ndata-sentry-component=\"CheckoutFlow\"\n```\n\n#### Guided Tour Targeting Attribute\n\n**Attribute**: `data-tour-step=\"\u003Ctour>-\u003Cstep>\"`\n\n**Rules**:\n- Lowercase with hyphens\n- `\u003Ctour>` is the tour name, `\u003Cstep>` is the step identifier\n- Applied to elements that guided tours need to highlight or anchor to\n\n**Examples**:\n```\ndata-tour-step=\"onboarding-welcome\"\ndata-tour-step=\"onboarding-create_project\"\ndata-tour-step=\"feature-intro-step3\"\ndata-tour-step=\"billing-upgrade_prompt\"\n```\n\n#### Framework Implementation Patterns\n\n**React \u002F Next.js**:\n```jsx\n\u003Cbutton\n  data-track-id=\"dashboard-export_btn-click\"\n  data-sentry-component=\"DashboardView\"\n  onClick={handleExport}\n>\n  Export\n\u003C\u002Fbutton>\n```\n\n**Vue**:\n```vue\n\u003Cbutton\n  :data-track-id=\"`dashboard-export_btn-click`\"\n  data-sentry-component=\"DashboardView\"\n  @click=\"handleExport\"\n>\n  Export\n\u003C\u002Fbutton>\n```\n\n**Plain HTML**:\n```html\n\u003Cbutton\n  data-track-id=\"dashboard-export_btn-click\"\n  data-sentry-component=\"DashboardView\"\n  onclick=\"handleExport()\"\n>\n  Export\n\u003C\u002Fbutton>\n```\n\n**Note**: The `analytics.tracker_attribute` value in `company.config.yaml` determines the primary attribute name. If the config specifies `data-analytics` instead of `data-track-id`, all examples above should use `data-analytics` as the attribute name.\n\n### Step 4: Per-Feature Instrumentation\n\nFor each feature being built:\n\n1. **Read PRD success metrics** -- extract every measurable goal\n2. **Map each metric to specific events** that prove or disprove it:\n   - Identify the event(s) needed to calculate the metric\n   - Define event names following the taxonomy\n   - Define event properties specific to the feature\n3. **List all new UI components that need tracker IDs**:\n   - Buttons, links, form fields, toggles, tabs, modals\n   - Apply the naming convention from Step 3\n4. **Define dashboard requirements**:\n   - What graphs to create (line chart for trends, bar chart for comparisons, funnel for conversion)\n   - What metrics to display (counts, rates, durations, percentages)\n   - What alerts to configure (thresholds, anomaly detection)\n\n**Example mapping**:\n\nSuccess metric from PRD: *\"80% of users complete onboarding within 5 minutes\"*\n\n| Event | Properties | Purpose |\n|-------|-----------|---------|\n| `onboarding.started` | `timestamp` | Marks the start of onboarding |\n| `onboarding.step_completed` | `step_number`, `step_name`, `timestamp` | Tracks progress through steps |\n| `onboarding.completed` | `duration_seconds`, `steps_completed` | Marks successful completion |\n| `onboarding.abandoned` | `last_step`, `duration_seconds` | Marks drop-off |\n\nDashboard: Funnel chart showing started -> step 1 -> step 2 -> ... -> completed. Alert if completion rate drops below 70%.\n\n### Step 5: Audit Existing Instrumentation\n\nGrep the codebase for existing tracker attributes and event calls:\n\n1. **Find existing tracker attributes**: Search for `data-track-id`, `data-sentry-component`, `data-tour-step` (and the configured `analytics.tracker_attribute` if different)\n2. **Find existing event calls**: Search for the analytics provider's track\u002Fsend function (e.g., `analytics.track(`, `mixpanel.track(`, `posthog.capture(`)\n3. **Identify gaps**:\n   - Interactive components missing tracker IDs\n   - Events defined in the taxonomy but not instrumented in code\n   - Events in code that do not follow the naming convention\n   - Inconsistent property names across similar events\n4. **Produce an audit summary** listing each gap with its file location and recommended fix\n\n### Step 6: Verify\n\nFinal verification checklist:\n\n- [ ] Every AARRR stage has at least 2-3 events defined\n- [ ] Event naming strictly follows `object.action` convention\n- [ ] Required properties (timestamp, user_id, session_id, platform, app_version) are documented for every event\n- [ ] Tracker ID convention is specific with format, rules, and examples\n- [ ] Anti-patterns are listed (no PII, no high-cardinality, no deep nesting)\n- [ ] Every PRD success metric maps to one or more trackable events\n- [ ] Dashboard requirements are specific (chart type, metric, alert threshold) -- not vague (\"track usage\")\n- [ ] Existing instrumentation has been audited for gaps\n\n## Quality Checklist\n\n- [ ] AARRR framework events defined for each stage\n- [ ] Event naming follows `object.action` convention\n- [ ] Required properties documented for every event\n- [ ] Tracker ID convention is specific with examples\n- [ ] Anti-patterns are listed (no PII, no high-cardinality)\n- [ ] Per-feature events map to PRD success metrics\n- [ ] Dashboard requirements are specific (not \"track usage\")\n","# Instrumentation\n\n## Reference\n- **ID**: S-ENG-08\n- **Category**: Engineering\n- **Inputs**: company.config.yaml (analytics section), PRDs (success metrics), existing codebase\n- **Outputs**: event taxonomy (standards\u002Fanalytics\u002F), tracker conventions (standards\u002Fanalytics\u002F), per-feature instrumentation plan\n- **Used by**: Engineering Agent\n- **Tool scripts**: .\u002Ftools\u002Fartifact\u002Fvalidate.sh\n\n## Purpose\n\nDefine analytics instrumentation standards so every feature ships with measurable events, consistent tracker IDs, and clear mappings from PRD success metrics to trackable data points. This skill produces the event taxonomy, tracker attribute conventions, and per-feature instrumentation plans that engineering uses during implementation.\n\n## When to Use\n\n- Setting up analytics for a new product or codebase\n- Building a new feature that has success metrics in its PRD\n- Auditing existing instrumentation for gaps or inconsistencies\n- Onboarding a new analytics provider\n\n## Instrumentation Procedure\n\n### Step 0: Provider Selection\n\nIf `analytics.provider` is empty or not configured in `company.config.yaml`, present a provider selection guide before generating the event taxonomy:\n\n| Provider | Best For | Free Tier | Self-Hosted |\n|----------|----------|-----------|-------------|\n| PostHog | Product analytics + session replay | 1M events\u002Fmonth | Yes |\n| Plausible | Privacy-first web analytics | None (paid) | Yes |\n| Mixpanel | Event-based product analytics | 20M events\u002Fmonth | No |\n| Segment | Data routing to multiple tools | 1K users\u002Fmonth | No |\n\nWalk the user through updating `company.config.yaml` before proceeding.\n\n### Step 1: Load Context\n\nBefore defining any events or conventions:\n\n1. **Read `company.config.yaml`** -- extract:\n   - `analytics.provider` (e.g., Mixpanel, Amplitude, PostHog, Segment)\n   - `analytics.event_prefix` (e.g., `app_`, `myproduct_`)\n   - `analytics.tracker_attribute` (e.g., `data-track-id`)\n   - `observability.error_tracking` (e.g., Sentry, Bugsnag)\n2. **Read existing PRDs** in `artifacts\u002Fprds\u002F` -- collect all success metrics across features\n3. **Check `standards\u002Fanalytics\u002F`** -- see if event taxonomy or tracker conventions already exist (update rather than overwrite)\n\n### Step 2: Generate Event Taxonomy\n\nProduce `standards\u002Fanalytics\u002Fevent-taxonomy.md` with the following structure:\n\n#### AARRR Pirate Metrics Framework Mapping\n\nEvery product event maps to one of five lifecycle stages:\n\n| Stage | Purpose | Example Events |\n|-------|---------|----------------|\n| **Acquisition** | How users find the product | `user.visited`, `user.signed_up`, `referral.clicked` |\n| **Activation** | First value moment | `feature.first_used`, `onboarding.completed`, `project.first_created` |\n| **Retention** | Users coming back | `session.started`, `feature.used_again`, `streak.maintained` |\n| **Revenue** | Monetization events | `subscription.started`, `plan.upgraded`, `payment.completed` |\n| **Referral** | Users inviting others | `invite.sent`, `referral.converted`, `share.clicked` |\n\n#### Event Naming Convention\n\nFormat: `\u003Cobject>.\u003Caction>`\n\n**Objects** (the entity being acted upon):\n- `user`, `session`, `feature`, `subscription`, `project`, `invite`, `page`, `error`\n\n**Actions** (past tense verbs describing what happened):\n- `created`, `completed`, `viewed`, `clicked`, `upgraded`, `failed`, `started`, `sent`, `converted`, `deleted`, `updated`, `exported`, `imported`\n\n**Examples**:\n- `user.signed_up`\n- `page.viewed`\n- `feature.activated`\n- `subscription.upgraded`\n- `project.created`\n- `error.occurred`\n\n#### Required Properties for Every Event\n\nEvery event MUST include these properties:\n\n| Property | Type | Description |\n|----------|------|-------------|\n| `timestamp` | string (ISO 8601) | When the event occurred |\n| `user_id` | string | Authenticated user identifier (omit if anonymous) |\n| `session_id` | string | Current session identifier |\n| `platform` | enum | `web` \u002F `ios` \u002F `android` |\n| `app_version` | string | Current application version |\n\nThe `event_prefix` from config is prepended to the event name when sent to the analytics provider (e.g., if prefix is `app_` and event is `user.signed_up`, the provider receives `app_user.signed_up`).\n\n#### Event Categories\n\n| Category | When to Use | Examples |\n|----------|-------------|----------|\n| `page_view` | User navigates to a page\u002Fscreen | `page.viewed` |\n| `user_action` | User performs an intentional action | `button.clicked`, `form.submitted` |\n| `system_event` | System-initiated events | `email.sent`, `job.completed` |\n| `business_event` | Revenue and conversion events | `subscription.started`, `payment.completed` |\n\n#### Anti-Patterns\n\n- **No PII in event properties**: Never include email, name, phone, IP address, or any personally identifiable information as event property values\n- **No high-cardinality values**: Never use full URLs, raw UUIDs, free-text input, or timestamps as property values (use categories, slugs, or enums instead)\n- **No deep nesting**: Event properties must not nest objects deeper than 2 levels\n- **No ambiguous names**: `clicked` alone is meaningless -- always pair with the object (`button.clicked`, `link.clicked`)\n- **No future tense**: Events record what happened, not what will happen (`user.signed_up`, not `user.signing_up`)\n\n### Step 3: Generate Tracker ID Conventions\n\nProduce `standards\u002Fanalytics\u002Ftracker-conventions.md` with the following structure:\n\n#### Analytics Tracking Attribute\n\n**Attribute**: Uses the value from `analytics.tracker_attribute` in config (default: `data-track-id`)\n\n**Format**: `data-track-id=\"\u003Cpage>-\u003Celement>-\u003Caction>\"`\n\n**Rules**:\n- Lowercase throughout\n- Hyphens (`-`) between segments (page, element, action)\n- Underscores (`_`) within segments for multi-word names\n- Every interactive element (button, link, form input, toggle, dropdown, checkbox) MUST have a tracker ID\n\n**Examples**:\n```\ndata-track-id=\"login-submit_btn-click\"\ndata-track-id=\"dashboard-export_btn-click\"\ndata-track-id=\"settings-theme_toggle-change\"\ndata-track-id=\"profile-avatar_input-upload\"\ndata-track-id=\"nav-pricing_link-click\"\ndata-track-id=\"onboarding-skip_btn-click\"\n```\n\n#### Error Tracking Attribute\n\n**Attribute**: `data-sentry-component=\"\u003CComponentName>\"`\n\n**Rules**:\n- PascalCase component name (matches React\u002FVue component naming)\n- Applied to every route-level or page-level component\n- Enables error tracking tools (Sentry, Bugsnag) to group errors by component\n\n**Examples**:\n```\ndata-sentry-component=\"LoginPage\"\ndata-sentry-component=\"DashboardView\"\ndata-sentry-component=\"SettingsPanel\"\ndata-sentry-component=\"CheckoutFlow\"\n```\n\n#### Guided Tour Targeting Attribute\n\n**Attribute**: `data-tour-step=\"\u003Ctour>-\u003Cstep>\"`\n\n**Rules**:\n- Lowercase with hyphens\n- `\u003Ctour>` is the tour name, `\u003Cstep>` is the step identifier\n- Applied to elements that guided tours need to highlight or anchor to\n\n**Examples**:\n```\ndata-tour-step=\"onboarding-welcome\"\ndata-tour-step=\"onboarding-create_project\"\ndata-tour-step=\"feature-intro-step3\"\ndata-tour-step=\"billing-upgrade_prompt\"\n```\n\n#### Framework Implementation Patterns\n\n**React \u002F Next.js**:\n```jsx\n\u003Cbutton\n  data-track-id=\"dashboard-export_btn-click\"\n  data-sentry-component=\"DashboardView\"\n  onClick={handleExport}\n>\n  Export\n\u003C\u002Fbutton>\n```\n\n**Vue**:\n```vue\n\u003Cbutton\n  :data-track-id=\"`dashboard-export_btn-click`\"\n  data-sentry-component=\"DashboardView\"\n  @click=\"handleExport\"\n>\n  Export\n\u003C\u002Fbutton>\n```\n\n**Plain HTML**:\n```html\n\u003Cbutton\n  data-track-id=\"dashboard-export_btn-click\"\n  data-sentry-component=\"DashboardView\"\n  onclick=\"handleExport()\"\n>\n  Export\n\u003C\u002Fbutton>\n```\n\n**Note**: The `analytics.tracker_attribute` value in `company.config.yaml` determines the primary attribute name. If the config specifies `data-analytics` instead of `data-track-id`, all examples above should use `data-analytics` as the attribute name.\n\n### Step 4: Per-Feature Instrumentation\n\nFor each feature being built:\n\n1. **Read PRD success metrics** -- extract every measurable goal\n2. **Map each metric to specific events** that prove or disprove it:\n   - Identify the event(s) needed to calculate the metric\n   - Define event names following the taxonomy\n   - Define event properties specific to the feature\n3. **List all new UI components that need tracker IDs**:\n   - Buttons, links, form fields, toggles, tabs, modals\n   - Apply the naming convention from Step 3\n4. **Define dashboard requirements**:\n   - What graphs to create (line chart for trends, bar chart for comparisons, funnel for conversion)\n   - What metrics to display (counts, rates, durations, percentages)\n   - What alerts to configure (thresholds, anomaly detection)\n\n**Example mapping**:\n\nSuccess metric from PRD: *\"80% of users complete onboarding within 5 minutes\"*\n\n| Event | Properties | Purpose |\n|-------|-----------|---------|\n| `onboarding.started` | `timestamp` | Marks the start of onboarding |\n| `onboarding.step_completed` | `step_number`, `step_name`, `timestamp` | Tracks progress through steps |\n| `onboarding.completed` | `duration_seconds`, `steps_completed` | Marks successful completion |\n| `onboarding.abandoned` | `last_step`, `duration_seconds` | Marks drop-off |\n\nDashboard: Funnel chart showing started -> step 1 -> step 2 -> ... -> completed. Alert if completion rate drops below 70%.\n\n### Step 5: Audit Existing Instrumentation\n\nGrep the codebase for existing tracker attributes and event calls:\n\n1. **Find existing tracker attributes**: Search for `data-track-id`, `data-sentry-component`, `data-tour-step` (and the configured `analytics.tracker_attribute` if different)\n2. **Find existing event calls**: Search for the analytics provider's track\u002Fsend function (e.g., `analytics.track(`, `mixpanel.track(`, `posthog.capture(`)\n3. **Identify gaps**:\n   - Interactive components missing tracker IDs\n   - Events defined in the taxonomy but not instrumented in code\n   - Events in code that do not follow the naming convention\n   - Inconsistent property names across similar events\n4. **Produce an audit summary** listing each gap with its file location and recommended fix\n\n### Step 6: Verify\n\nFinal verification checklist:\n\n- [ ] Every AARRR stage has at least 2-3 events defined\n- [ ] Event naming strictly follows `object.action` convention\n- [ ] Required properties (timestamp, user_id, session_id, platform, app_version) are documented for every event\n- [ ] Tracker ID convention is specific with format, rules, and examples\n- [ ] Anti-patterns are listed (no PII, no high-cardinality, no deep nesting)\n- [ ] Every PRD success metric maps to one or more trackable events\n- [ ] Dashboard requirements are specific (chart type, metric, alert threshold) -- not vague (\"track usage\")\n- [ ] Existing instrumentation has been audited for gaps\n\n## Quality Checklist\n\n- [ ] AARRR framework events defined for each stage\n- [ ] Event naming follows `object.action` convention\n- [ ] Required properties documented for every event\n- [ ] Tracker ID convention is specific with examples\n- [ ] Anti-patterns are listed (no PII, no high-cardinality)\n- [ ] Per-feature events map to PRD success metrics\n- [ ] Dashboard requirements are specific (not \"track usage\")\n",{"name":5,"runtimes":29,"description":7},{"claude":30},{"user-invocable":25},"main","e842fb6d0e04360c47db78bc2e2e2987314d64d4","os\u002Fskills\u002Finstrumentation",2,"https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os","https:\u002F\u002Fgithub.com\u002Fvibbs","Principal Engineer · Applied AI · building ArcAI @ GrowthArc","2026-10-21 02:08:08",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add vibbs\u002Fcompany-os --skill instrumentation",{"tool":45,"command":46},"bunx","bunx skills add vibbs\u002Fcompany-os --skill instrumentation",{"tool":48,"command":49},"pnpm","pnpm dlx skills add vibbs\u002Fcompany-os --skill instrumentation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Fos\u002Fskills\u002Finstrumentation\u002FSKILL.md",true,[53,59,63],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"Tools\u002FFetchReport.ts","SCRIPT","脚本",6623,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002FPersonal_AI_Infrastructure\u002FReleases\u002Fv2.3\u002F.claude\u002Fskills\u002FAnnualReports\u002FTools\u002FFetchReport.ts",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"Tools\u002FListSources.ts",5867,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002FPersonal_AI_Infrastructure\u002FReleases\u002Fv2.3\u002F.claude\u002Fskills\u002FAnnualReports\u002FTools\u002FListSources.ts",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"Tools\u002FUpdateSources.ts",7000,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002FPersonal_AI_Infrastructure\u002FReleases\u002Fv2.3\u002F.claude\u002Fskills\u002FAnnualReports\u002FTools\u002FUpdateSources.ts",[68,77,85,95,111,124],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":24},"01M6CTHBW1E64ECYGD105N4S5E","typo-field","Fixture skill with a misspelled top-level field.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Ftypo-field\u002FSKILL.md",[],[75,76],"typo field","fixture skill",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":24},"01M6CTHABTV8FKVDHFMMKPAV51","spaced-comments","Fixture skill with comments and spaces after block keys.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fspaced-comments\u002FSKILL.md",[],[84,76],"spaced comments",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":24},"01M6CTH8MHC14KB65ZDHYBJW1N","crlf-comments","Fixture skill with Windows line endings.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fcrlf-comments\u002FSKILL.md",[],[92,93,94,76],"crlf comments","CRLF","windows",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":24},"01M6CTH6TBKTDP9G8QB1Z2K0TY","claude-fields","Fixture skill using top-level fields Claude Code documents.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fclaude-fields\u002FSKILL.md",[],[102,103,104,105,106,107,76,108,109,110],"claude fields","explore","documents","src","grep","read","Bash","code","testing",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":24},"01M6CTH46BGKXH80RWS876Y2CW","workflow-router","Maps an objective to the artifacts, stages and agents it needs. Use when deciding what happens next or which agents to involve.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Fos\u002Fskills\u002Fworkflow-router\u002FSKILL.md",[],[118,119,120,121,122,23,123],"workflow","router","workflow router","next","maps","artifacts",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":24},"01M6CTH27653SRVP2FMEQN3J5B","weekly-review","Summarizes your week: what shipped, AI spend, support themes, security health and next priorities. Use at the end of each week.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Fos\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[131,132,133,121,23,134,135,136,137],"weekly review","review","priorities","health","save","support","security"]