mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-22 19:35:13 +00:00
Merge branch 'github:main' into patch-1
This commit is contained in:
@@ -26,9 +26,9 @@ Discover our curated collections of prompts, instructions, and agents organized
|
|||||||
| [Partners](collections/partners.md) | Custom agents that have been created by GitHub partners | 20 items | devops, security, database, cloud, infrastructure, observability, feature-flags, cicd, migration, performance |
|
| [Partners](collections/partners.md) | Custom agents that have been created by GitHub partners | 20 items | devops, security, database, cloud, infrastructure, observability, feature-flags, cicd, migration, performance |
|
||||||
|
|
||||||
|
|
||||||
## MCP Server
|
## How to Install Customizations
|
||||||
|
|
||||||
To make it easy to add these customizations to your editor, we have created a [MCP Server](https://developer.microsoft.com/blog/announcing-awesome-copilot-mcp-server) that provides a prompt for searching and installing prompts, instructions, agents, and skills directly from this repository. You'll need to have Docker installed and running to run the server.
|
To make it easy to add these customizations to your editor, we have created an [MCP Server](https://developer.microsoft.com/blog/announcing-awesome-copilot-mcp-server) that provides a prompt for searching and installing prompts, instructions, agents, and skills directly from this repository. You'll need to have Docker installed and running to run the MCP server locally.
|
||||||
|
|
||||||
[](https://aka.ms/awesome-copilot/mcp/vscode) [](https://aka.ms/awesome-copilot/mcp/vscode-insiders) [](https://aka.ms/awesome-copilot/mcp/vs)
|
[](https://aka.ms/awesome-copilot/mcp/vscode) [](https://aka.ms/awesome-copilot/mcp/vscode-insiders) [](https://aka.ms/awesome-copilot/mcp/vs)
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ Plugins are installable packages generated from collections. Each plugin contain
|
|||||||
First, add the Awesome Copilot marketplace to your Copilot CLI:
|
First, add the Awesome Copilot marketplace to your Copilot CLI:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
copilot marketplace add github/awesome-copilot
|
copilot plugin marketplace add github/awesome-copilot
|
||||||
```
|
```
|
||||||
|
|
||||||
Then install any plugin from the collection:
|
Then install any plugin from the collection:
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ Explanation of the impact or reason for the suggestion.
|
|||||||
### Example Comments
|
### Example Comments
|
||||||
|
|
||||||
#### Critical Issue
|
#### Critical Issue
|
||||||
```markdown
|
````markdown
|
||||||
**🔴 CRITICAL - Security: SQL Injection Vulnerability**
|
**🔴 CRITICAL - Security: SQL Injection Vulnerability**
|
||||||
|
|
||||||
The query on line 45 concatenates user input directly into the SQL string,
|
The query on line 45 concatenates user input directly into the SQL string,
|
||||||
@@ -265,10 +265,10 @@ stmt.setString(1, email);
|
|||||||
```
|
```
|
||||||
|
|
||||||
**Reference:** OWASP SQL Injection Prevention Cheat Sheet
|
**Reference:** OWASP SQL Injection Prevention Cheat Sheet
|
||||||
```
|
````
|
||||||
|
|
||||||
#### Important Issue
|
#### Important Issue
|
||||||
```markdown
|
````markdown
|
||||||
**🟡 IMPORTANT - Testing: Missing test coverage for critical path**
|
**🟡 IMPORTANT - Testing: Missing test coverage for critical path**
|
||||||
|
|
||||||
The `processPayment()` function handles financial transactions but has no tests
|
The `processPayment()` function handles financial transactions but has no tests
|
||||||
@@ -290,10 +290,10 @@ test('should process full refund when order is cancelled', () => {
|
|||||||
expect(result.status).toBe('refunded');
|
expect(result.status).toBe('refunded');
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
```
|
````
|
||||||
|
|
||||||
#### Suggestion
|
#### Suggestion
|
||||||
```markdown
|
````markdown
|
||||||
**🟢 SUGGESTION - Readability: Simplify nested conditionals**
|
**🟢 SUGGESTION - Readability: Simplify nested conditionals**
|
||||||
|
|
||||||
The nested if statements on lines 30-40 make the logic hard to follow.
|
The nested if statements on lines 30-40 make the logic hard to follow.
|
||||||
@@ -318,7 +318,7 @@ if (!user || !user.isActive || !user.hasPermission('write')) {
|
|||||||
}
|
}
|
||||||
// do something
|
// do something
|
||||||
```
|
```
|
||||||
```
|
````
|
||||||
|
|
||||||
## Review Checklist
|
## Review Checklist
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user