Skip to content

Added a few Copilot promts from awesome-copilot#1702

Open
Hedda wants to merge 5 commits intozigpy:devfrom
Hedda:patch-66
Open

Added a few Copilot promts from awesome-copilot#1702
Hedda wants to merge 5 commits intozigpy:devfrom
Hedda:patch-66

Conversation

@Hedda
Copy link
Copy Markdown
Contributor

@Hedda Hedda commented Nov 3, 2025

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.md file which should help you use as a reusable promt for GitHub Copilot able to regularly generate a new/updated standardized copilot-instructions.md file for the zigpy repository (and that Copilot promt can also be reuse for other zigpy/zha repos). As per the discussion in -> #1692

  • copilot-instructions-blueprint-generator.prompt.md copilot-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.

    • Technology-agnostic blueprint generator for creating comprehensive copilot-instructions.md files that guide GitHub Copilot to produce code consistent with project standards, architecture patterns, and exact technology versions by analyzing existing codebase patterns and avoiding assumptions.
  • create-agentsmd.prompt.md AGENTS.md prompt for repository setup - Added a comprehensive AGENTS.md prompt for repository guidance. Prompt for generating an AGENTS.md file for a repository

  • create-specification.prompt.md AI-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.md review-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 instructions

  • update-specification.prompt.md update 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.

Hedda added 5 commits November 3, 2025 11:54
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
Copy link
Copy Markdown

codecov bot commented Nov 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.31%. Comparing base (a78dd9f) to head (4155439).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Hedda
Copy link
Copy Markdown
Contributor Author

Hedda commented Nov 4, 2025

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant