onboarding
ما الذي تفعله
تمر هذه المهارة بخطوات تثبيت محرك Wren وإنشاء مشروع وربط مصدر بيانات عبر ملف تعريف وتشغيل أول استعلام. وهي للمستخدمين الجدد الذين يريدون ربط قاعدة بياناتهم بـ Wren.
متى تستخدمها
- ✓عندما تريد تثبيت محرك Wren وإعداده للمرة الأولى.
- ✓عندما تحتاج إلى ربط قاعدة بيانات جديدة بإعداد Wren موجود.
- ✓عندما تريد تجربة مشروع العرض المرفق ورؤية أول استعلام يعمل.
رابط المهارة
https://github.com/Canner/WrenAI/blob/main/core/wren/src/wren/skills_content/onboarding/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ساعدني في تثبيت محرك Wren وربطه بقاعدة بيانات MySQL لدينا، وشغّل استعلامًا أول للتأكد أنه يعمل.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تنتقل المهارة خطوة بخطوة: فحص البيئة، وتثبيت سطر الأوامر، وإضافة ملف اتصال عبر إعدادات البيئة، واختبار المشروع باستعلام.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من 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):
docs/core/get_started/installation.md— CLI install + skill installdocs/core/guides/connect.md— full connection procedure, per-datasource setup notes, complete troubleshooting playbookdocs/core/get_started/quickstart.md— bundledjaffle_shopdemo
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#troubleshootingand 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.
python3 --version— requires Python 3.11+. If older, ask the user to upgrade and stop.- Check virtualenv:
python3 -c "import sys; print(sys.prefix != sys.base_prefix)". IfFalse, offer to create one (python3 -m venv .venv && source .venv/bin/activate). PEP 668 systems will need this. wren --version— if already installed, confirm before reinstalling.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_shopdemo first (~30s, no DB needed), or connect your own database?"
- demo → point at
quickstart.mdand 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:
- Project name — I'll create
~/<name>/andcdinto it.- 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:
mkdir -p ~/<project> && cd ~/<project>.pip install "wrenai[<ds>,main]". For datasource-specific install gotchas (macOS mysql, etc.), seeconnect.md#per-datasource-setup-notes.Generate the
.envtemplate by introspecting the connector:wren docs connection-info <ds> --format mdUse the field list to write
.envwith<DS>_<FIELD>=keys (UPPER_SNAKE), values empty. Example for po
الأسئلة الشائعة
هل سيطلب مني كلمة مرور قاعدة البيانات في المحادثة؟
لا. تقول المهارة إن بيانات الاعتماد تُدخل عبر إعداد البيئة، ولا تُجمع في المحادثة أبدًا.
لماذا خطوة بخطوة؟
تعمل المهارة خطوة بخطوة حتى يمكن فحص كل جزء قبل بدء الجزء التالي.
هل هناك عرض تجريبي أجربه أولًا؟
نعم. تشير المهارة إلى مشروع العرض المرفق، وهو مثال jaffle shop، لاختبار الإعداد.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 18k
- الترتيب
- #10728
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
dlt-connector
18kيساعد وكيلك على تحميل بيانات أدوات SaaS مثل HubSpot أو Stripe إلى ملف DuckDB محلي، جاهزة لتحليل SQL عبر Wren.
enrich-context
18kيساعد وكيلك على إضافة المعنى التجاري إلى مشروع بيانات Wren، مثل الوحدات وقيم التعداد والمرادفات والمقاييس القياسية.
genbi
18kيساعد وكيلك على تحويل مشروع Wren للبيانات إلى لوحة معلومات قابلة للمشاركة في المتصفح، ونشرها في حساب الاستضافة الخاص بالمستخدم.
generate-mdl
18kيساعد وكيلك على إنشاء مشروع Wren دلالي عبر استكشاف مخطط قاعدة البيانات وتوحيد الأنواع وتوليد ملفات YAML.
مهارات مشابهة
discrawl
394kيتيح لوكيلك البحث في أرشيف محلي محفوظ لرسائل Discord وتلخيصه، والتحقق من مدى حداثته، وقراءة الرسائل المباشرة.
clickhouse-io
280kيساعد وكيلك على تحسين الاستعلامات والمخططات في ClickHouse وتطبيق أفضل ممارسات التحليل عالي الأداء، ويفيد عندما تكون الاستعلامات التحليلية بطيئة.
scientific-db-pubmed-database
280kيساعد وكيلك على البحث عن المقالات العلمية في المجال الطبي الحيوي. مفيد للبحوث التي تحتاج إلى معلومات طبية محددة.