|
1 | | -# AI Instructions |
2 | | - |
3 | | -This file provides AI agent guidance for the project. Each instruction file below |
4 | | -targets specific file glob patterns and use cases. |
5 | | - |
6 | | -## Build & Test Workflow |
7 | | -- Run in PowerShell, from repository root |
8 | | -- Build before running tests: `.\build.ps1 -Tasks build` |
9 | | -- Always run tests in new PowerShell session: `Invoke-Pester -Path @({test paths}) -Output Detailed` |
10 | | - |
11 | | -## Instructions Overview |
12 | | - |
13 | | -The guidelines always take priority over existing code patterns in project. |
14 | | - |
| 1 | +# Requirements |
15 | 2 | - SqlServerDsc-specific guidelines override general project guidelines |
16 | | -- Follow PowerShell style guidelines |
17 | | -- Maintain localization requirements across all source files |
18 | | -- Follow test patterns strictly for maintainability |
19 | | - |
20 | | -## Core Project Guidelines |
21 | | - |
22 | | -- Follow SqlServerDsc project specific guidelines: [./instructions/SqlServerDsc-guidelines.instructions.md](./instructions/SqlServerDsc-guidelines.instructions.md) |
23 | | -- Always follow PowerShell code style guidelines: [./instructions/dsc-community-style-guidelines-powershell.instructions.md](./instructions/dsc-community-style-guidelines-powershell.instructions.md) |
24 | | -- Follow Project-level guidelines: [./instructions/dsc-community-style-guidelines.instructions.md](./instructions/dsc-community-style-guidelines.instructions.md) |
25 | | -- Follow localization requirements: [./instructions/dsc-community-style-guidelines-localization.instructions.md](./instructions/dsc-community-style-guidelines-localization.instructions.md) |
26 | | -- Always add Unit testing according to: [./instructions/dsc-community-style-guidelines-unit-tests.instructions.md](./instructions/dsc-community-style-guidelines-unit-tests.instructions.md) |
27 | | -- Always add Integration testing according to: [./instructions/dsc-community-style-guidelines-integration-tests.instructions.md](./instructions/dsc-community-style-guidelines-integration-tests.instructions.md) |
28 | | -- Follow Markdown formatting requirements: [./instructions/dsc-community-style-guidelines-markdown.instructions.md](./instructions/dsc-community-style-guidelines-markdown.instructions.md) |
29 | | -- Always update CHANGELOG.md: [./instructions/dsc-community-style-guidelines-changelog.instructions.md](./instructions/dsc-community-style-guidelines-changelog.instructions.md) |
30 | | - |
31 | | -## Desired State Configuration (DSC) Resource Guidelines |
32 | | - |
33 | | -New DSC resources should always be created as class-based resources. |
34 | | - |
35 | | -- Follow class-based resources guidelines: [./instructions/dsc-community-style-guidelines-class-resource.instructions.md](./instructions/dsc-community-style-guidelines-class-resource.instructions.md) |
0 commit comments