Aller au contenu
Skillpedia
Analyse et tableurs14k · #11314

create-data-context

Ce qu’il fait

Cette compétence crée et met à jour un ensemble enregistré de définitions de données, par exemple quelle métrique est officielle et quelle table fait référence. Elle s'adresse aux équipes qui veulent que chaque analyse utilise les mêmes définitions.

Quand l’utiliser

  • ✓Quand vous voulez enregistrer la définition officielle d'une métrique pour les analyses futures.
  • ✓Quand vous voulez indiquer quel tableau de bord ou quelle table est la source de confiance.
  • ✓Quand vous devez réparer ou mettre à jour une couche sémantique existante.

Lien du skill

https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/create-data-context/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/create-data-context/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Je veux enregistrer la définition officielle de nos utilisateurs actifs mensuels pour que les analyses futures l'utilisent.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent recueille les détails via un court formulaire ou une conversation, puis construit et vérifie un fichier de définitions réutilisable. Les travaux de données futurs peuvent lire ce fichier et le citer.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Create Data Context

This skill creates and maintains semantic-layer skills for Data Analytics. A semantic-layer skill is an explicit artifact the user can inspect and cite later. It captures how future analyses should interpret the data, for example which metric definition is canonical, which dashboard or table is the best source of truth, and what caveats should be checked before answering.

Data-task routing is owned by the Data Analytics index skill. If the user wants Data Analytics to do work with data now, route to index, whether the work starts from connected sources, uploaded files, pasted tables, sample data, or an existing semantic layer. Examples include answering a metric question, building a report, or checking a dataset.

Use this skill only when the user asks to save data context or create, update, inspect, or repair a semantic layer.

Runtime Routing

Use the current runtime's classified surface and mode values, plus the capabilities exposed in the run, to choose intake and persistence. Build and validate the same canonical semantic-layer skill package before writing it to any destination.

For intake:

  • Use structured intake when a supported form action is available.
  • Use conversational intake for open-ended details and for runtimes without a supported form action.

Choose one persistence destination by default:

Destination branch Select this branch when Action
ChatGPT personal Skills surface = chatgpt_web and the run exposes a product-backed personal Skills install surface, such as a native skill draft/upload/install action or an installable skill package preview. Install the generated skill into the user's personal Skills library. Capture the installed skill link or Skills-library reference returned by the install surface and include it as a Markdown link in the chat response. Verify through the available Skills-library, list, or fresh-thread discovery surface when the runtime exposes one.
Local Codex The user asks for local persistence, or surface = codex_desktop. Write a filesystem skill to $CODEX_HOME/skills/<area>-semantic-layer; if $CODEX_HOME is unavailable and the local runtime clearly uses the default home location, use ~/.codex/skills/<area>-semantic-layer. Validate the written skill and verify it is discoverable in a new local Codex context when possible.
Portable package The current run has no supported persistent skill destination. Return a portable skill package or source plan and clearly state that it has not been installed persistently, including the exact persistence blocker.

For dual ChatGPT web and local Codex availability, install the same canonical package into both the ChatGPT Skills library and the local Codex user-skill directory.

For ordinary data work, return to the Data Analytics index workflow.

Skill Configuration

Audience And Language

Write for Data Analytics users, not plugin maintainers. Explain what context would improve the current or future analysis in practical terms. Avoid implementation terms such as raw state paths, connector ids, cache, runtime, metadata, or preflight unless the user asks for debugging details.

Source Links

When referencing sources inline, prefer clickable Markdown links over plain labels whenever a useful URL exists. Use the source title, record name, channel/thread, or meeting/date as the link text. Use plain labels only when no useful link is available.

Semantic Layer Setup

Use this flow when the user wants to create or maintain a semantic layer. If they are not ready to create the layer yet, use the same flow to produce a short source plan for what the semantic layer needs.

The output is a visible skill or plan. Build the semantic-layer skill when enough source-backed detail exists to make it useful. When the available detail is still thin, return a practical plan that explains what source to collect next and why.

Creating Or Updating The Layer

Create one semantic layer per coherent product, business, metric, source, or reporting area unless the user explicitly asks for a broader shared layer. Infer the area from the provided context when it is clear; ask only when the answer changes the crawl, destination, or resulting skill.

Choose the destination from Runtime Routing using the supported persistence mechanism exposed in the current run. For local Codex creations, default to $CODEX_HOME/skills/<area>-semantic-layer unless the u

Questions fréquentes

Qu'est-ce qu'une couche sémantique ?

C'est un ensemble de définitions enregistrées qui explique comment lire les données, par exemple quelle métrique est la référence officielle.

Cette compétence réalise-t-elle des analyses de données ?

Non. Elle enregistre ou met à jour le contexte des données, et tout travail d'analyse est confié au routeur d'analyse de données.

Puis-je inspecter le fichier enregistré ?

Oui. La compétence est conçue pour que vous puissiez inspecter le fichier et le citer dans les analyses ultérieures.

Détails

Description originale de l’auteur

Create, update, inspect, or repair Data Analytics semantic layers. Use when the user asks to save data context or create a semantic layer that future Data Analytics work can inspect and cite.

repo: XiaomiMiMo/MiMo-Code

Popularité

Étoiles GitHub
14k
Position au classement
#11314
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires