Skip to content

Commit 6c3b94a

Browse files
Clean GHCP instructions files
1 parent e5c1e9e commit 6c3b94a

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
applyTo: "**/*.bicep"
2+
description: 'Infrastructure as Code with Bicep'
3+
applyTo: '**/*.bicep'
34
---
45

56
# Copilot Instructions (Bicep)

.github/copilot-instructions.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ This instructions file is designed to guide GitHub Copilot's behavior specifical
1919

2020
## Instruction Hierarchy
2121

22+
- When the user asks about **Python**, prefer guidance and examples from [python instructions](./python.instructions.md).
23+
- When the user asks about **Bicep**, prefer guidance and examples from [bicep instructions](./bicep.instructions.md).
24+
- When other languages are used, look for a relevant instructions file to be included. The format is `./[language].instructions.md` where `[language]` acts as a placeholder. Also consider synonyms
25+
such as `JavaScript`, `JScript`, etc.
26+
2227
In case of any conflicting instructions, the following hierarchy shall apply. If a conflict cannot be resolved by this hierarchy, please prompt the user and ask for their situational preference.
2328

2429
1. Individualized instructions (e.g. a developer's or an organization's instruction file(s)), if present
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
applyTo: "**/*.py"
2+
description: 'Python coding conventions and guidelines'
3+
applyTo: '**/*.py'
34
---
45

56
# Copilot Instructions (Python)

0 commit comments

Comments
 (0)