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
feat(#194): enhance agentic Copilot scaffold with identifier replacements and documentation updates
- Update design and review prompts for consistency in section naming
- Introduce identifier replacement lists in scaffold content functions
- Adjust documentation references to use project-specific naming conventions
Old='- Must not mix PowerShell cmdlet UX and `nova` CLI UX.'
256
263
New=''
257
264
}
258
-
@{
259
-
Old='-Nova*'
260
-
New='-{{ShortName}}*'
261
-
}
262
265
@{
263
266
Old=', and the `nova` CLI routing model.'
264
267
New='.'
@@ -339,5 +342,25 @@
339
342
Old='- Preserve the distinction between public PowerShell cmdlets and `% nova` CLI behavior.'
340
343
New=''
341
344
}
345
+
@{
346
+
Old='- For step-by-step refactoring of unhealthy files, use the `building-maintainable-code` and `guiding-refactoring-with-code-health` skills together: the first picks the right guideline, the second runs measured maintainability checks between steps.'
347
+
New='- For step-by-step refactoring of unhealthy files, use the `building-maintainable-code` for checks between steps.'
Copy file name to clipboardExpand all lines: src/resources/agentic-copilot/.github/agents/powershell-developer.agent.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Implement PowerShell command and helper changes in the {{ProjectName}} style.
25
25
## Inputs to inspect
26
26
27
27
- The relevant file in `src/public/`
28
-
- Matching helpers in `src/private/build|cli|package|quality|release|scaffold|shared|update/`
28
+
- Matching helpers in `src/private/`
29
29
- Matching test files in `tests/`
30
30
-`project.json`
31
31
@@ -44,7 +44,7 @@ Implement PowerShell command and helper changes in the {{ProjectName}} style.
44
44
- Keep new or heavily changed source functions aligned with `.github/instructions/code-quality-matrix.instructions.md`: short, single-purpose, low-duplication, and split by clear responsibility unless the scope explicitly justifies otherwise.
45
45
- Prefer `./scripts/build/Invoke-ScriptAnalyzerCI.ps1` and `./run.ps1` for normal analyzer loops; use direct `Invoke-ScriptAnalyzer` only for focused local checks that reuse the repository-approved settings.
46
46
- Validate Nova-managed project tests through `Test-NovaBuild`; do not call `Invoke-Pester` directly.
47
-
- When help files change, keep `docs/NovaModuleTools/en-US/*.md` valid for `Import-MarkdownCommandHelp`: use `New-MarkdownCommandHelp` for new files, `Update-MarkdownCommandHelp` after command-surface changes, and `Test-MarkdownCommandHelp` before handoff. A new public `src/public/*.ps1` file is not done until its matching help file exists.
47
+
- When help files change, keep `docs/{{ProjectName}}/en-US/*.md` valid for `Import-MarkdownCommandHelp`: use `New-MarkdownCommandHelp` for new files, `Update-MarkdownCommandHelp` after command-surface changes, and `Test-MarkdownCommandHelp` before handoff. A new public `src/public/*.ps1` file is not done until its matching help file exists.
Copy file name to clipboardExpand all lines: src/resources/agentic-copilot/.github/agents/reviewer.agent.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,10 @@ Review changes for correctness, maintainability, test coverage, workflow safety,
17
17
- When the review scope is genuinely ambiguous (for example which subset of files to focus on, or whether a borderline behavior change is intentional), ask one clarifying question before proceeding instead of guessing.
18
18
- Treat quality tooling maintainability and changed-code coverage results as release-blocking signals unless risk is accepted explicitly.
19
19
- If local quality tooling is unavailable, continue the review with normal validation and rely on PR/CI as the effective quality tooling gate.
20
-
- Check whether project docs preserve the CLI-vs-cmdlet separation when `docs/*.html` or help markdown changed.
20
+
- Check whether project docs preserve the CLI-vs-cmdlet separation when project docs or help markdown changed.
21
21
- Check that Nova projects still use generated `dist/` module files instead of hand-written source `.psm1` or module `.psd1` files.
22
22
- Check changed PowerShell code, tests, and examples against `project.json``Manifest.PowerShellHostVersion`; flag PowerShell 7.x-only constructs in projects that target `5.1` unless the change explicitly adds guarded compatibility handling.
23
-
- Check that public commands/classes have matching valid PlatyPS-compatible help and that new source files have source-mirrored tests. Flag help files under `docs/NovaModuleTools/en-US/` that look like plain Markdown, break the required PlatyPS section order, or would fail `Test-MarkdownCommandHelp` / `Import-MarkdownCommandHelp`.
23
+
- Check that public commands/classes have matching valid PlatyPS-compatible help and that new source files have source-mirrored tests. Flag help files under `docs/{{ProjectName}}/en-US/` that look like plain Markdown, break the required PlatyPS section order, or would fail `Test-MarkdownCommandHelp` / `Import-MarkdownCommandHelp`.
24
24
- Flag any new public entry point that does not add its matching help file in the same change.
25
25
- Check analyzer changes and PowerShell validation flow against `.github/instructions/psscriptanalyzer.instructions.md`. Flag direct `Invoke-ScriptAnalyzer` usage that bypasses repository-approved settings or wrapper semantics without a clear reason.
26
26
- Review changed `src/**/*.ps1` against `.github/instructions/code-quality-matrix.instructions.md` and `tests/**/*.ps1` against `.github/instructions/testing-policy.instructions.md`; flag new or heavily changed code that ignores those maintainability rules without a clear, explicit reason.
@@ -35,17 +35,16 @@ Review changes for correctness, maintainability, test coverage, workflow safety,
35
35
36
36
- The change diff
37
37
-`.github/pull_request_template.md`
38
-
- Relevant files in `src/`, `tests/`, `docs/`, and `.github/workflows/`
38
+
- Relevant files in `src/`, `tests/`, `docs/`, and workflow files, when present
39
39
-`README.md`, `CONTRIBUTING.md`, and `CHANGELOG.md` when touched
0 commit comments