Skip to content

Commit d0f60be

Browse files
committed
fix it
1 parent 150a206 commit d0f60be

14 files changed

Lines changed: 112 additions & 597 deletions

.github/chatmodes/create_instructions.chatmode.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/copilot-instructions.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,19 @@
33
- Write comprehensive tests
44
- Use meaningful variable names
55

6+
## Project-Specific instructions
7+
Check the following files for any project-specific coding standards or guidelines:
8+
- .github/instructions/project/instructions.md
9+
- If no project-specific conventions are defined there, use the general and language-specific best practices referenced below.
10+
- Language-specific instructions may also be found in the language-specific instruction files listed below. Always check those for any additional guidelines or standards that may apply to your codebase.
11+
612
## Language-Specific Instructions
713
Always follow security best practices as outlined in:
8-
- .github/instructions/general/SECURITY.md
14+
- .github/instructions/general/security.instructions.md
915
Follow additional language-specific guidelines in:
10-
- .github/instructions/language-specific/INSTRUCTIONS-CDK.md
11-
- .github/instructions/language-specific/INSTRUCTIONS-CLOUDFORMATION.md
12-
- .github/instructions/language-specific/INSTRUCTIONS-JAVA.md
13-
- .github/instructions/language-specific/INSTRUCTIONS-KOTLIN.md
14-
- .github/instructions/language-specific/INSTRUCTIONS-PYTHON.md
15-
- .github/instructions/language-specific/INSTRUCTIONS-TERRAFORM.md
16-
- .github/instructions/language-specific/INSTRUCTIONS-SAM.md
17-
- .github/instructions/language-specific/INSTRUCTIONS-TYPESCRIPT.md
18-
19-
## Project-Specific Rules
20-
- Use our custom logging service
21-
- Follow our specific API patterns
22-
- Use project-specific error handling
16+
- .github/instructions/languages/cdk.instructions.md
17+
- .github/instructions/languages/cloudformation.instructions.md
18+
- .github/instructions/languages/python.instructions.md
19+
- .github/instructions/languages/terraform.instructions.md
20+
- .github/instructions/languages/sam.instructions.md
21+
- .github/instructions/languages/typescript.instructions.md

.github/instructions/general/SECURITY.md renamed to .github/instructions/general/security.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
applyTo: '*'
2+
applyTo: '**/*'
33
description: "Comprehensive secure coding instructions for all languages and frameworks, based on OWASP Top 10 and industry best practices."
44
---
55
# Secure Coding and OWASP Guidelines

.github/instructions/instructions.intstructions.md

Lines changed: 0 additions & 257 deletions
This file was deleted.

0 commit comments

Comments
 (0)