with one click
generate-demo-artifacts
// Generate the comprehensive demo markdown artifacts from the current codebase. Use before UAT to ensure test artifacts reflect the latest code.
// Generate the comprehensive demo markdown artifacts from the current codebase. Use before UAT to ensure test artifacts reflect the latest code.
Create and (optionally) merge a GitHub pull request (prefer GitHub chat tools; gh/wrappers are fallback), following the repo policy to use rebase and merge for a linear history.
Export and analyze VS Code Copilot chat logs for retrospective metrics. Extracts model usage, tool invocations, approval patterns, and timing data.
Regenerate test snapshot files after intentional markdown output changes. Use after modifying templates or rendering logic.
Run User Acceptance Testing by creating a PR with rendered markdown on GitHub or Azure DevOps. Use when validating markdown rendering in real platforms.
Simulate the UAT workflow (create PR, comment, poll) on GitHub or Azure DevOps using a minimal test artifact and simulated fixes.
View GitHub PR status/details (prefer GitHub chat tools; gh is fallback).
| name | generate-demo-artifacts |
| description | Generate the comprehensive demo markdown artifacts from the current codebase. Use before UAT to ensure test artifacts reflect the latest code. |
| compatibility | Requires .NET SDK and access to the repository workspace. |
Regenerate all demo markdown artifacts using the current code. This ensures UAT tests validate the actual behavior of the tool, not stale output.
scripts/generate-demo-artifacts.shplan.json or demo-principals.json filesscripts/generate-demo-artifacts.sh
This single command:
/artifacts/ (used for UAT):
comprehensive-demo.md (inline-diff format, for Azure DevOps UAT)comprehensive-demo-standard-diff.md (standard diff format, for GitHub UAT)role.md (role assignments with principal mapping)role-default.md (role assignments without principal mapping)examples/comprehensive-demo/:
report.md (default template)report-with-sensitive.md (with --show-sensitive)report-summary.md (summary template)[INFO] Building project (Release configuration)...
[INFO] Generating artifacts/comprehensive-demo.md (inline-diff, for Azure DevOps UAT)...
[INFO] ✓ artifacts/comprehensive-demo.md generated successfully (inline-diff)
[INFO] Generating artifacts/comprehensive-demo-standard-diff.md (for GitHub UAT)...
[INFO] ✓ artifacts/comprehensive-demo-standard-diff.md generated successfully
[INFO] Generating artifacts/role.md (role assignments with principal mapping)...
[INFO] ✓ artifacts/role.md generated successfully
[INFO] Generating artifacts/role-default.md (role assignments without principal mapping)...
[INFO] ✓ artifacts/role-default.md generated successfully
[INFO] Generating examples/comprehensive-demo/report.md (default template)...
[INFO] ✓ examples/comprehensive-demo/report.md generated successfully
[INFO] Generating examples/comprehensive-demo/report-with-sensitive.md (with --show-sensitive)...
[INFO] ✓ examples/comprehensive-demo/report-with-sensitive.md generated successfully
[INFO] Generating examples/comprehensive-demo/report-summary.md (summary template)...
[INFO] ✓ examples/comprehensive-demo/report-summary.md generated successfully
[INFO] All demo artifacts generated successfully