agents-md
ما الذي تفعله
تساعد هذه المهارة على إنشاء ملف اسمه AGENTS.md أو تحسينه. يحتوي هذا الملف على تعليمات لوكيل الذكاء الاصطناعي عن كيفية إجراء التعديلات الصحيحة في مشروع برمجي، مستندة إلى معلومات من المشروع نفسه.
متى تستخدمها
- ✓عندما تريد إنشاء ملف AGENTS.md جديد.
- ✓عندما تكون التعليمات الموجودة في AGENTS.md قديمة.
- ✓عندما تريد أن تتوافق تعليمات الوكيل مع قواعد المشروع.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agents-md/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ ملف AGENTS.md لهذا المشروع، مع التركيز على تعليمات البناء والاختبار.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تقرأ المهارة ملفات المشروع لتفهم طريقة عمله. ثم تكتب ملف AGENTS.md أو تعدّله بناءً على هذه المعلومات، لضمان أن التعليمات دقيقة ومفيدة لوكيل الذكاء الاصطناعي.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Maintain AGENTS.md from repository evidence
Overview
Create or improve agent instructions that help a coding agent change the repository correctly without rediscovering its workflow. Base every repository-specific command, path, and rule on evidence in the current checkout.
Prefer a focused diff over a wholesale rewrite. There is no universal line limit, required section list, symlink layout, or commit-attribution policy; follow the repository's own needs and maintainer intent.
When to Use
- The user asks to create, update, shorten, or audit
AGENTS.md. - A monorepo needs root instructions plus narrower package-level overrides.
- Existing agent instructions contain stale commands, duplicated policy, or unsupported claims.
- The user wants to reconcile
AGENTS.mdwithCLAUDE.md,.github/copilot-instructions.md, or other repository instruction files.
Use @agents-generator instead when the task specifically calls for its
packaged generation modes, assets, or backup workflow. Use this skill when a
maintainer-readable, evidence-first edit is the primary goal.
How It Works
1. Preserve existing intent
Before writing, read every instruction file that applies to the target path,
including existing AGENTS.md files and relevant tool-specific files such as
CLAUDE.md, GEMINI.md, .github/copilot-instructions.md, and
.github/instructions/*.instructions.md.
- Improve an existing
AGENTS.mdin place when possible. - Preserve accurate maintainer-authored rules and repository-specific policy.
- Do not replace another tool's instruction file with a symlink unless the user requests it and repository evidence shows identical content is desired.
- Do not silently choose between conflicting instructions. Follow the higher-priority applicable rule, or ask when the intended policy cannot be established from the repository.
2. Build a bounded evidence map
Inspect only enough of the repository to establish how work is actually done:
- Read the project overview and contribution guidance, such as
README*,CONTRIBUTING*, and relevant docs. - Read manifests, lockfiles, workspace files, task runners, and build config to identify supported tools and exact commands.
- Read CI workflows to learn required checks. Do not assume every CI or deployment job is safe or appropriate to run locally.
- Inspect representative source and test files for naming, layout, and test conventions.
- Identify generated files, migrations, vendored code, large fixtures, secrets boundaries, and production-only operations.
Prefer rg --files and rg for discovery when available. Track the source of
each non-obvious command or rule so unsupported claims do not enter the final
file.
3. Choose the instruction scope
Use the root AGENTS.md for repository-wide guidance. Add or revise a nested
AGENTS.md only when a subtree has materially different commands,
architecture, conventions, or safety boundaries.
Keep shared rules at the root and only differences in nested files. For tools that implement the public AGENTS.md convention, apply root/ancestor guidance and narrower subtree instructions according to the target host's precedence. The nearest file does not silently erase unrelated ancestor rules. Do not copy the full root file into every package.
4. Write high-signal guidance
Choose headings that fit the repository instead of forcing a fixed template. Include the following only when supported by evidence:
- Repository map: the few directories and boundaries an agent must know.
- Setup and commands: exact install, development, build, lint, type-check, and test commands, with the working directory when it is not obvious.
- Focused validation: targeted checks for a small change and broader checks required before handoff.
- Change rules: generated-file ownership, migrations, schemas, APIs, dependencies, and cross-package coordination.
- Safety boundaries: secrets, production data, destructive commands, deployments, and operations that require explicit authorization.
- Contribution rules: repository-specific naming, formatting, commit, or pull-request requirements that affect implementation or handoff.
Write direct, testable statements. Prefer:
- From the repository root, run `npm test -- path/to/file.test.ts` for a focused test.
over:
- Make sure tests pass and follow best practices.
…
الأسئلة الشائعة
ما هو ملف AGENTS.md؟
هو ملف يحتوي على تعليمات محددة لوكيل الذكاء الاصطناعي، توضح له كيف يتفاعل مع مشروع برمجي ويُجري التعديلات عليه.
لماذا من المهم أن يكون ملف AGENTS.md محدَّثًا؟
ملف AGENTS.md المحدَّث يضمن أن وكيل الذكاء الاصطناعي يتبع قواعد المشروع وأوامره الصحيحة، فيتجنب الأخطاء وإعادة العمل.
هل تحل هذه المهارة محل عمل المبرمج؟
لا، بل تساعد على كتابة تعليمات واضحة ليستطيع وكيل الذكاء الاصطناعي مساعدة المبرمج باتباع إرشادات المشروع.
التفاصيل
الوصف الأصلي من المؤلف
Create, revise, or audit AGENTS.md files from repository evidence, verified commands, and correctly scoped instructions without overwriting maintainer intent.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #3690
- الترخيص
- 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تعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.