You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,3 +93,31 @@ All tracking files use markdown format with frontmatter and follow patterns from
93
93
94
94
PowerShell scripts follow PSScriptAnalyzer rules from `PSScriptAnalyzer.psd1` and include proper comment-based help. Validation runs via `npm run psscriptanalyzer` with results output to `logs/`.
95
95
<!-- </script-operations> -->
96
+
97
+
<!-- <coding-agent-environment> -->
98
+
## Coding Agent Environment
99
+
100
+
Copilot Coding Agent uses a cloud-based GitHub Actions environment, separate from the local devcontainer. The `.github/workflows/copilot-setup-steps.yml` workflow pre-installs tools to match devcontainer capabilities.
101
+
102
+
### Pre-installed Tools
103
+
104
+
* Node.js 20 with npm dependencies from `package.json`
105
+
* Python 3.11
106
+
* PowerShell 7 with Pester 5.7.1 and PowerShell-Yaml modules
107
+
* shellcheck for bash script validation (pre-installed on ubuntu-latest)
108
+
109
+
### Using npm Scripts
110
+
111
+
Agents should use npm scripts for all validation:
112
+
113
+
*`npm run lint:md` - Markdown linting
114
+
*`npm run lint:ps` - PowerShell analysis
115
+
*`npm run lint:yaml` - YAML validation
116
+
*`npm run lint:frontmatter` - Frontmatter validation
117
+
*`npm run lint:all` - Run all linters
118
+
*`npm run test:ps` - PowerShell tests
119
+
120
+
### Environment Synchronization
121
+
122
+
The `copilot-setup-steps.yml` mirrors tools from `.devcontainer/scripts/on-create.sh` and `.devcontainer/scripts/post-create.sh`. When adding tools to the devcontainer, update the setup workflow to maintain parity.
0 commit comments