Logo de Tracking Gaps

Tracking Gaps

Organização
ai-analyst-lab
tracking-gaps

Assess whether the data needed for an analysis exists, identify what's missing, and produce prioritized instrumentation requests for engineering. Trigger on "do we track...", "is there data for...", "can we measure...", writing an instrumentation request, queries returning unexpected nulls, or verifying data exists before committing to an analytical approach. Produces workarounds for partial data and realistic expectations.

Visão geral

Publicado porai-analyst-lab
Repositórioai-analyst-plugin
Nome da habilidadetracking-gaps
Estrelas
34
Forks
13
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por ai-analyst-lab no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Tracking Gaps no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/tracking-gaps
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst-plugin.git /tmp/ai-analyst-plugin
mkdir -p .claude/skills
cp -r /tmp/ai-analyst-plugin/ai-analyst-plus/skills/tracking-gaps .claude/skills/tracking-gaps
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Tracking Gaps em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Tracking Gaps automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Tracking Gaps não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Skill: Tracking Gap Identification

Purpose

Assess whether the data needed for an analysis actually exists, identify what's missing, and produce prioritized instrumentation requests for engineering when gaps are found.

When to Use

Apply this skill after the /explore skill inventories available data, when an analysis requires data that might not exist, or when initial query results suggest incomplete tracking. Run before committing to an analysis approach.

Instructions

Gap Detection Process

IMPORTANT: Always follow this exact sequence. Never skip Step 1.

Step 1: Define Data Requirements (ALWAYS START HERE)

Before checking what data exists, list every data point the analysis NEEDS. This ensures you don't miss gaps.

For each analytical question, create a structured requirements table:

markdown
| Requirement | Needed For | Granularity | Time Range |
|-------------|-----------|-------------|------------|
| [event/field] | [which analysis step] | [per user/session/event] | [last 30d, 90d, etc.] |
Step 2: Inventory Available Data

Map each requirement to what actually exists:

markdown
| Requirement | Status | Source | Notes |
|-------------|--------|--------|-------|
| [event/field] | AVAILABLE / PARTIAL / MISSING / DERIVABLE | [table.column] | [caveats] |

Status definitions:

  • AVAILABLE: Data exists, is clean, and covers the needed time range
  • PARTIAL: Data exists but has gaps — missing time ranges, incomplete segments, or quality issues
  • MISSING: Data is not tracked at all — requires new instrumentation
  • DERIVABLE: Data doesn't exist directly but can be approximated from other available data
Step 3: Design Workarounds for Gaps

For each PARTIAL or MISSING item, evaluate workarounds:

markdown
### Gap: [what's missing]
**Impact on analysis:** [how this gap affects what we can conclude]
**Workaround:** [how to approximate using available data]
**Confidence with workaround:** [High/Medium/Low]
**Workaround limitations:** [what the approximation gets wrong]

Common workaround patterns:

  • Missing event timestamps → use related event as proxy (e.g., page view time as proxy for feature usage time)
  • Missing user property → derive from behavioral patterns (e.g., infer user role from feature usage patterns)
  • Missing segment data → use available proxy dimension (e.g., use billing country if user-reported country is missing)
  • Partial time coverage → analyze available window and flag as caveat
Step 4: Write Instrumentation Requests

For gaps that need engineering work:

markdown
### Instrumentation Request: [Event/Property Name]

**Event name:** [snake_case_event_name]
**Trigger:** [Exactly when this event should fire]
**Properties:**
| Property | Type | Required | Description |
|----------|------|----------|-------------|
| [name] | string/int/float/bool | Y/N | [what it captures] |

**Priority:** Must use exact format: `P0-Critical`, `P1-High`, `P2-Medium`, or `P3-Low`
**Justification:** [Why this is needed — which analysis it unblocks]
**Estimated effort:** [Hours/days — if known]
**Depends on:** [Any prerequisite instrumentation]

Output Format: Tracking Gap Report

markdown
# Tracking Gap Report: [Analysis Name]
## Date: [YYYY-MM-DD]

### Summary
| Status | Count | Items |
|--------|-------|-------|
| AVAILABLE | X | [list] |
| PARTIAL | X | [list] |
| DERIVABLE | X | [list] |
| MISSING | X | [list] |

### Analysis Feasibility
[Can we proceed? What's the confidence level with workarounds?]
- **Full analysis possible:** All critical data available or derivable
- **Partial analysis possible:** Core question answerable, but some segments/dimensions unavailable
- **Analysis blocked:** Critical data missing, no viable workaround

### Gap Details
[For each PARTIAL, DERIVABLE, and MISSING item — details, workaround, and instrumentation request]

### Prioritized Instrumentation Requests
| Priority | Event/Property | Unblocks | Effort |
|----------|---------------|----------|--------|
| P0 | [name] | [which analysis] | [estimate] |
| P1 | [name] | [which analysis] | [estimate] |

### Recommended Analysis Approach
[Given the gaps, here's how to proceed — which workarounds to use, which questions to defer]

Examples

Example 1: Checkout Funnel Analysis

Analysis goal: Understand where users drop off in the checkout funnel and why.

markdown
### Data Requirements vs. Availability

| Requirement | Status | Source | Notes |
|-------------|--------|--------|-------|
| Page views per checkout step | AVAILABLE | events.page_viewed | All 5 steps tracked |
| Time spent per step | PARTIAL | events.page_viewed | Can derive from timestamps between page views, but doesn't capture tab-switching |
| Payment method selected | AVAILABLE | events.payment_selected | Tracked since Jan 2025 |
| Payment error details | MISSING | — | Only know "payment_failed" event, not the error type |
| Shipping address validation | MISSING | — | No event when address validation fails |
| Cart contents at each step | PARTIAL | events.cart_updated | Cart state only at add/remove, not at each checkout step |
| User device + browser | AVAILABLE | events.properties | All events have device context |

### Gap: Payment error details
**Impact:** Can see WHERE users drop off (payment step) but not WHY (card declined vs. wrong CVV vs. timeout)
**Workaround:** Cross-reference with payment processor logs if accessible via API. Otherwise, can only report "payment failure rate" without root cause.
**Confidence with workaround:** Medium — processor logs may have different user identifiers

### Instrumentation Request: payment_error_details
**Event name:** checkout_payment_error
**Trigger:** When payment processing returns any non-success response
**Properties:**
| Property | Type | Required | Description |
|----------|------|----------|-------------|
| error_code | string | Y | Payment processor error code |
| error_category | string | Y | declined / timeout / validation / fraud |
| payment_method | string | Y | credit_card / paypal / apple_pay |
| retry_count | int | Y | Number of payment attempts in this session |

**Priority:** P1-High
**Justification:** Payment step has 23% drop-off but we can't diagnose the cause without error details. This unblocks targeted fixes.
**Estimated effort:** 4-8 hours (backend event + processor error mapping)

Example 2: Derivable Workaround

markdown
### Gap: User role/job title
**Impact:** Can't segment feature adoption by persona (PM vs. Engineer vs. Designer)
**Workaround:** Derive role from feature usage patterns:
- Users who primarily use roadmap features → likely PM
- Users who primarily use code integration features → likely Engineer
- Users who primarily use design review features → likely Designer
**Confidence with workaround:** Low-Medium — users who use multiple feature types will be misclassified
**Workaround limitations:** Only works for active users (can't classify churned users who didn't use enough features). Accuracy estimated at ~65% based on users with known roles.

Example 3: Dataset Type Mismatch

Analysis goal: Measure how feature adoption differs by user role (PMs vs. Engineers) in a B2B product.

Dataset: e-commerce data (tracks shopping behavior, not product feature usage)

markdown
### Fundamental Gap: Wrong Dataset Type

**What's missing:** This analysis requires B2B product analytics data, but the active dataset is an e-commerce dataset.

**Why the mismatch matters:**
- Active dataset tracks: product categories (Electronics, Clothing), customer types (New/Returning), checkout conversion
- Analysis needs: feature usage events, user job roles, product adoption metrics

**Analysis Status:** BLOCKED — Cannot answer this question with the current dataset.

**Recommended paths forward:**

1. **Reframe for e-commerce context:**
   - Original: "Do PMs use roadmap features more than Engineers?"
   - Reframed: "Do returning customers browse different product categories than new customers?"
   - Data available: Yes (user_type × category in checkout_sessions table)

2. **Switch datasets:** Use `/datasets` and `/switch-dataset` (both in the datasets skill) to move to a product analytics database that tracks feature usage and user roles.

3. **Connect new data:** Use `/connect-data` to add a product analytics source (Mixpanel, Amplitude, product database).

Anti-Patterns

  1. Never skip Step 1 (Define Requirements) — Always start by listing what data the analysis NEEDS in a structured table before checking what's AVAILABLE. Jumping straight to "here's what exists" causes you to miss gaps.

  2. Never assume data exists without checking — "we should have that" is not the same as "it's in the events table"

  3. Never proceed with an analysis that requires MISSING data without flagging it — if you can't answer the question, say so early

  4. Never write instrumentation requests without priority and justification — engineering needs to know what it unblocks. Always use the exact format: P0-Critical, P1-High, P2-Medium, or P3-Low.

  5. Never treat DERIVABLE as AVAILABLE — derived metrics are approximations; always state the confidence level and limitations

  6. Never skip the workaround assessment — sometimes a good workaround makes new instrumentation unnecessary, saving weeks of engineering time

Perguntas frequentes

O que a habilidade de IA Tracking Gaps faz?

Assess whether the data needed for an analysis exists, identify what's missing, and produce prioritized instrumentation requests for engineering. Trigger on "do we track...", "is there data for...", "can we measure...", writing an instrumentation request, queries returning unexpected nulls, or verifying data exists before committing to an analytical approach. Produces workarounds for partial data and realistic expectations.

Por que usar Tracking Gaps no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Tracking Gaps é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Tracking Gaps no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/tracking-gaps. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Tracking Gaps?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Tracking Gaps?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Tracking Gaps com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Tracking Gaps é gratuita?

Sim. A habilidade é publicada no GitHub por ai-analyst-lab sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇