{"meta":{"title":"Création de modèles","intro":"Discussion avec Copilot peut vous aider à créer des modèles afin de simplifier votre flux de travail et d’assurer la cohérence entre vos projets.","product":"GitHub Copilot","breadcrumbs":[{"href":"/fr/copilot","title":"GitHub Copilot"},{"href":"/fr/copilot/tutorials","title":"Tutoriels"},{"href":"/fr/copilot/tutorials/copilot-chat-cookbook","title":"Cookbook GitHub Copilot Chat"},{"href":"/fr/copilot/tutorials/copilot-chat-cookbook/communicate-effectively","title":"Communiquer efficacement"},{"href":"/fr/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/creating-templates","title":"Créer des modèles"}],"documentType":"article"},"body":"# Création de modèles\n\nDiscussion avec Copilot peut vous aider à créer des modèles afin de simplifier votre flux de travail et d’assurer la cohérence entre vos projets.\n\nGitHub Copilot Chat peut vous aider à créer des modèles à diverses fins, telles que la documentation project, les extraits de code ou le suivi des problèmes. En utilisant des modèles, vous pouvez simplifier votre flux de travail et assurer la cohérence entre vos projets.\n\n## Exemple de scénario\n\nVous souhaitez créer un modèle pour un fichier README project qui inclut des sections pour project description, des instructions d’installation, des exemples d’utilisation et des instructions de contribution. Vous pouvez demander à Discussion avec Copilot de générer un modèle de fichier README conformément aux meilleures pratiques et à vos exigences spécifiques. Vous pouvez ensuite utiliser ce modèle comme point de départ pour toutes vos project documentation.\n\n## Exemple d’invite\n\n```text copy\nCreate a README template for a new open-source project that includes sections for project description, installation instructions, usage examples, and contribution guidelines. Make it clear and easy to follow.\n```\n\n## Exemple de réponse\n\n> \\[!NOTE] La réponse suivante est un exemple. Les réponses Discussion avec Copilot ne sont pas déterministes, vous pouvez donc obtenir une réponse différente de celle affichée ici.\n\nCopilot vous fournira un modèle de fichier README structuré. Vous pouvez copier le modèle Discussion avec Copilot fournit et le personnaliser davantage pour répondre aux besoins de votre project.\n\n````markdown\n# Project Name\n\n> **Short description:**  \n> A brief summary of what your project does, its main features, and its purpose.\n\n---\n\n## Table of Contents\n\n- [Description](#description)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n---\n\n## Description\n\nProvide a detailed explanation of what your project does, why it exists, and any important background information.  \nYou may want to include:\n- Key features\n- Supported platforms or languages\n- Screenshots or diagrams\n\n---\n\n## Installation\n\n1. **Clone the repository**\n   ```sh\n   git clone https://github.com/your-username/your-repo-name.git\n   cd your-repo-name\n   ```\n\n2. **Install dependencies**\n   ```sh\n   # Example for Node.js projects\n   npm install\n\n   # Example for Python projects\n   pip install -r requirements.txt\n   ```\n\n3. **Additional setup**\n   - List any other required steps (e.g., environment variables, configuration files)\n\n---\n\n## Usage\n\nProvide clear usage instructions and code examples.\n\n```sh\n# Example command\nyour-command --option value\n```\n\n```python\n# Example in Python\nimport your_module\n\nresult = your_module.do_something()\nprint(result)\n```\n\n- Explain any CLI options, configuration, or parameters.\n- Link to more detailed documentation if available.\n\n---\n\n## Contributing\n\nContributions are welcome! Please follow these guidelines:\n\n1. **Fork the repository**\n2. **Create a new branch**\n   ```sh\n   git checkout -b feature/your-feature-name\n   ```\n3. **Make your changes**\n4. **Test your changes**\n5. **Commit and push**\n   ```sh\n   git commit -m \"Add feature: your-feature-name\"\n   git push origin feature/your-feature-name\n   ```\n6. **Open a pull request**\n\n**Code of Conduct:**  \nPlease be respectful and follow our [Code of Conduct](CODE_OF_CONDUCT.md).\n\n**Issues & Suggestions:**  \nOpen an issue for bugs, questions, or feature requests.\n\n---\n\n## License\n\nThis project is licensed under the [INSERT LICENSE](link to relevant license information).\n\n---\n\n## Contact\n\n- **Maintainer:** [Your Name](mailto:your@email.com)\n- **Project Link:** https://github.com/your-username/your-repo-name\n\n---\n````\n\n## Pour approfondir\n\n* [Ingénierie rapide pour GitHub Copilot Chat](/fr/copilot/using-github-copilot/prompt-engineering-for-github-copilot)\n* [Meilleures pratiques pour l’utilisation de GitHub Copilot](/fr/copilot/using-github-copilot/best-practices-for-using-github-copilot)"}