acreadiness-generate-instructions
ما الذي تفعله
تساعدك هذه المهارة على إنشاء ملفات تعليمات لمساعدي البرمجة بالذكاء الاصطناعي أو تحديثها. تنتج ملفات تخبر الذكاء الاصطناعي كيف يتصرف داخل مشروعك.
متى تستخدمها
- ✓عندما تريد إعداد مساعد ذكاء اصطناعي لأول مرة.
- ✓عندما تحتاج إلى ضبط طريقة تفاعل الذكاء الاصطناعي مع الكود.
- ✓عند تنظيم مشروع كبير يضم أجزاء مختلفة كثيرة.
رابط المهارة
https://github.com/github/awesome-copilot/blob/main/skills/acreadiness-generate-instructions/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ تعليمات لـ Copilot في مشروعي، باستخدام الاستراتيجية المتداخلة، مع التركيز على مجالي الواجهة الأمامية والخلفية.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تحلل هذه المهارة مشروعك وتولّد ملفات إعداد. ويمكنها إنشاء ملف رئيسي واحد أو عدة ملفات أصغر لأجزاء محددة من الكود، حسب الطريقة التي تريد بها التنظيم.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
/acreadiness-generate-instructions — write AI agent instructions
Use this skill whenever the user wants to create, regenerate, or refresh their custom instructions for AI coding agents (Copilot, Claude, etc.). This is the Generate step in AgentRC's Measure → Generate → Maintain loop and the single highest-leverage action for the AI Tooling pillar.
Output options
VS Code recognises several instruction file types — AgentRC generates the most common ones:
| File | Scope | When to use |
|---|---|---|
.github/copilot-instructions.md |
Always-on, whole workspace | Default — VS Code Copilot's native instruction file |
AGENTS.md |
Always-on, whole workspace | Multi-agent repos (Copilot + Claude + others) |
.github/instructions/*.instructions.md |
Scoped by applyTo glob |
Per-area / per-language rules in monorepos |
CLAUDE.md |
Claude-specific | Add via --claude-md (nested only) |
Strategies
flat(default) — single.github/copilot-instructions.mdat the chosen path. Simple, easy to review.nested— hub at.github/copilot-instructions.md+ per-topic detail files at.github/instructions/<topic>.instructions.md, each with anapplyToglob so VS Code only loads the topic when it's relevant. Better for large or multi-stack repos.
Why
.github/instructions/and not.agents/? AgentRC's default nested layout writes to.agents/, which is the right home for agent-agnostic repos (Copilot + Claude + Cursor readingAGENTS.md). For VS Code Copilot specifically, the native location is.github/instructions/withapplyTofrontmatter — that's what Copilot auto-discovers. This skill rewrites AgentRC's nested output to the VS Code-native location whenever the main output is.github/copilot-instructions.md. If you instead chose--output AGENTS.md, nested keeps AgentRC's default.agents/layout.
For monorepos, generate area-scoped instructions with --areas, --area <name>, or --areas-only. Areas are defined in agentrc.config.json. Per-area output is written as VS Code .instructions.md files with an applyTo glob (see below).
Topic vs area .instructions.md files
Both end up in .github/instructions/ but they answer different questions:
| Kind | Filename example | applyTo example |
Where it comes from |
|---|---|---|---|
| Topic (nested) | testing.instructions.md |
**/*.{test,spec}.{ts,tsx,js} |
AgentRC --strategy nested topic split |
| Area (monorepo) | frontend.instructions.md |
apps/frontend/** |
agentrc.config.json areas + --areas |
You can have both at once: a nested set of topic files plus per-area files for a monorepo.
Per-area files with applyTo
When the user opts into areas, emit one VS Code-native .instructions.md file per area at .github/instructions/<area>.instructions.md. Each file MUST start with frontmatter declaring the glob the rules apply to:
---
applyTo: "apps/frontend/**"
---
# Frontend area instructions
…AgentRC-generated content for this area…
Workflow:
- Read
agentrc.config.jsonto discover declared areas and theirpaths/ globs. Ifpathsis missing, ask the user for the glob (e.g.src/api/**). - Run
agentrc instructions --areas(or--area <name>) to produce the per-area body content. - Wrap each area's content in
.github/instructions/<area>.instructions.mdwith theapplyTofrontmatter taken from the area'spaths. If the user passed--apply-to <glob>on a single-area call, use that glob verbatim. - Leave the main file alone — the root
.github/copilot-instructions.mdstays as the always-on instructions;.instructions.mdfiles only kick in for matching paths.
Naming: lowercase, kebab-case area name. Examples: .github/instructions/frontend.instructions.md, .github/instructions/api.instructions.md, .github/instructions/infra.instructions.md.
Steps
- Pick the target file. Default to
.github/copilot-instructions.md. Switch toAGENTS.mdonly if the user mentions multi-agent / Claude / Cursor support. - Always ask which strategy to use —
flatornested— unless the user already specified one in their message or via--strategy. Present the trade-off briefly:- Flat (default) — one
.github/copilot-instructions.md. Simple, easy to review in a single PR. Best for small/medium repos with one stack.
- Flat (default) — one
…
الأسئلة الشائعة
ما الفرق بين «flat» و«nested»؟
«Flat» تستخدم ملف تعليمات واحداً للمشروع كله. و«Nested» تستخدم ملفاً رئيسياً وملفات أصغر لمواضيع أو مناطق محددة، وهي أفضل للمشاريع الكبيرة.
ما هو «applyTo»؟
«applyTo» إعداد يخبر الذكاء الاصطناعي باستخدام تعليمات محددة في أجزاء معينة من الكود فقط، مثل مجلد الواجهة الأمامية أو ملفات الاختبار.
هل أحتاج إلى ملف «agentrc.config.json»؟
ليس إلزامياً، لكن إذا كان لديك، تستطيع هذه المهارة استخدام معلوماته لإنشاء تعليمات خاصة بمناطق مختلفة من مشروعك (monorepo).
التفاصيل
الوصف الأصلي من المؤلف
Generate tailored AI agent instruction files via AgentRC instructions command. Produces .github/copilot-instructions.md (default, recommended for Copilot in VS Code) plus optional per-area .instructions.md files with applyTo globs for monorepos. Use after running /acreadiness-assess to close gaps in the AI Tooling pillar.
repo: github/awesome-copilot
الشعبية
- نجوم GitHub
- 40k
- الترتيب
- #7036
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
acquire-codebase-knowledge
40kيساعد وكيلك على فهم مشروع برمجي موجود وتوثيقه. مفيد لتعريف الأشخاص الجدد أو للحصول على نظرة عامة على البنية.
acreadiness-assess
40kيمكّن وكيلك من تقييم جاهزية مشروع للذكاء الاصطناعي وإنشاء تقرير. مفيد لمعرفة مدى استعداد المشروع لاستخدام أدوات الذكاء الاصطناعي.
acreadiness-policy
40kيمكّن وكيلك من تحديد أو تطبيق سياسات لتقييم مشاريع الذكاء الاصطناعي. مفيد لتوحيد طريقة تقييم المشاريع وضمان الالتزام.
ad-campaign-analyzer
40kيساعد وكيلك على تحليل بيانات حملات الإعلانات. يحدد ما يجب إيقافه أو تكبيره أو اختباره لتحسين الإنفاق.
مهارات مشابهة
technical-documentation
394kيساعد وكيلك على كتابة الوثائق التقنية ومراجعتها، وملفات التعليمات الخاصة بالوكلاء، لتكون سهلة المتابعة للناس وأدوات الذكاء الاصطناعي.
architecture-decision-records
280kيساعد وكيلك على تسجيل قرارات بنية المشروع المهمة، فيفهم سبب كل اختيار ويحتفظ بتاريخ واضح للتغييرات.
code-tour
280kيتيح لوكيلك إنشاء جولات شيفرة خطوة بخطوة مع مراجع دقيقة للملفات والأسطر، ويفيد للتعريف بالمشروع والشرح والمراجعة.