Langsung ke konten
Skillpedia
Database18k Β· #10728

onboarding

Fungsinya

Skill ini memandu pemasangan Wren Engine, pembuatan proyek, penghubungan sumber data melalui profil, dan menjalankan kueri pertama. Skill ini untuk pengguna baru yang ingin menghubungkan basis data mereka ke Wren.

Kapan dipakai

  • βœ“Saat Anda ingin memasang Wren Engine dan menyiapkannya untuk pertama kali.
  • βœ“Saat Anda perlu menghubungkan basis data baru ke pengaturan Wren yang sudah ada.
  • βœ“Saat Anda ingin mencoba proyek demo bawaan dan melihat kueri pertama berhasil.

Link skill

https://github.com/Canner/WrenAI/blob/main/core/wren/src/wren/skills_content/onboarding/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/Canner/WrenAI/blob/main/core/wren/src/wren/skills_content/onboarding/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBantu saya memasang Wren Engine, menghubungkannya ke basis data MySQL kami, dan menjalankan kueri pertama untuk memastikan semuanya berfungsi.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini berjalan selangkah demi selangkah: memeriksa lingkungan, memasang baris perintah, menambahkan profil koneksi lewat pengaturan lingkungan, lalu menguji proyek dengan kueri.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Apakah agent akan meminta kata sandi basis data di chat?

Tidak. Skill ini menyatakan kredensial harus dimasukkan lewat pengaturan lingkungan, tidak pernah dikumpulkan dalam percakapan.

Mengapa dilakukan selangkah demi selangkah?

Skill ini bekerja bertahap agar setiap bagian bisa diperiksa sebelum langkah berikutnya dimulai.

Apakah ada demo untuk dicoba terlebih dahulu?

Ada. Skill ini menunjuk proyek demo bawaan, yaitu contoh jaffle shop, untuk menguji pengaturan.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
18k
Peringkat
#10728
Lisensi
β€”
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa