Aller au contenu
Skillpedia
Bases de données18k · #10728

onboarding

Ce qu’il fait

Cette skill guide l'installation de Wren Engine, la création d'un projet, la connexion d'une source de données par un profil et l'exécution d'une première requête. Elle s'adresse aux nouveaux utilisateurs qui veulent connecter leur base de données à Wren.

Quand l’utiliser

  • ✓Quand vous voulez installer Wren Engine et le configurer pour la première fois.
  • ✓Quand vous devez connecter une nouvelle base de données à une installation Wren existante.
  • ✓Quand vous voulez essayer le projet de démonstration fourni et voir fonctionner une première requête.

Lien du skill

https://github.com/Canner/WrenAI/blob/main/core/wren/src/wren/skills_content/onboarding/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/Canner/WrenAI/blob/main/core/wren/src/wren/skills_content/onboarding/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

“Aide-moi à installer Wren Engine, à le connecter à notre base MySQL et à lancer une première requête pour vérifier que cela fonctionne.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

La skill avance étape par étape : vérifier l'environnement, installer la ligne de commande, ajouter un profil de connexion via les paramètres d'environnement, puis tester le projet avec une requête.

Contenu technique (SKILL.md original)

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

Wren Onboarding — Agent Workflow

This skill walks the agent through onboarding — environment checks, project scaffolding, profile creation, MDL generation, and first query. Procedural details, per-datasource setup notes, and the troubleshooting playbook live in the docs, not here. The skill's job is to enforce the agent-side rules (one step per turn, never ask for credentials in chat) and to dispatch the agent to the right doc / sibling skill at each step.

Reference docs (the skill points to these — never duplicate their content):

Mode of operation — READ THIS FIRST

One step per round-trip. Each numbered step below is its own turn: explain briefly, ask only what the step needs, run the command(s), confirm, move on.

  • ❌ Never collect information for future steps upfront. Do not ask for project name + database type + credentials in one message.
  • ❌ Never ask for credentials in chat — not host, port, user, password, tokens, anything. Credentials always go through .env. The user fills the file in their editor; the agent never sees the values.
  • ❌ Never query the database before MDL is built via wren skills get generate-mdl.
  • ❌ Never invent connection field names. Always run wren docs connection-info <ds> to see the real fields — it's introspected from the live Pydantic schema, so it's always correct.
  • ✅ Wait for each command to finish, report its output in plain language, then move on.
  • ✅ For any error, consult connect.md#troubleshooting and surface the relevant section to the user — don't carry a copy of the playbook here.

Preflight (environment only — no user questions about the project)

Read-only checks. Report findings, do not ask about project / credentials / datasource yet.

  1. python3 --version — requires Python 3.11+. If older, ask the user to upgrade and stop.
  2. Check virtualenv: python3 -c "import sys; print(sys.prefix != sys.base_prefix)". If False, offer to create one (python3 -m venv .venv && source .venv/bin/activate). PEP 668 systems will need this.
  3. wren --version — if already installed, confirm before reinstalling.
  4. pwd — record it. Don't ask where the project should live yet.

Report findings as a 4-bullet list, then continue.

Early branch — demo or own database?

"Try the bundled jaffle_shop demo first (~30s, no DB needed), or connect your own database?"

  • demo → point at quickstart.md and stop this skill.
  • own DB → continue.

Step 1 — Collect project name + database type

These two are the only thing Step 2 needs; ask both together so the user has a clean handoff:

"Two things before I scaffold:

  1. Project name — I'll create ~/<name>/ and cd into it.
  2. Database type — run wren docs connection-info (no argument) to see the full list, or pick a common one: postgres (use for Aurora PostgreSQL), mysql (use for Aurora MySQL), bigquery, snowflake, clickhouse, trino, duckdb, …"

Wait for both. Don't ask for credentials.

Step 2 — Workspace + .env setup (batch)

Side effects: creates ~/<project>/, installs wrenai[<ds>,main], generates an empty .env template. The project files (wren_project.yml etc.) come later in Step 3.5 — at this point we only have a directory with credentials waiting to be filled.

Run as a batch — report each command briefly, then end with one "please fill .env" ask:

  1. mkdir -p ~/<project> && cd ~/<project>.

  2. pip install "wrenai[<ds>,main]". For datasource-specific install gotchas (macOS mysql, etc.), see connect.md#per-datasource-setup-notes.

  3. Generate the .env template by introspecting the connector:

    wren docs connection-info <ds> --format md
    

    Use the field list to write .env with <DS>_<FIELD>= keys (UPPER_SNAKE), values empty. Example for po

Questions fréquentes

La skill demandera-t-elle mon mot de passe de base de données dans la conversation ?

Non. La skill indique que les identifiants doivent être saisis dans la configuration de l'environnement, et jamais recueillis dans la conversation.

Pourquoi une étape à la fois ?

La skill procède pas à pas pour que chaque partie soit vérifiée avant de passer à la suivante.

Existe-t-il une démonstration à essayer d'abord ?

Oui. La skill renvoie vers un projet de démonstration fourni, l'exemple jaffle shop, pour tester l'installation.

Détails

Description originale de l’auteur

Onboard a user to Wren Engine end-to-end. Walks through environment checks, project scaffolding, connection configuration via .env, and first query. Use when: user wants to install Wren Engine, set up a new data source connection, or bootstrap a new project from scratch. Triggers: '/wren-onboarding', 'install wren', 'set up wren engine', 'wren onboarding', 'connect new database to wren'.

repo: Canner/WrenAI

Popularité

Étoiles GitHub
18k
Position au classement
#10728
Licence
—
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