{"meta":{"title":"テンプレートの作成","intro":"Copilot Chat は、ワークフローを合理化し、プロジェクト全体の一貫性を確保するためのテンプレートを作成するのに役立ちます。","product":"GitHub Copilot","breadcrumbs":[{"href":"/ja/copilot","title":"GitHub Copilot"},{"href":"/ja/copilot/tutorials","title":"チュートリアル"},{"href":"/ja/copilot/tutorials/copilot-cookbook","title":"GitHub Copilot クックブック"},{"href":"/ja/copilot/tutorials/copilot-cookbook/communicate-effectively","title":"効率的なコミュニケーション"},{"href":"/ja/copilot/tutorials/copilot-cookbook/communicate-effectively/creating-templates","title":"テンプレートを作成する"}],"documentType":"article"},"body":"# テンプレートの作成\n\nCopilot Chat は、ワークフローを合理化し、プロジェクト全体の一貫性を確保するためのテンプレートを作成するのに役立ちます。\n\nGitHub Copilot Chat は、プロジェクト ドキュメント、コード スニペット、問題の追跡など、さまざまな目的でテンプレートを作成するのに役立ちます。 テンプレートを使うことで、ワークフローを効率化し、プロジェクト全体の整合性を確保できます。\n\n## サンプル シナリオ\n\nプロジェクトの説明、インストール手順、使用例、コントリビューション ガイドラインのセクションを含むプロジェクト README ファイルのテンプレートを作成しようと考えています。 ベスト プラクティスと特定の要件に基づいて README テンプレートを生成するように Copilot Chat に依頼できます。 このテンプレートをすべてのプロジェクト ドキュメントの出発点として使用できます。\n\n## プロンプトの例\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## 応答の例\n\n> \\[!NOTE] 次の応答は例です。 Copilot Chat の応答は非決定的であるため、ここで示したものとは異なる応答が返される可能性があります。\n\nCopilot では、構造化された README テンプレートが提供されます。 テンプレート Copilot Chat コピーして、プロジェクトのニーズに合わせてさらにカスタマイズできます。\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## 詳細については、次を参照してください。\n\n* [GitHub Copilot Chat のプロンプト エンジニアリング](/ja/copilot/concepts/prompting/prompt-engineering)\n* [GitHub Copilot の使用に関するベスト プラクティス](/ja/copilot/get-started/best-practices)"}