Added a few Copilot promts from awesome-copilot#1702
Open
Added a few Copilot promts from awesome-copilot#1702
Conversation
Added a technology-agnostic blueprint generator for creating copilot-instructions.md files. This generator guides GitHub Copilot to produce code consistent with project standards and architecture by analyzing existing codebase patterns. Sourced from GitHub's awesome-copilot project https://github.com/github/awesome-copilot/blob/main/prompts/copilot-instructions-blueprint-generator.prompt.md
Added a comprehensive AGENTS.md prompt for repository guidance. Sourced from GitHub's awesome-copilot project https://github.com/github/awesome-copilot/blob/main/prompts/
Added a prompt for creating AI-optimized specification files, outlining best practices and a structured template. Sourced from GitHub's awesome-copilot project https://github.com/github/awesome-copilot/blob/main/prompts/
Added a prompt for reviewing and refactoring code with guidelines. Sourced from GitHub's awesome-copilot project https://github.com/github/awesome-copilot/blob/main/prompts/
Added a prompt for updating specification files optimized for Generative AI consumption, including best practices and a structured template. Sourced from GitHub's awesome-copilot project https://github.com/github/awesome-copilot/blob/main/prompts/
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #1702 +/- ##
=======================================
Coverage 99.31% 99.31%
=======================================
Files 63 63
Lines 12184 12184
=======================================
Hits 12100 12100
Misses 84 84 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Author
|
Since these are "reusable promts" maybe they should first be published in their own repo similar to the reusable workflows repo? Perhaps a good idea if some or all these "reusable promts" are possibly acceptable for multiple repos in the zigpy organization? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a few specific unmodified "reusable prompts" from GitHub's awesome-copilot project for Copilot and other AI coding agents (that also zigbee-herdsman recently added to their repo as well as reusable prompts for Copilot):
The key Copilot promt here though is in
copilot-instructions-blueprint-generator.prompt.mdfile which should help you use as a reusable promt for GitHub Copilot able to regularly generate a new/updated standardizedcopilot-instructions.mdfile for the zigpy repository (and that Copilot promt can also be reuse for other zigpy/zha repos). As per the discussion in -> #1692copilot-instructions-blueprint-generator.prompt.mdcopilot-instructions blueprint generator - Added a technology-agnostic blueprint generator for creating copilot-instructions.md files. This generator guides GitHub Copilot to produce code consistent with project standards and architecture by analyzing existing codebase patterns.create-agentsmd.prompt.mdAGENTS.md prompt for repository setup - Added a comprehensive AGENTS.md prompt for repository guidance. Prompt for generating an AGENTS.md file for a repositorycreate-specification.prompt.mdAI-optimized specification prompt - Added a prompt for creating AI-optimized specification files, outlining best practices and a structured template. Create a new specification file for the solution, optimized for Generative AI consumption.review-and-refactor.prompt.mdreview-and-refactor prompt for code maintenance - Added a prompt for reviewing and refactoring code with guidelines. Review and refactor code in your project according to defined instructionsupdate-specification.prompt.mdupdate specification prompt for Generative AI - Added a prompt for updating specification files optimized for Generative AI consumption, including best practices and a structured template. Update an existing specification file for the solution, optimized for Generative AI consumption based on new requirements or updates to any existing code.