Skillpedia
الكتابة40k · #7133

create-agentsmd

ما الذي تفعله

ينشئ هذا الوكيل ملفًا باسم AGENTS.md لمشروعك. هذا الملف بمثابة دليل مفصل لوكلاء الذكاء الاصطناعي الآخرين، يشرح كيف يعمل المشروع، وكيف يتم إعداده واختباره، وغير ذلك من المعلومات التقنية المهمة.

متى تستخدمها

  • ✓عندما تحتاج إلى توثيق التعليمات التقنية للمشروع لوكلاء الذكاء الاصطناعي.
  • ✓عندما تبدأ مشروعًا جديدًا وتريد تقديم دليل واضح لأي تعاون مستقبلي مع الذكاء الاصطناعي.
  • ✓لتنظيم معلومات التطوير الخاصة بأدوات الذكاء الاصطناعي وجمعها في مكان واحد.

رابط المهارة

https://github.com/github/awesome-copilot/blob/main/skills/create-agentsmd/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/github/awesome-copilot/blob/main/skills/create-agentsmd/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أنشئ ملف AGENTS.md لهذا المشروع، وأدرج فيه طريقة تثبيت الاعتماديات، وتشغيل خادم التطوير، وتنفيذ الاختبارات.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يحلل معلومات مشروعك، مثل سكربتات package.json والأدوات المستخدمة، ثم ينشئ ملف Markdown منظمًا. يحتوي الملف على أقسام مثل «نظرة عامة على المشروع» و«أوامر الإعداد» و«سير عمل التطوير».

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Create high‑quality AGENTS.md file

You are a code agent. Your task is to create a complete, accurate AGENTS.md at the root of this repository that follows the public guidance at https://agents.md/.

AGENTS.md is an open format designed to provide coding agents with the context and instructions they need to work effectively on a project.

What is AGENTS.md?

AGENTS.md is a Markdown file that serves as a "README for agents" - a dedicated, predictable place to provide context and instructions to help AI coding agents work on your project. It complements README.md by containing detailed technical context that coding agents need but might clutter a human-focused README.

Key Principles

  • Agent-focused: Contains detailed technical instructions for automated tools
  • Complements README.md: Doesn't replace human documentation but adds agent-specific context
  • Standardized location: Placed at repository root (or subproject roots for monorepos)
  • Open format: Uses standard Markdown with flexible structure
  • Ecosystem compatibility: Works across 20+ different AI coding tools and agents

File Structure and Content Guidelines

1. Required Setup

  • Create the file as AGENTS.md in the repository root
  • Use standard Markdown formatting
  • No required fields - flexible structure based on project needs

2. Essential Sections to Include

Project Overview

  • Brief description of what the project does
  • Architecture overview if complex
  • Key technologies and frameworks used

Setup Commands

  • Installation instructions
  • Environment setup steps
  • Dependency management commands
  • Database setup if applicable

Development Workflow

  • How to start development server
  • Build commands
  • Watch/hot-reload setup
  • Package manager specifics (npm, pnpm, yarn, etc.)

Testing Instructions

  • How to run tests (unit, integration, e2e)
  • Test file locations and naming conventions
  • Coverage requirements
  • Specific test patterns or frameworks used
  • How to run subset of tests or focus on specific areas

Code Style Guidelines

  • Language-specific conventions
  • Linting and formatting rules
  • File organization patterns
  • Naming conventions
  • Import/export patterns

Build and Deployment

  • Build commands and outputs
  • Environment configurations
  • Deployment steps and requirements
  • CI/CD pipeline information

3. Optional but Recommended Sections

Security Considerations

  • Security testing requirements
  • Secrets management
  • Authentication patterns
  • Permission models

Monorepo Instructions (if applicable)

  • How to work with multiple packages
  • Cross-package dependencies
  • Selective building/testing
  • Package-specific commands

Pull Request Guidelines

  • Title format requirements
  • Required checks before submission
  • Review process
  • Commit message conventions

Debugging and Troubleshooting

  • Common issues and solutions
  • Logging patterns
  • Debug configuration
  • Performance considerations

Example Template

Use this as a starting template and customize based on the specific project:

# AGENTS.md

## Project Overview

[Brief description of the project, its purpose, and key technologies]

## Setup Commands

- Install dependencies: `[package manager] install`
- Start development server: `[command]`
- Build for production: `[command]`

## Development Workflow

- [Development server startup instructions]
- [Hot reload/watch mode information]
- [Environment variable setup]

## Testing Instructions

- Run all tests: `[command]`
- Run unit tests: `[command]`
- Run integration tests: `[command]`
- Test coverage: `[command]`
- [Specific testing patterns or requirements]

## Code Style

- [Language and framework conventions]
- [Linting rules and commands]
- [Formatting requirements]
- [File organization patterns]

## Build and Deployment

- [Build process details]
- [Output directories]
- [Environment-specific builds]
- [Deployment commands]

## Pull Request Guidelines

- Title format: [component] Brief description
- Required checks: `[lint command]`, `[test command]`
- [Review requirements]

## Additional Notes

- [Any project-specific context]
- [Common gotchas or troubleshooting tips]
- [Performance considerations]

Working Example from agents.md

Here's a real example from the agents.md website:

# Sample AGENTS.md file

## Dev environment tips


…
الأسئلة الشائعة

ما هو ملف AGENTS.md؟

هو ملف توثيق بصيغة Markdown يحتوي على تعليمات تقنية مفصلة لوكلاء الذكاء الاصطناعي للعمل على المشروع. يمكن اعتباره «دليل المالك» للروبوتات البرمجية.

لماذا أستخدم AGENTS.md بدلًا من README.md العادي؟

ملف README.md موجّه للبشر في الغالب. أما AGENTS.md فيركز على التفاصيل التقنية التي يحتاجها وكلاء الذكاء الاصطناعي لفهم الكود وتعديله، دون إثقال التوثيق الموجّه للناس.

هل يجب أن أملأ جميع الأقسام المقترحة؟

لا، يمكنك تكييف الملف مع احتياجات مشروعك. المهم أن يتضمن المعلومات الأساسية حتى يعمل وكلاء الذكاء الاصطناعي بكفاءة.

التفاصيل

الوصف الأصلي من المؤلف

Prompt for generating an AGENTS.md file for a repository

repo: github/awesome-copilot

الشعبية

نجوم GitHub
40k
الترتيب
#7133
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة