Commit f2e9658
authored
⚙️ [Maintenance]: Move coding standards to copilot-instructions and update parameter set naming guidelines (#551)
The coding standards document is moved from the repository root to the
standard `.github/copilot-instructions.md` location recognized by GitHub
Copilot, and the parameter set naming guidelines are updated with
clearer, more comprehensive rules.
## Copilot instructions location
The `CodingStandard.md` file is renamed to
`.github/copilot-instructions.md`, aligning with the standard location
for AI-assisted coding instructions. This is an internal maintenance
change — no code or shipped artifact is affected.
## Parameter set naming guidelines
The previous "Default Parameter Sets" section is replaced with a
comprehensive "Parameter Set Naming" section providing clearer rules:
- Functions with a single parameter set do not need a name or
`DefaultParameterSetName`.
- Functions with multiple parameter sets must use descriptive names that
tell the user what each set does.
- Generic names like `'__AllParameterSets'` or `'Default'` are
explicitly prohibited.
- Parameter sets should be named after the action or scope they
represent (e.g., `'List repositories for authenticated user'`).
- Public functions calling private functions should use the private
function's synopsis as the parameter set name.1 parent ca9d6f7 commit f2e9658
1 file changed
Lines changed: 11 additions & 3 deletions
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 | | |
38 | 46 | | |
39 | 47 | | |
| |||
0 commit comments