72 Commits

Author SHA1 Message Date
Paulo Morgado
f1c532cf57
Update csharp-docs.prompt.md (#91)
* Update csharp-docs.prompt.md

Use `<see langword>` for languange specific keywords like `null`, `true`, `false`, `int`, `bool`, etc.

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Aaron Powell <me@aaron-powell.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-14 08:21:58 +10:00
Michael A. Volz (Flynn)
05f6814338
Add C# TUnit testing prompt template (#88)
* feat: add C# TUnit testing prompt template

- Added csharp-tunit.prompt.md with structured prompt template
- Provides testing guidelines and best practices for C# development using TUnit framework
- Includes comprehensive testing patterns for .NET projects

* docs: add TUnit entry to README.md

- Added TUnit Best Practices entry after NUnit and before XUnit
- References prompts/csharp-tunit.prompt.md with proper description
- Includes VS Code and VS Code Insiders installation badges

* move: relocate TUnit prompt to prompts directory

- Move csharp-tunit.prompt.md from root to prompts/ directory
- Follow established project organization pattern
- All prompt files should be in the prompts directory
2025-07-14 08:13:03 +10:00
Vamshi Verma
c321e2a0a2
feat: Add AI Prompt Engineering Safety Best Practices (#87)
* feat: Add comprehensive AI Prompt Engineering & Safety Best Practices

- Add 868-line instruction file covering prompt engineering fundamentals, safety, bias mitigation, security, and responsible AI usage
- Add 527-line expert chat mode for prompt analysis and improvement with systematic evaluation frameworks
- Include detailed templates, checklists, examples, and educational resources
- Follow industry best practices from Microsoft, OpenAI, and Google AI principles
- Implement comprehensive safety assessment frameworks and bias detection tools
- Add advanced techniques: prompt chaining, templates, versioning, and testing frameworks
- Provide extensive references to official guidelines, research papers, and community resources
- Strictly comply with project guidelines (CONTRIBUTING.md, SECURITY.md, SUPPORT.md)

Total: 1,395 lines of professional-grade prompt engineering guidance

* feat: add comprehensive AI prompt engineering safety best practices instruction

- Add 868-line comprehensive instruction file covering prompt engineering fundamentals
- Include safety frameworks, bias mitigation, security best practices, and responsible AI usage
- Provide detailed templates, checklists, and testing methodologies
- Cover anti-patterns, prompt injection prevention, and ethical considerations
- Add educational content on prompt patterns, validation techniques, and documentation
- Include practical examples and real-world scenarios for developers
- Rename file to avoid conflict with existing prompt-engineer chat mode
- Update README with new instruction file

This instruction provides developers with industry-standard best practices for creating safe, effective, and responsible AI prompts for Copilot and other LLMs.

* fix: restore original prompt-engineer chat mode to match upstream

- Restore the original prompt-engineer.chatmode.md from upstream/main
- Remove overwritten comprehensive version to avoid duplication and conflict
- Ensure only the official, simple prompt engineer chat mode is present

All advanced prompt engineering best practices are now in the new instruction file only.

* chore: regenerate README after restoring original prompt engineer chat mode

- Re-run update-readme.js to ensure only the correct, original description for prompt-engineer.chatmode.md is present
- Remove any duplicate or outdated descriptions from previous comprehensive version
- README is now fully in sync with the restored chat mode and current repo state

* feat: add comprehensive AI prompt engineering safety review prompt

- Add 150+ line prompt file for AI prompt engineering safety review and improvement
- Include systematic analysis framework covering safety, bias, security, and effectiveness
- Provide structured output format with detailed assessment criteria
- Include safety guidelines, testing recommendations, and educational insights
- Complement the existing AI prompt engineering safety best practices instruction
- Follow repository guidelines and best practices for prompt creation

This prompt enables developers to systematically review and improve prompts for safety, bias mitigation, security, and responsible AI usage.

* feat: expand AI prompt engineering safety review prompt with comprehensive analysis

- Expand prompt from basic to comprehensive 200+ line analysis framework
- Add advanced pattern analysis covering zero-shot, few-shot, chain-of-thought, role-based patterns
- Include technical robustness assessment (input validation, error handling, scalability)
- Add performance optimization metrics (token efficiency, response quality, consistency)
- Enhance output format with detailed scoring and assessment criteria
- Include bias mitigation strategies, security enhancements, and technical improvements
- Provide extensive testing recommendations and educational insights
- Follow repository guidelines for comprehensive, actionable prompt content

This expanded prompt provides developers with a thorough, systematic approach to prompt safety review and improvement.
2025-07-14 08:11:20 +10:00
Yohan Lasorsa
891f2325fc
Add review and refactor prompt for code maintenance guidelines (#83)
* Add review and refactor prompt for code maintenance guidelines

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Aaron Powell <me@aaron-powell.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-14 07:57:45 +10:00
Yohan Lasorsa
dda354e33f
Add prompt for creating a comprehensive README.md file (#82)
* Add prompt for creating a comprehensive README.md file

* Update readme

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Aaron Powell <me@aaron-powell.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-14 07:56:13 +10:00
Will 保哥
79cabf68d4
fix typo in prompts/create-spring-boot-kotlin-project.prompt.md file (#73) 2025-07-11 09:18:27 +10:00
Eldrick Wega
ec7b16c568
Add Azure Resource Health & Issue Diagnosis prompt (#60)
* Add Azure Resource Health & Issue Diagnosis prompt

* Remove Azure Resource Health & Issue Diagnosis prompt from README

* Ran node update-readme.js
2025-07-08 12:03:21 +10:00
Jakub Jareš
064bbfe7eb
Update csharp-mstest.prompt.md (#43)
* Update csharp-mstest.prompt.md

Update to align with our current recommendations on how to use MSTest.

* remove csvDataSource, fix list style
2025-07-08 11:52:35 +10:00
Joseph Gonzales
1ba5cc78ff
new java and springboot base best practices (#22)
* new java and springboot base best practices

* Update java-and-springboot.md

* Update java-and-springboot.md

* split  java and springboot instructions

* header wrap with signle quote

* remove duplicate instruction

* address code reviews

* apply  update-readme script

* java and kotlin prompts for springboot

* apply update-readme  script

* Apply suggestion from @aaronpowell

---------

Co-authored-by: Aaron Powell <me@aaron-powell.com>
2025-07-08 11:50:30 +10:00
Daniel Scott-Raynsford
e1c7c7a50e
Add 18 new prompts files (#56)
* Add prompts for .NET best practices, design pattern review, and GitHub Copilot suggestions

- Introduced a comprehensive prompt for ensuring .NET/C# code adheres to best practices, covering documentation, design patterns, dependency injection, resource management, async patterns, testing standards, configuration, AI integration, error handling, performance, security, and code quality.
- Added a prompt for reviewing C#/.NET code for design pattern implementation, providing a checklist for required patterns, architecture, best practices, SOLID principles, performance, maintainability, testability, security, documentation, code clarity, and clean code.
- Created prompts for suggesting relevant GitHub Copilot chatmodes and prompts based on the current repository context, including a structured process for fetching available chatmodes/prompts, scanning local files, and presenting options with rationale.
- Developed a prompt for updating Azure Verified Modules (AVM) in Bicep files, detailing the process for scanning, checking for updates, validating, and handling breaking changes.
- Implemented a prompt for updating implementation plans with new requirements, ensuring machine-readable output and adherence to a strict template.
- Added a prompt for updating the llms.txt file to reflect changes in documentation or specifications, focusing on compliance with the llmstxt specification.
- Created a prompt for updating markdown file indices with files from specified folders, including options for table structures and update strategies.
- Developed a prompt for updating object-oriented component documentation, following industry best practices and ensuring alignment with current implementations.
- Added a prompt for updating specification files, emphasizing clarity, structure, and compliance with established documentation standards.

* CHANGE: Update implementation plan prompt formatting

- Renamed prompt title for clarity.
- Added spacing for improved readability.
- Enhanced structure to ensure compliance with template validation rules.

* CHANGE: Fix typo in .NET best practices prompt

- Corrected "soltion" to "solution" in the prompt description.
2025-07-07 16:17:09 +10:00
黃健旻 Vincent Huang
4daef65892
Add Spring Boot Java and Kotlin project prompt with setup instructions and configurations (#52)
* Add Spring Boot Java project prompt with setup instructions and configurations

* Add prompt for creating Spring Boot Kotlin project skeleton

---------

Co-authored-by: Vincent Huang iMac <vincent.huang@opennet.tw>
2025-07-07 10:08:03 +10:00
Tugdual Grall
6c2d8e0147
Add prompt for adding a new language to Next.js using next-intl (#34)
* Add prompt for adding a new language to Next.js using next-intl

* Update README and prompt for Next.js i18n integration with next-intl
2025-07-04 09:14:30 +10:00
Aaron Powell
04c5757e2c
enforcing style rules (#32)
* Fixing line endings and removing dead code

* Missing descriptions due to line endings

* Enforcing that the line endings should be LF

* Potential fix for code scanning alert no. 18: Workflow does not contain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Fixing readme generator

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-07-03 12:15:05 +10:00
Mike Kistler
99fb7e177e
Update minimal API prompt for .NET 9 OpenAPI document generation (#6)
* Update minimal API prompt for .NET 9 OpenAPI document generation

* Drop guidance on parameter binding attributes

---------

Co-authored-by: Aaron Powell <me@aaron-powell.com>
2025-07-03 12:12:52 +10:00
James Montemagno
6fb794bc79
Update development instructions and guidelines (#29)
* Delete outdated development instructions for Next.js + Tailwind and Python; add comprehensive guidelines for PostgreSQL DBA, Angular, ASP.NET REST APIs, Azure Functions with TypeScript, Bicep, Blazor, CMake with vcpkg, C#, .NET MAUI, GenAIScript, Terraform for Azure, localization, and markdown standards.

* Update documentation and prompts for consistency and clarity

- Standardized description formatting in various markdown files to use single quotes.
- Added error handling utility in update-readme.js for safer file operations.
- Improved title extraction logic in update-readme.js to handle frontmatter more robustly.
- Updated chat modes section in README to reflect new emoji and sorted chat mode links.
- Cleaned up various instruction files for better readability and consistency.
- Ensured all markdown files end with a newline for better compatibility with version control.

* Remove standardize-frontmatter.js script

* Add usage instructions for creating and switching chat modes in README.md

* Update README.md generation script to enhance instructions and usage details for custom chat modes

* Update README.md and update-readme.js for improved instruction clarity and consistency

* Refactor README.md links and update readme script for improved clarity and consistency in instructions

* Update README.md and update-readme.js for improved instruction clarity and consistency

* Changing from a patch to regen approach for the readme

* Bit more cleanup for how to show things in the readme

* Adding missing description

* Another missing description

---------

Co-authored-by: Aaron Powell <me@aaron-powell.com>
2025-07-03 11:18:52 +10:00
Aaron Powell
e30b801289 fixing grammar 2025-07-02 20:40:53 +10:00
Aaron Powell
9b202e88d5 C# member documentatino prompt 2025-07-02 20:39:00 +10:00
danielmeppiel
7128f5b837 Add Azure Cost Optimization prompt and enhance IaC file handling instructions 2025-07-02 11:02:02 +02:00
danielmeppiel
fdca96c3c9 Add Azure Cost Optimization workflow prompt with detailed steps and error handling 2025-07-02 09:57:38 +02:00
Aaron Powell
35a68f09a8 Adding some github mcp-based prompts 2025-06-27 10:49:08 +10:00
Aaron Powell
9872a77825 Improving the tools for prompts 2025-06-26 15:49:51 +10:00
Aaron Powell
4c8ad05afd Initial setup of repo with prompts and instructions 2025-06-19 11:50:55 +10:00