Skip to content

Commit f5a2607

Browse files
committed
Add security review references for secret detection patterns, vulnerability categories, and vulnerable packages
- Created `secret-patterns.md` for high-confidence secret patterns and entropy-based detection. - Added `vuln-categories.md` detailing various vulnerability types and detection guidance. - Introduced `vulnerable-packages.md` listing known vulnerable packages across multiple ecosystems. - Implemented skills for suggesting relevant GitHub Copilot agents, instructions, and skills based on repository context. - Each skill includes processes for fetching, comparing, and validating against existing local resources.
1 parent 00f3ad0 commit f5a2607

95 files changed

Lines changed: 13209 additions & 1229 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
description: Generate a map of all files relevant to a task before making changes
3+
metadata:
4+
github-path: skills/context-map
5+
github-ref: refs/heads/main
6+
github-repo: https://github.com/github/awesome-copilot
7+
github-tree-sha: 8b684d625e209fc960011407e2e504fa2ff2cad8
8+
name: context-map
9+
---
10+
# Context Map
11+
12+
Before implementing any changes, analyze the codebase and create a context map.
13+
14+
## Task
15+
16+
{{task_description}}
17+
18+
## Instructions
19+
20+
1. Search the codebase for files related to this task
21+
2. Identify direct dependencies (imports/exports)
22+
3. Find related tests
23+
4. Look for similar patterns in existing code
24+
25+
## Output Format
26+
27+
```markdown
28+
## Context Map
29+
30+
### Files to Modify
31+
| File | Purpose | Changes Needed |
32+
|------|---------|----------------|
33+
| path/to/file | description | what changes |
34+
35+
### Dependencies (may need updates)
36+
| File | Relationship |
37+
|------|--------------|
38+
| path/to/dep | imports X from modified file |
39+
40+
### Test Files
41+
| Test | Coverage |
42+
|------|----------|
43+
| path/to/test | tests affected functionality |
44+
45+
### Reference Patterns
46+
| File | Pattern |
47+
|------|---------|
48+
| path/to/similar | example to follow |
49+
50+
### Risk Assessment
51+
- [ ] Breaking changes to public API
52+
- [ ] Database migrations needed
53+
- [ ] Configuration changes required
54+
```
55+
56+
Do not proceed with implementation until this map is reviewed.

.github/prompts/conventional-commit.prompt.md renamed to .agents/skills/conventional-commit/SKILL.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
---
2-
description: 'Prompt and workflow for generating conventional commit messages using a structured XML format. Guides users to create standardized, descriptive commit messages in line with the Conventional Commits specification, including instructions, examples, and validation.'
3-
tools: ['run_in_terminal', 'get_terminal_output']
2+
description: Prompt and workflow for generating conventional commit messages using a structured XML format. Guides users to create standardized, descriptive commit messages in line with the Conventional Commits specification, including instructions, examples, and validation.
3+
metadata:
4+
github-path: skills/conventional-commit
5+
github-ref: refs/heads/main
6+
github-repo: https://github.com/github/awesome-copilot
7+
github-tree-sha: 2dd6528ab4c12198e4805ea62739f7c51d0dd51d
8+
name: conventional-commit
49
---
5-
610
### Instructions
711

812
```xml
913
<description>This file contains a prompt template for generating conventional commit messages. It provides instructions, examples, and formatting guidelines to help users write standardized, descriptive commit messages in accordance with the Conventional Commits specification.</description>
10-
<note>
1114
```
1215

1316
### Workflow

0 commit comments

Comments
 (0)