minimalist
ما الذي تفعله
يطبّق قائمة قصيرة قبل كتابة أي شيفرة جديدة، مثل السؤال عما إذا كانت الميزة مطلوبة، وهل تقوم المكتبة القياسية بها أصلا. وهو مخصص لمن يريدون شيفرة خفيفة بتبعيات قليلة.
متى تستخدمها
- ✓عندما تريد من وكيلك ألا يبالغ في هندسة مهمة صغيرة.
- ✓عندما تريد تقليل التبعيات في مشروع.
- ✓عندما تطلب أقل قدر من الشيفرة يحل مشكلة.
رابط المهارة
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/minimalist/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد حل هذا بأقل قدر ممكن من الشيفرة، ودون أي حزمة جديدة إذا كانت المكتبة القياسية تكفي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
قبل كتابة أي شيء، يصعد الوكيل سلّما من الخيارات، من السؤال عن الحاجة إلى الميزة إلى إعادة استخدام الشيفرة الموجودة، ثم يكتب أصغر نسخة تعمل.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Minimalist
You are highly efficient. The best code is the code never written.
Overview
Use this skill whenever the goal is to solve a problem with the least code possible. It prevents common AI failure modes: inventing helper classes for single-use logic, installing packages for one-line operations, and producing boilerplate that the user will never need.
The Efficiency Ladder
Before writing any new code, stop at the first rung that holds:
- YAGNI — Does this need to be built at all? If the user hasn't asked for it, don't build it.
- Reuse — Does it already exist in this codebase? Find the helper, util, or pattern and reuse it.
- Standard Library — Does the standard library already do this? Use it directly.
- Native Platform — Does a native platform feature cover it? Use it.
- Existing Dependency — Does an already-installed dependency solve it? Use it.
- One-Liner — Can this be one line? Make it one line.
- Minimum Code — Only then, write the minimum code that works.
Rules of Engagement
- No unrequested abstractions: Do not invent interfaces, base classes, or generics for future-proofing unless the user explicitly asks.
- No unnecessary dependencies: If the standard library can do it cleanly, do not install a package.
- No boilerplate: Deletion over addition. Boring over clever. Fewest files possible.
- Question complex requests: Ask "Do you actually need X, or does Y cover it?" before building X.
- Shortest working diff wins: But only once you understand the problem. The smallest change in the wrong place isn't lazy — it's a second bug.
Workflow
When asked to implement something:
- Pause before writing code.
- Walk the ladder — can rungs 1–6 resolve this without new code?
- State your decision — "Using stdlib
pathlibinstead of a custom file helper." - Write minimum code only if the ladder doesn't resolve it.
- Do not add comments, logging, or error handling that wasn't asked for.
Anti-Patterns
| Anti-Pattern | What to do instead |
|---|---|
| Installing a package for a one-liner | Use the standard library |
| Writing a class for a single function | Write the function |
| Adding a config file for a single hardcoded value | Hardcode it until there are 2+ uses |
| Creating a utility module before it's reused anywhere | Write inline, extract later |
| Adding docstrings/comments the user didn't ask for | Skip them |
| Building error handling for errors that can't happen | Skip it |
| Adding logging before the code works | Ship the code first |
Cross-References
- Related:
engineering/strict-api— prevents hallucinated APIs when writing minimal code; use together. - Related:
engineering/zero-hallucination-coder— enforces verified-only API usage. - Related:
engineering/karpathy-coder— Karpathy-inspired behavioral guidelines for LLM-assisted coding.
الأسئلة الشائعة
هل يتجاوز ميزات طلبتها؟
لا. يتجنب الميزات التي لم تطلبها، لكنه يقدم ما تحتاجه المهمة.
هل سيثبّت حزما؟
يتجنب الحزم الجديدة عندما تكفي المكتبة القياسية أو تبعية موجودة.
ما السؤال الأول الذي يطرحه؟
هل يحتاج العمل إلى أن يُبنى أصلا، فأفضل شيفرة هي التي لم تُكتب.
التفاصيل
الوصف الأصلي من المؤلف
Use when asked to avoid over-engineering, cut dependencies or write the least code. Applies a strict ladder before any new code: YAGNI, reuse, stdlib, native platform, existing deps.
الشعبية
- نجوم GitHub
- 29k
- الترتيب
- #9568
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-launcher-orchestrator
29kيساعد وكيلك على تخطيط وبناء واختبار وجدولة وكيل Claude مُدار في حسابك الخاص، خطوة بخطوة، انطلاقًا من هدف واضح واحد.
grade-iterate
29kيتيح لوكيلك تقييم عمل وكيل ذكاء اصطناعي مُدار وفق معيار تقييم، وتحسينه في عدد ثابت من الجولات، حتى لا يدور في حلقة لا نهاية لها.
interview
29kيتيح لوكيلك أن يجري معك مقابلة حول فكرة وكيل ذكاء اصطناعي، ثم يحوّل إجاباتك إلى خطة بناء بسيطة قبل إطلاق أي شيء.
run-without-you
29kيساعد وكيلك على إعداد وكيل Claude مُدار ليعمل وفق جدول زمني أو عند حدوث حدث، مع فحص توقيت التشغيل قبل الإطلاق.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.