You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+29-38Lines changed: 29 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Enhance your GitHub Copilot experience with community-contributed instructions,
6
6
7
7
GitHub Copilot provides three main ways to customize AI responses and tailor assistance to your specific workflows, team guidelines, and project requirements:
| Define common guidelines for tasks like code generation, reviews, and commit messages. Describe *how* tasks should be performed<br><br>**Benefits:**<br>• Automatic inclusion in every chat request<br>• Repository-wide consistency<br>• Multiple implementation options | Create reusable, standalone prompts for specific tasks. Describe *what* should be done with optional task-specific guidelines<br><br>**Benefits:**<br>• Eliminate repetitive prompt writing<br>• Shareable across teams<br>• Support for variables and dependencies | Define chat behavior, available tools, and codebase interaction patterns within specific boundaries for each request<br><br>**Benefits:**<br>• Context-aware assistance<br>• Tool configuration<br>• Role-specific workflows |
12
12
@@ -21,50 +21,42 @@ We welcome contributions! Please see our [Contributing Guide](./CONTRIBUTING.md)
21
21
22
22
Team and project-specific instructions to enhance GitHub Copilot's behavior for specific technologies and coding practices:
23
23
24
-
-[Angular Development Instructions](instructions/angular.md) - Angular-specific coding standards and best practices
25
-
-[ASP.NET REST API Development](instructions/aspnet-rest-apis.md) - Guidelines for building REST APIs with ASP.NET
26
-
-[Azure Functions Typescript](instructions/azure-functions-typescript.md) - TypeScript patterns for Azure Functions
27
-
-[Bicep Code Best Practices](instructions/bicep-code-best-practices.md) - Infrastructure as Code with Bicep
28
-
-[Blazor](instructions/blazor.md) - Blazor component and application patterns
29
-
-[Cmake Vcpkg](instructions/cmake-vcpkg.md) - C++ project configuration and package management
24
+
-[Angular Development Instructions](instructions/angular.instructions.md) - Angular-specific coding standards and best practices
25
+
-[ASP.NET REST API Development](instructions/aspnet-rest-apis.instructions.md) - Guidelines for building REST APIs with ASP.NET
26
+
-[Azure Functions Typescript](instructions/azure-functions-typescript.instructions.md) - TypeScript patterns for Azure Functions
27
+
-[Bicep Code Best Practices](instructions/bicep-code-best-practices.instructions.md) - Infrastructure as Code with Bicep
28
+
-[Blazor](instructions/blazor.instructions.md) - Blazor component and application patterns
29
+
-[Cmake Vcpkg](instructions/cmake-vcpkg.instructions.md) - C++ project configuration and package management
30
30
-[Copilot Process tracking Instructions](instructions/copilot-thought-logging.instructions.md) - See process Copilot is following where you can edit this to reshape the interaction or save when follow up may be needed
31
-
-[C# Development](instructions/csharp.md) - Guidelines for building C# applications
32
-
-[Dotnet Maui](instructions/dotnet-maui.md) - MAUI component and application patterns
-[Generate Modern Terraform Code For Azure](instructions/generate-modern-terraform-code-for-azure.md) - Guidelines for generating modern Terraform code for Azure
35
-
-[Guidance for Localization](instructions/localization.md) - Guidelines for localizing markdown documents
36
-
-[Markdown](instructions/markdown.md) - Documentation and content creation standards
37
-
-[Next.js + Tailwind Development Instructions](instructions/nextjs-tailwind.md) - Next.js + Tailwind development standards and instructions
38
-
-[Python Coding Conventions](instructions/python.md) - Python coding conventions and guidelines
39
-
31
+
-[C# Development](instructions/csharp.instructions.md) - Guidelines for building C# applications
32
+
-[.NET MAUI](instructions/dotnet-maui.instructions.md) - .NET MAUI component and application patterns
-[Generate Modern Terraform Code For Azure](instructions/generate-modern-terraform-code-for-azure.instructions.md) - Guidelines for generating modern Terraform code for Azure
35
+
-[Guidance for Localization](instructions/localization.instructions.md) - Guidelines for localizing markdown documents
36
+
-[Markdown](instructions/markdown.instructions.md) - Documentation and content creation standards
37
+
-[Next.js + Tailwind Development Instructions](instructions/nextjs-tailwind.instructions.md) - Next.js + Tailwind development standards and instructions
38
+
-[Python Coding Conventions](instructions/python.instructions.md) - Python coding conventions and guidelines
40
39
41
40
> 💡 **Usage**: Copy these instructions to your `.github/copilot-instructions.md` file or create task-specific `.github/.instructions.md` files in your workspace's `.github/instructions` folder.
42
41
43
42
## 🎯 Reusable Prompts
44
43
45
44
Ready-to-use prompt templates for specific development scenarios and tasks, defining prompt text with a specific mode, model, and available set of tools.
46
45
47
-
### Backend Development
48
-
-[ASP.NET Minimal API with OpenAPI](prompts/aspnet-minimal-api-openapi.prompt.md) - Generate API endpoints with proper documentation
49
-
-[Entity Framework Core Best Practices](prompts/ef-core.prompt.md) - Database operations and ORM patterns
50
-
-[Multi-Stage Dockerfile](prompts/multi-stage-dockerfile.prompt.md) - Optimized container builds for any technology
51
-
52
-
### Testing & Quality
53
-
-[C# Async Programming](prompts/csharp-async.prompt.md) - Asynchronous programming best practices
54
-
-[MSTest Best Practices](prompts/csharp-mstest.prompt.md) - MSTest unit testing with data-driven tests
55
-
-[NUnit Best Practices](prompts/csharp-nunit.prompt.md) - NUnit testing patterns and assertions
56
-
-[XUnit Best Practices](prompts/csharp-xunit.prompt.md) - XUnit testing with modern C# features
57
-
-[JavaScript/TypeScript Jest](prompts/javascript-typescript-jest.prompt.md) - Jest testing patterns, mocking, and structure
58
-
59
-
### Documentation & Project Management
60
-
-[Comment Code Generate Tutorial](prompts/comment-code-generate-a-tutorial.prompt.md) - Transform code into educational content
61
-
-[Generate Specs as Issues](prompts/gen-specs-as-issues.prompt.md) - Convert requirements into GitHub issues
46
+
-[ASP.NET Minimal API with OpenAPI](prompts/aspnet-minimal-api-openapi.prompt.md) - Create ASP.NET Minimal API endpoints with proper OpenAPI documentation
47
+
-[Azure Cost Optimize](prompts/az-cost-optimize.prompt.md) - Analyze Azure resources used in the app (IaC files and/or resources in a target rg) and optimize costs - creating GitHub issues for identified optimizations.
48
+
-[Comment Code Generate A Tutorial](prompts/comment-code-generate-a-tutorial.prompt.md) - Transform this Python script into a polished, beginner-friendly project by refactoring the code, adding clear instructional comments, and generating a complete markdown tutorial.
49
+
-[C# Async Programming Best Practices](prompts/csharp-async.prompt.md) - Get best practices for C# async programming
50
+
-[C# Documentation Best Practices](prompts/csharp-docs.prompt.md) - Ensure that C# types are documented with XML comments and follow best practices for documentation.
51
+
-[MSTest Best Practices](prompts/csharp-mstest.prompt.md) - Get best practices for MSTest unit testing, including data-driven tests
52
+
-[NUnit Best Practices](prompts/csharp-nunit.prompt.md) - Get best practices for NUnit unit testing, including data-driven tests
53
+
-[XUnit Best Practices](prompts/csharp-xunit.prompt.md) - Get best practices for XUnit unit testing, including data-driven tests
54
+
-[Entity Framework Core Best Practices](prompts/ef-core.prompt.md) - Get best practices for Entity Framework Core
55
+
-[Product Manager Assistant: Feature Identification and Specification](prompts/gen-specs-as-issues.prompt.md) - This workflow guides you through a systematic approach to identify missing features, prioritize them, and create detailed specifications for implementation.
56
+
-[Javascript Typescript Jest](prompts/javascript-typescript-jest.prompt.md) - Best practices for writing JavaScript/TypeScript tests using Jest, including mocking strategies, test structure, and common patterns.
57
+
-[Multi Stage Dockerfile](prompts/multi-stage-dockerfile.prompt.md) - Create optimized multi-stage Dockerfiles for any language or framework
-[C# Documentation Best Practices](prompts/csharp-docs.prompt.md) - Ensure that C# types are documented with XML comments and follow best practices for documentation.
65
-
66
-
### FinOps
67
-
-[Azure Cost Optimize](prompts/az-cost-optimize.prompt.md) - Analyze Azure resources used in the app (IaC files and/or resources in a target rg) and optimize costs - creating GitHub issues for identified optimizations.
68
60
69
61
> 💡 **Usage**: Use `/prompt-name` in VS Code chat, run `Chat: Run Prompt` command, or hit the run button while you have a prompt open.
70
62
@@ -73,12 +65,11 @@ Ready-to-use prompt templates for specific development scenarios and tasks, defi
73
65
Custom chat modes define specific behaviors and tools for GitHub Copilot Chat, enabling enhanced context-aware assistance for particular tasks or workflows.
74
66
75
67
-[4.1 Beast Mode](chatmodes/4.1-Beast.chatmode.md) - A custom prompt to get GPT 4.1 to behave like a top-notch coding agent.
76
-
-[Database Administrator Chat Mode](chatmodes/PostgreSQL%20DBA.chatmode.md) - Work with PostgreSQL databases using the PostgreSQL extension.
77
68
-[Debug Mode Instructions](chatmodes/debug.chatmode.md) - Debug your application to find and fix a bug
78
69
-[Planning mode instructions](chatmodes/planner.chatmode.md) - Generate an implementation plan for new features or refactoring existing code.
70
+
-[PostgreSQL Database Administrator](chatmodes/postgresql-dba.chatmode.md) - Work with PostgreSQL databases using the PostgreSQL extension.
79
71
-[Refine Requirement or Issue Chat Mode](chatmodes/refine-issue.chatmode.md) - Refine the requirement or issue with Acceptance Criteria, Technical Considerations, Edge Cases, and NFRs
80
72
81
-
82
73
> 💡 **Usage**: Create new chat modes using the command `Chat: Configure Chat Modes...`, then switch your chat mode in the Chat input from _Agent_ or _Ask_ to your own mode.
83
74
84
75
## 📚 Additional Resources
@@ -103,4 +94,4 @@ This project may contain trademarks or logos for projects, products, or services
Copy file name to clipboardExpand all lines: SECURITY.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,4 +28,4 @@ This information will help us triage your report more quickly.
28
28
29
29
## Policy
30
30
31
-
See [GitHub's Safe Harbor Policy](https://docs.github.com/en/site-policy/security-policies/github-bug-bounty-program-legal-safe-harbor#1-safe-harbor-terms)
31
+
See [GitHub's Safe Harbor Policy](https://docs.github.com/en/site-policy/security-policies/github-bug-bounty-program-legal-safe-harbor#1-safe-harbor-terms)
Copy file name to clipboardExpand all lines: chatmodes/4.1-Beast.chatmode.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,4 +133,4 @@ I'm now checking to ensure that these changes will correctly update the UI when
133
133
4. Reuse previous context unless something has changed.
134
134
5. If redoing work, explain briefly *why* it’s necessary and proceed.
135
135
136
-
IMPORTANT: Do **not** return control the user until you have **fully completed the user's entire request**. All items in your todo list MUST be checked off. Failure to do so will result in a bad rating for you.
136
+
IMPORTANT: Do **not** return control the user until you have **fully completed the user's entire request**. All items in your todo list MUST be checked off. Failure to do so will result in a bad rating for you.
Before running any tools, use #extensions to ensure that `ms-ossdata.vscode-pgsql` is installed and enabled. This extension provides the necessary tools to interact with PostgreSQL databases. If it is not installed, ask the user to install it before continuing.
7
9
8
10
You are a PostgreSQL Database Administrator (DBA) with expertise in managing and maintaining PostgreSQL database systems. You can perform tasks such as:
0 commit comments