Skip to content

Commit 08f12bb

Browse files
authored
Merge pull request #3 from fadwen/chore/sync-copilot-standards
chore: sync Copilot and Claude Code standards from standards repo
2 parents 3feec24 + ab86381 commit 08f12bb

33 files changed

Lines changed: 377 additions & 35 deletions
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
description: 'Comprehensive code quality analysis with expert-reviewed standards'
3+
argument-hint: '[file-or-code]'
4+
---
5+
6+
Run the shared prompt in @.github/prompts/code-analysis.prompt.md.
7+
8+
That file is written for GitHub Copilot Chat and is the only copy of the prompt. Apply it here as
9+
follows:
10+
11+
- Ignore its `agent` and `tools` frontmatter.
12+
- `${input:NAME:...}` is a value to collect. Take it from the arguments below when they supply it,
13+
otherwise ask before starting. The text after the name lists the choices or a placeholder, and a
14+
final segment after another colon is the default.
15+
- `${selection}` is the code the user selected or named in the arguments. `${fileBasename}` is the
16+
file that code lives in, and `${workspaceFolderBasename}` is the repository folder name.
17+
- If the contents of the prompt file are not shown above, read `.github/prompts/code-analysis.prompt.md`
18+
before doing anything else.
19+
20+
Arguments: $ARGUMENTS
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
description: 'Generates complete PowerShell module structure'
3+
argument-hint: '[moduleName] [purpose] [audience] [complexity]'
4+
---
5+
6+
Run the shared prompt in @.github/prompts/create-module.prompt.md.
7+
8+
That file is written for GitHub Copilot Chat and is the only copy of the prompt. Apply it here as
9+
follows:
10+
11+
- Ignore its `agent` and `tools` frontmatter.
12+
- `${input:NAME:...}` is a value to collect. Take it from the arguments below when they supply it,
13+
otherwise ask before starting. The text after the name lists the choices or a placeholder, and a
14+
final segment after another colon is the default.
15+
- `${selection}` is the code the user selected or named in the arguments. `${fileBasename}` is the
16+
file that code lives in, and `${workspaceFolderBasename}` is the repository folder name.
17+
- If the contents of the prompt file are not shown above, read `.github/prompts/create-module.prompt.md`
18+
before doing anything else.
19+
20+
Arguments: $ARGUMENTS
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
description: 'Generate comprehensive tests following modern PowerShell patterns'
3+
argument-hint: '[file-or-code] [testType] [coverage] [environment] [pesterVersion]'
4+
---
5+
6+
Run the shared prompt in @.github/prompts/create-test.prompt.md.
7+
8+
That file is written for GitHub Copilot Chat and is the only copy of the prompt. Apply it here as
9+
follows:
10+
11+
- Ignore its `agent` and `tools` frontmatter.
12+
- `${input:NAME:...}` is a value to collect. Take it from the arguments below when they supply it,
13+
otherwise ask before starting. The text after the name lists the choices or a placeholder, and a
14+
final segment after another colon is the default.
15+
- `${selection}` is the code the user selected or named in the arguments. `${fileBasename}` is the
16+
file that code lives in, and `${workspaceFolderBasename}` is the repository folder name.
17+
- If the contents of the prompt file are not shown above, read `.github/prompts/create-test.prompt.md`
18+
before doing anything else.
19+
20+
Arguments: $ARGUMENTS
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
description: 'Generates business workflow automation'
3+
argument-hint: '[process] [trigger] [integrations] [errorHandling]'
4+
---
5+
6+
Run the shared prompt in @.github/prompts/create-workflow.prompt.md.
7+
8+
That file is written for GitHub Copilot Chat and is the only copy of the prompt. Apply it here as
9+
follows:
10+
11+
- Ignore its `agent` and `tools` frontmatter.
12+
- `${input:NAME:...}` is a value to collect. Take it from the arguments below when they supply it,
13+
otherwise ask before starting. The text after the name lists the choices or a placeholder, and a
14+
final segment after another colon is the default.
15+
- `${selection}` is the code the user selected or named in the arguments. `${fileBasename}` is the
16+
file that code lives in, and `${workspaceFolderBasename}` is the repository folder name.
17+
- If the contents of the prompt file are not shown above, read `.github/prompts/create-workflow.prompt.md`
18+
before doing anything else.
19+
20+
Arguments: $ARGUMENTS
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
description: 'Creates enterprise-standard PowerShell function with modern best practices'
3+
argument-hint: '[functionName] [purpose] [parameters] [environment] [psVersion]'
4+
---
5+
6+
Run the shared prompt in @.github/prompts/new-function.prompt.md.
7+
8+
That file is written for GitHub Copilot Chat and is the only copy of the prompt. Apply it here as
9+
follows:
10+
11+
- Ignore its `agent` and `tools` frontmatter.
12+
- `${input:NAME:...}` is a value to collect. Take it from the arguments below when they supply it,
13+
otherwise ask before starting. The text after the name lists the choices or a placeholder, and a
14+
final segment after another colon is the default.
15+
- `${selection}` is the code the user selected or named in the arguments. `${fileBasename}` is the
16+
file that code lives in, and `${workspaceFolderBasename}` is the repository folder name.
17+
- If the contents of the prompt file are not shown above, read `.github/prompts/new-function.prompt.md`
18+
before doing anything else.
19+
20+
Arguments: $ARGUMENTS
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
description: 'PowerShell performance optimization with specific targets'
3+
argument-hint: '[file-or-code] [datasetSize] [performanceTarget] [environment] [criticality]'
4+
---
5+
6+
Run the shared prompt in @.github/prompts/optimize-performance.prompt.md.
7+
8+
That file is written for GitHub Copilot Chat and is the only copy of the prompt. Apply it here as
9+
follows:
10+
11+
- Ignore its `agent` and `tools` frontmatter.
12+
- `${input:NAME:...}` is a value to collect. Take it from the arguments below when they supply it,
13+
otherwise ask before starting. The text after the name lists the choices or a placeholder, and a
14+
final segment after another colon is the default.
15+
- `${selection}` is the code the user selected or named in the arguments. `${fileBasename}` is the
16+
file that code lives in, and `${workspaceFolderBasename}` is the repository folder name.
17+
- If the contents of the prompt file are not shown above, read `.github/prompts/optimize-performance.prompt.md`
18+
before doing anything else.
19+
20+
Arguments: $ARGUMENTS
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
description: 'Detailed performance analysis and benchmarking'
3+
argument-hint: '[file-or-code] [analysisScope] [metrics] [baseline] [target]'
4+
---
5+
6+
Run the shared prompt in @.github/prompts/performance-analysis.prompt.md.
7+
8+
That file is written for GitHub Copilot Chat and is the only copy of the prompt. Apply it here as
9+
follows:
10+
11+
- Ignore its `agent` and `tools` frontmatter.
12+
- `${input:NAME:...}` is a value to collect. Take it from the arguments below when they supply it,
13+
otherwise ask before starting. The text after the name lists the choices or a placeholder, and a
14+
final segment after another colon is the default.
15+
- `${selection}` is the code the user selected or named in the arguments. `${fileBasename}` is the
16+
file that code lives in, and `${workspaceFolderBasename}` is the repository folder name.
17+
- If the contents of the prompt file are not shown above, read `.github/prompts/performance-analysis.prompt.md`
18+
before doing anything else.
19+
20+
Arguments: $ARGUMENTS
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
description: 'Creates complete project scaffold with CI/CD'
3+
argument-hint: '[projectName] [projectType] [cicd] [deployment]'
4+
---
5+
6+
Run the shared prompt in @.github/prompts/scaffold-project.prompt.md.
7+
8+
That file is written for GitHub Copilot Chat and is the only copy of the prompt. Apply it here as
9+
follows:
10+
11+
- Ignore its `agent` and `tools` frontmatter.
12+
- `${input:NAME:...}` is a value to collect. Take it from the arguments below when they supply it,
13+
otherwise ask before starting. The text after the name lists the choices or a placeholder, and a
14+
final segment after another colon is the default.
15+
- `${selection}` is the code the user selected or named in the arguments. `${fileBasename}` is the
16+
file that code lives in, and `${workspaceFolderBasename}` is the repository folder name.
17+
- If the contents of the prompt file are not shown above, read `.github/prompts/scaffold-project.prompt.md`
18+
before doing anything else.
19+
20+
Arguments: $ARGUMENTS
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
description: 'Security analysis with modern PowerShell patterns'
3+
argument-hint: '[file-or-code] [complianceFramework] [environment]'
4+
---
5+
6+
Run the shared prompt in @.github/prompts/security-review.prompt.md.
7+
8+
That file is written for GitHub Copilot Chat and is the only copy of the prompt. Apply it here as
9+
follows:
10+
11+
- Ignore its `agent` and `tools` frontmatter.
12+
- `${input:NAME:...}` is a value to collect. Take it from the arguments below when they supply it,
13+
otherwise ask before starting. The text after the name lists the choices or a placeholder, and a
14+
final segment after another colon is the default.
15+
- `${selection}` is the code the user selected or named in the arguments. `${fileBasename}` is the
16+
file that code lives in, and `${workspaceFolderBasename}` is the repository folder name.
17+
- If the contents of the prompt file are not shown above, read `.github/prompts/security-review.prompt.md`
18+
before doing anything else.
19+
20+
Arguments: $ARGUMENTS
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
description: 'Validates code against PowerShell community standards'
3+
argument-hint: '[file-or-code]'
4+
---
5+
6+
Run the shared prompt in @.github/prompts/validate-standards.prompt.md.
7+
8+
That file is written for GitHub Copilot Chat and is the only copy of the prompt. Apply it here as
9+
follows:
10+
11+
- Ignore its `agent` and `tools` frontmatter.
12+
- `${input:NAME:...}` is a value to collect. Take it from the arguments below when they supply it,
13+
otherwise ask before starting. The text after the name lists the choices or a placeholder, and a
14+
final segment after another colon is the default.
15+
- `${selection}` is the code the user selected or named in the arguments. `${fileBasename}` is the
16+
file that code lives in, and `${workspaceFolderBasename}` is the repository folder name.
17+
- If the contents of the prompt file are not shown above, read `.github/prompts/validate-standards.prompt.md`
18+
before doing anything else.
19+
20+
Arguments: $ARGUMENTS

0 commit comments

Comments
 (0)