Data Analytics logo

Data Analytics

Community
felvieira
data-analytics

Define eventos, metricas e analises de produto. Trigger em: "tracking", "analytics", "eventos de produto", "funil de conversao", "instrumentar evento", "metrica de produto", "ativacao", "retencao", "naming de evento", "tracking plan", "data analytics", "PostHog", "Amplitude", "Mixpanel".

Overview

Publisherfelvieira
Repositoryclaude-skills-fv
Skill namedata-analytics
Stars
28
Forks
5
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by felvieira on GitHub. Read the source before you install it.

Installation

Install the Data Analytics AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/felvieira/claude-skills-fv/tree/main/skills/21-data-analytics
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/felvieira/claude-skills-fv.git /tmp/claude-skills-fv
mkdir -p .claude/skills
cp -r /tmp/claude-skills-fv/skills/21-data-analytics .claude/skills/data-analytics
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Data Analytics in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Data Analytics on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Data Analytics is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Data Analytics

Uma feature sem medicao e uma aposta sem placar. Esta skill fecha o gap entre "entregamos" e "funcionou": define o tracking plan, o naming, os funis e as metricas — antes de instrumentar, para nao gerar dados que ninguem consegue ler depois.

Governanca Global

Esta skill segue GLOBAL.md, policies/execution.md, policies/handoffs.md, policies/quality-gates.md, policies/token-efficiency.md, policies/verification-before-completion.md (evento "instrumentado" exige prova: aparece no debugger/live events da ferramenta) e policies/stack-flexibility.md.

Privacidade e PII

Tracking toca dados de usuario — trate como tal:

  • nunca logar PII em propriedade de evento (email, nome, CPF, telefone) sem necessidade e base legal
  • usar id pseudonimo estavel (user_id hash), nao o email como distinct_id
  • respeitar consentimento (LGPD/GDPR): sem consentimento de analytics → nao dispara
  • documentar quais eventos carregam quais dados (vira parte do RoPA quando ha DPO)

Quando Usar

  • definir o tracking plan de uma feature nova (eventos + propriedades + funil) antes de codar
  • mapear um funil de conversao/ativacao e ligar a uma metrica de sucesso real
  • auditar instrumentacao existente (eventos duplicados, naming inconsistente, dados mortos)
  • escolher a metrica norte de uma feature (e a contra-metrica que protege contra gaming)

Quando Nao Usar

  • implementar analytics sem criterio de negocio ("trackear tudo" gera ruido caro e ilegivel)
  • substituir observabilidade operacional (logs/metricas de sistema → skill 20) — analytics e comportamento de usuario, nao saude de servico
  • substituir SEO/atribuicao de marketing (canal, campanha) sem o contexto de produto
  • fechar o loop de identidade e dinheiro — GCLID/UTM/transaction_id, reconciliacao com o backend, margem de contribuicao, conversao offline (isso e 59-closed-loop-revenue). Esta skill define o que trackear no produto; a 59 garante que o numero bate com a receita real

Entradas Esperadas

  • objetivo de negocio da feature (o que "sucesso" significa em uma frase)
  • fluxo do usuario com os pontos de decisao (onde ele avanca, hesita, abandona)
  • ferramenta de analytics do projeto (PostHog, Amplitude, Mixpanel, GA4, Segment)

Saidas Esperadas

  • tracking plan tabelado (evento, quando dispara, propriedades, owner)
  • naming consistente seguindo a convencao abaixo
  • funil definido ligado a metrica norte + contra-metrica
  • handoff para Frontend/Backend (instrumentar) e Documenter (registrar o plan)

Convencao de naming (escolha UMA e seja consistente)

Inconsistencia de naming e o que mais apodrece um projeto de analytics. Padrao recomendado: object_action, snake_case, verbo no passado.

BomRuimPor que
signup_completedCompleted Signup / signupComplete / user_signed_upobject primeiro agrupa eventos relacionados no dashboard; passado = fato ocorrido
checkout_startedstart_checkoutconsistencia: object_action sempre
subscription_cancelledcancelcancel o que? sem objeto e ambiguo

Regras:

  • object_action, passado, snake_case: video_played, invite_sent, payment_failed
  • propriedades tambem snake_case: plan_tier, referral_source, error_code
  • valores em lower_snake ou enum fixo, nao texto livre (plan_tier: "pro", nao "Pro Plan!!")
  • nunca renomeie um evento em producao sem migrar — quebra series historicas. Crie _v2 se precisar.

Tracking plan — formato

Sempre tabela, sempre com owner e criterio de leitura:

EventoDispara quandoPropriedadesTipoOwner
signup_startedusuario abre o form de cadastroreferral_source, plan_tierfunnelPO
signup_completedconta criada com sucesso (server-confirmed)plan_tier, method (email/google)funnel, north-star inputPO
activation_reachedusuario faz a acao "aha" (ex: 1o projeto criado)time_to_activate_minnorth-starPO

Dispare no servidor eventos de dinheiro/conversao (signup, purchase) — client-side perde 5-15% por adblock/erro de rede. Eventos de UI/interacao (clique, hover) podem ser client-side.

Checkpoint por evento instrumentado: disparar a ação no app → confirmar que o evento aparece no debugger/live events da ferramenta (PostHog, Amplitude, etc.) com as propriedades certas — não assumir que "o código chama track()" significa que chegou. Se não aparecer, checar API key/env e disparar de novo antes de marcar o evento como instrumentado no tracking plan.

Os 3 tipos de metrica que toda feature precisa

  1. North-star / metrica de sucesso — a UMA coisa que prova valor (ex: activation_reached rate). Sem ela, a feature nao tem placar.
  2. Funil — a sequencia de steps ate o sucesso, para ver onde vaza:
    signup_started (100%) → signup_completed (62%) → activation_reached (28%)
                             ↑ -38% aqui            ↑ -34% aqui (maior vazamento)
    O maior drop e onde investir.
  3. Contra-metrica (guardrail) — protege contra otimizar a norte gamificando. Ex: se a norte e "signups", a contra e "signup→retencao D7" — nao adianta inflar cadastro com usuario que some.

Frameworks uteis

  • AARRR (pirate metrics): Acquisition → Activation → Retention → Revenue → Referral. Bom para mapear o ciclo inteiro.
  • HEART (Google): Happiness, Engagement, Adoption, Retention, Task success. Bom para features de UX.
  • Ativacao = o "aha moment": a acao apos a qual o usuario tende a ficar. Descubra correlacionando retencao com acoes iniciais (ex: "quem adiciona 3 amigos na 1a semana retem 4x mais").

Anti-padroes frequentes

  • trackear tudo "por garantia" → 200 eventos, ninguem sabe quais importam, custo alto
  • naming livre → Sign Up, signup, user_signup coexistindo = impossivel agregar
  • propriedade com alta cardinalidade (ex: timestamp exato, id unico como propriedade) → estoura limite da ferramenta
  • evento sem owner nem criterio de leitura → vira dado morto
  • so client-side em evento de receita → subreporta sistematicamente
  • PII em propriedade → risco legal + alguns processadores rejeitam

Evidencia de Conclusao

  • tracking plan tabelado com owner por evento
  • naming validado contra a convencao (object_action, passado, snake_case)
  • funil ligado a norte + contra-metrica definida
  • checagem de PII feita (nenhum evento vaza dado sensivel sem base)

Handoff

  • Frontend (04) / Backend (03) instrumentam (server-side para conversao)
  • Documenter (10) registra o tracking plan em doc vivo
  • PO (01) valida que a norte mede o objetivo de negocio
  • Seguir policies/handoffs.md e, quando util, templates/analytics-plan.md

Frequently asked questions

What does the Data Analytics AI skill do?

Define eventos, metricas e analises de produto. Trigger em: "tracking", "analytics", "eventos de produto", "funil de conversao", "instrumentar evento", "metrica de produto", "ativacao", "retencao", "naming de evento", "tracking plan", "data analytics", "PostHog", "Amplitude", "Mixpanel".

Why use Data Analytics on TypingMind?

Because you install it once and use it with any model. Data Analytics is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Data Analytics in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/felvieira/claude-skills-fv/tree/main/skills/21-data-analytics. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Data Analytics?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Data Analytics?

As many as you like. As long as a model supports skills, you can use Data Analytics with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Data Analytics AI skill free?

Yes. It is published on GitHub by felvieira under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇