skeleton-first
ما الذي تفعله
تساعد هذه المهارة على بناء مشاريع البيانات والذكاء الاصطناعي بكفاءة. تبدأ بنسخة صغيرة ورخيصة من المشروع للتأكد من أن كل شيء يعمل، ثم تزيد الحجم وتضيف الميزات تدريجيًا، مع التحقق من التكاليف دائمًا.
متى تستخدمها
- ✓عندما يكون لديك مشروع بعدة مراحل يجب أن تعمل معًا.
- ✓عندما تعمل مع بيانات أو أدوات جديدة لا تعرفها.
- ✓عندما تريد بناء نظام كامل لمعالجة البيانات أو الذكاء الاصطناعي.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/skeleton-first/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد معالجة كل مستنداتي باستخدام الذكاء الاصطناعي، ابتداءً من اختبار صغير ورخيص.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
أولًا ننشئ نسخة أولية بسيطة من المشروع تعمل ببيانات قليلة وإعدادات رخيصة. ثم نختبرها ونزيد الحجم تدريجيًا، ونتحقق من التكلفة في كل مرحلة قبل إضافة مزيد من الميزات.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Skeleton first: prove the workflow cheaply, then scale
Agents tend to build every stage at full size before anything has run end to end. In data and AI work that fails expensively: a wrong prompt runs over a whole table, a wrong grain is discovered after twenty models exist, a big warehouse burns credits on a query that returns the wrong answer.
This skill changes the order of work:
- Make the whole path work on the smallest possible input with the cheapest settings.
- Prove it with a test.
- Scale up in cost-gated rungs, measuring and projecting cost before each one.
- Only then add features, one at a time, re-running the tests after each.
When to Use
- A workflow with 2+ stages (ingest -> transform -> model/LLM -> output), or anything that touches paid compute: warehouse credits, LLM tokens, embeddings, API calls.
- New or unfamiliar data, a new tool or SDK, an architecture that has not run in this environment before.
- The user asks to "build X end to end", "set up the pipeline", "process all the documents", "create the models".
Skip it for: one-file fixes, a single query, work already proven at full scale, or when the user explicitly says to go straight to full scale (then still state the projected cost first).
Step 0 - Define "it works" before building
Write down, and show the user in 3-5 lines:
- The thinnest end-to-end path: every stage present, the minimum of each. Example: 1 source table -> 1 transform -> 1 LLM call -> 1 output row.
- One pass/fail test a person can check, e.g. "for these 3 sample rows the output has columns A, B, C and the value for row 2 is X". Prefer tests with a known right answer.
- A budget: maximum spend and time for the whole job, and for the skeleton (the skeleton should cost almost nothing).
If the user has not given a budget, propose one and say so.
Step 1 - Write the ladder
Plan the work as rungs. Each rung adds exactly one thing and has a gate.
| Rung | Adds | Input size | Gate to pass |
|---|---|---|---|
| L0 skeleton | every stage, stubbed or minimal | 1 record | test passes end to end |
| L1 | real logic in the weakest stage | 10 records | test passes, cost per record measured |
| L2 | scale | ~1% or 100 records | quality spot-check, projected full cost under budget |
| L3 | full run | 100% | totals reconcile, test still passes |
| L4+ | one feature each | as needed | all previous tests still pass |
Show the ladder to the user before building unless the task is small. Keep it short.
Step 2 - Build L0, the walking skeleton
- Every stage exists and is connected; none is polished.
- Hardcode or stub anything that is not on the critical path (config, retries, UI, logging beyond a print).
- Use the cheapest settings everywhere (see Cost levers).
- Run it. If it fails, fix the path; do not start adding features.
- Look at the sample before scaling it. Read a few raw records and measure what you are paying for. Most cheap wins hide here: duplicate records (cache by content hash), boilerplate repeated in every record (headers, footers, legal notices, signatures, templated sections), empty or invalid inputs that the API still bills. Count how much of the cost each one accounts for; stripping a footer that is 70% of every document is worth more than any tuning later.
Not allowed until L0 passes: a second source, a second model or table, parallelism, tuning, UI, abstractions, handling edge cases that have not been seen yet.
Step 3 - Scale up in cost-gated rungs
At every rung:
- Run on the rung's input size.
- Record: records in/out, errors, wall time, cost (tokens, credits, API calls).
- Project the next rung: cost per record x next size, time per record x next size.
- Gate: continue only if the test passes, errors are understood, and the projection is under budget.
…
الأسئلة الشائعة
لماذا نبدأ صغيرًا؟
البداية الصغيرة تتجنب إنفاق مال ووقت كثيرين على مشاريع قد تحتوي على أخطاء. وإصلاح المشكلات مبكرًا أسهل بكثير.
ما هو «الهيكل الأولي» (skeleton)؟
هو أول نسخة بسيطة وتعمل من المشروع، تربط كل الأجزاء معًا، لكنها تستخدم بيانات وإعدادات بسيطة ورخيصة جدًا.
كيف يتم التحكم في التكاليف؟
يتم بتحديد ميزانية ومراقبة الإنفاق في كل مرحلة. فإذا ارتفعت التكاليف كثيرًا، نبحث عن طرق أرخص لإنجاز العمل قبل المتابعة.
التفاصيل
الوصف الأصلي من المؤلف
Prove a data/AI/agent workflow end to end on a tiny sample, find cheap wins, then scale in cost-gated steps within budget.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #5787
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.