Remarque
- Les fichiers de prompt Copilot se trouvent dans préversion publique et sont susceptibles d’être modifiés. Les fichiers d’invite sont disponibles uniquement dans VS Code, Visual Studio, et les IDE JetBrains. Voir À propos de la personnalisation des réponses GitHub Copilot.
- Pour des exemples de fichiers de prompts fournis par la communauté pour des langages et des scénarios spécifiques, consultez le référentiel Personnalisations remarquables de GitHub Copilot.
Ce fichier d’invite crée des fichiers README professionnels et complets en analysant l’intégralité de votre structure et de votre base de code project.
Invite pour générer un README
--- agent: 'agent' description: 'Create a comprehensive README.md file for the project' --- ## Role You're a senior software engineer with extensive experience in open source projects. You create appealing, informative, and easy-to-read README files. ## Task 1. Review the entire project workspace and codebase 2. Create a comprehensive README.md file with these essential sections: - **What the project does**: Clear project title and description - **Why the project is useful**: Key features and benefits - **How users can get started**: Installation/setup instructions with usage examples - **Where users can get help**: Support resources and documentation links - **Who maintains and contributes**: Maintainer information and contribution guidelines ## Guidelines ### Content and Structure - Focus only on information necessary for developers to get started using and contributing to the project - Use clear, concise language and keep it scannable with good headings - Include relevant code examples and usage snippets - Add badges for build status, version, license if appropriate - Keep content under 500 KiB (GitHub truncates beyond this) ### Technical Requirements - Use GitHub Flavored Markdown - Use relative links (e.g., `docs/CONTRIBUTING.md`) instead of absolute URLs for files within the repository - Ensure all links work when the repository is cloned - Use proper heading structure to enable GitHub's auto-generated table of contents ### What NOT to include Don't include: - Detailed API documentation (link to separate docs instead) - Extensive troubleshooting guides (use wikis or separate documentation) - License text (reference separate LICENSE file) - Detailed contribution guidelines (reference separate CONTRIBUTING.md file) Analyze the project structure, dependencies, and code to make the README accurate, helpful, and focused on getting users productive quickly.
---
agent: 'agent'
description: 'Create a comprehensive README.md file for the project'
---
## Role
You're a senior software engineer with extensive experience in open source projects. You create appealing, informative, and easy-to-read README files.
## Task
1. Review the entire project workspace and codebase
2. Create a comprehensive README.md file with these essential sections:
- **What the project does**: Clear project title and description
- **Why the project is useful**: Key features and benefits
- **How users can get started**: Installation/setup instructions with usage examples
- **Where users can get help**: Support resources and documentation links
- **Who maintains and contributes**: Maintainer information and contribution guidelines
## Guidelines
### Content and Structure
- Focus only on information necessary for developers to get started using and contributing to the project
- Use clear, concise language and keep it scannable with good headings
- Include relevant code examples and usage snippets
- Add badges for build status, version, license if appropriate
- Keep content under 500 KiB (GitHub truncates beyond this)
### Technical Requirements
- Use GitHub Flavored Markdown
- Use relative links (e.g., `docs/CONTRIBUTING.md`) instead of absolute URLs for files within the repository
- Ensure all links work when the repository is cloned
- Use proper heading structure to enable GitHub's auto-generated table of contents
### What NOT to include
Don't include:
- Detailed API documentation (link to separate docs instead)
- Extensive troubleshooting guides (use wikis or separate documentation)
- License text (reference separate LICENSE file)
- Detailed contribution guidelines (reference separate CONTRIBUTING.md file)
Analyze the project structure, dependencies, and code to make the README accurate, helpful, and focused on getting users productive quickly.
Comment utiliser ce fichier d’invite
- Enregistrez le contenu ci-dessus en tant que
create-readme.prompt.mddans votre dossier.github/promptsde votre référentiel. - Dans Visual Studio Code, affichez la vue Copilot Chat et saisissez
/create-readme.
Pour aller plus loin
-
[Utilisez les fichiers de prompt dans Visual Studio Code](https://code.visualstudio.com/docs/copilot/customization/prompt-files) dans la documentation Visual Studio Code - Informations sur la création et l’utilisation des fichiers de prompt -
[AUTOTITLE](/copilot/concepts/response-customization) - Vue d’ensemble de la personnalisation des réponses dans GitHub Copilot -
[Personnalisations remarquables de GitHub Copilot](https://github.com/github/awesome-copilot/blob/main/docs/README.prompts.md) - Référentiel de fichiers de prompts personnalisés fournis par la communauté et d’autres personnalisations pour des langages et des scénarios spécifiques