Logo : Instrument Feature

Instrument Feature

CommunautéPopulaire
Trystan-SA
instrument-feature

Design and implement product analytics for a feature — a tracking plan with event names, properties and funnel definitions, wired into the analytics tool the project already uses (PostHog, Amplitude, Segment, Mixpanel, GA4, RudderStack, Snowplow or an in-house wrapper), then verified to fire once with the right data. Use when a feature needs metrics, when asked to add tracking, analytics or events, or when a brief, adoption plan or A/B test needs events that don't exist yet.

Présentation

ÉditeurTrystan-SA
Dépôtproduct-engineer-skills
Nom de la compétenceinstrument-feature
Étoiles
2.1K
Forks
247
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par Trystan-SA sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Instrument Feature dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/Trystan-SA/product-engineer-skills/tree/main/skills/instrument-feature
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Trystan-SA/product-engineer-skills.git /tmp/product-engineer-skills
mkdir -p .claude/skills
cp -r /tmp/product-engineer-skills/skills/instrument-feature .claude/skills/instrument-feature
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Instrument Feature dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Instrument Feature dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Instrument Feature n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Instrument Feature

You can't improve what you can't see, and you can't trust data that was tracked carelessly. This skill writes a small tracking plan tied to the questions the team needs answered, implements it with the project's existing tools and conventions, and checks that it works.

Phase 1: Find the analytics setup

Search the codebase for the tracking layer: SDK calls (posthog.capture, amplitude.track, analytics.track, mixpanel.track, gtag('event', rudderanalytics.track, Snowplow trackers), server-side SDKs, and above all the project's own wrapper (a track() helper, a useAnalytics hook, an events.ts file). If there's a wrapper, always go through it.

Read 10 to 20 existing events to learn the conventions: naming style (Invoice Sent, invoice_sent, invoice:sent), standard properties, how user and account identity are set (identify, group), and where events are typed or documented.

If the project has no analytics at all, stop and ask which tool to use. Adding a tracking vendor is a product, legal and privacy decision.

Phase 2: Start from the questions

List the questions the data must answer, from brief.md, adoption-plan.md and experiment.md in the feature folder (docs/product/<feature-slug>/) when they exist:

  • The primary and guardrail metrics from the brief
  • Each funnel stage from the adoption plan (exposed, tried, activated, repeated)
  • Which entry point brought the user
  • Where users leave the flow, and which errors they hit
  • Exposure to each experiment variant

Every event must answer at least one question. "Track everything" produces a lot of data and few answers.

Phase 3: Write the tracking plan

EventFires when (exact trigger)Where in codePropertiesAnswers
Invoice Creation StartedUser opens the new-invoice formInvoiceForm.tsx, once per visitentry_point, client_countTried; entry-point split
Invoice SentServer confirms the invoice was sentinvoices.service.ts, after send succeedsamount_bucket, currency, is_first_invoiceValue moment (activation)
Invoice Send FailedSend rejectedsame, error brancherror_code, stepDrop-offs

Rules:

  • Follow the project's naming convention. Without one, use Object Action in the past tense (Invoice Sent), Title Case, with the noun the product UI uses.
  • Track outcomes where they happen. Fire value moments server-side after success when possible: reliable, unaffected by ad blockers, and not double-counted by re-renders. Track UI intent (opened, clicked) client-side.
  • Properties serve the breakdowns you'll need: entry_point, plan, variant, platform. Prefer enums and buckets to free text.
  • No personal data: no emails, names, free-text input, or anything the privacy policy doesn't cover. Use IDs.
  • Identity: events must attach to the same user — and account, for B2B — as the product's other events.

Phase 4: Implement

Add events through the project's wrapper, with types if the project types its events (extend the event union or schema). Put UI events in event handlers or in effects that run once per occurrence — never in render bodies, where re-renders and development double-mounts duplicate them. Put server events after the operation commits, not before.

If an experiment is running or planned, log exposure when the user actually sees the variant, not when the flag is evaluated at app start. Many flag SDKs log exposure automatically on evaluation; check before adding a duplicate.

Phase 5: Verify

Trigger each event and confirm it fires once, with the right properties and identity:

  • Use the SDK's debug mode, the tool's live event view, or a test that spies on the wrapper.
  • Check double clicks, back navigation, and retries after errors.
  • If the project tests its analytics wrapper, add assertions for the new events.

Phase 6: Define the analysis

Write funnel and metric definitions precise enough to build in the tool: steps, conversion window, counting unit (users or accounts), and filters (eligible users only). If the analytics tool is reachable from your environment (an API, a CLI or a connected integration), offer to create the funnel and dashboard; otherwise give the exact configuration.

Output

Write tracking-plan.md to the feature folder (the table, funnel definitions and verification notes), along with the code changes. Summarize: events added, how each was verified, and the questions the data still can't answer.

Foire aux questions

À quoi sert la compétence IA Instrument Feature ?

Design and implement product analytics for a feature — a tracking plan with event names, properties and funnel definitions, wired into the analytics tool the project already uses (PostHog, Amplitude, Segment, Mixpanel, GA4, RudderStack, Snowplow or an in-house wrapper), then verified to fire once with the right data. Use when a feature needs metrics, when asked to add tracking, analytics or events, or when a brief, adoption plan or A/B test needs events that don't exist yet.

Pourquoi utiliser Instrument Feature sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Instrument Feature se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Instrument Feature dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/Trystan-SA/product-engineer-skills/tree/main/skills/instrument-feature. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Instrument Feature ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Instrument Feature ?

Autant que vous le souhaitez. Vous pouvez utiliser Instrument Feature avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Instrument Feature est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par Trystan-SA sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇