@danmoisan/drm-copilot-mcp 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +50 -0
- package/out/mcp-server.js +17323 -0
- package/package.json +36 -0
- package/resources/claude-customizations/.claude/agent-memory/orchestrator/MEMORY.md +3 -0
- package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_repo_root_is_source_of_truth.md +11 -0
- package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_vsce_verify_package_location.md +19 -0
- package/resources/claude-customizations/.claude/agent-memory/orchestrator/project_extension_location.md +11 -0
- package/resources/claude-customizations/.claude/agent-memory/prd-feature/MEMORY.md +1 -0
- package/resources/claude-customizations/.claude/agent-memory/prd-feature/project_push_down_pattern.md +13 -0
- package/resources/claude-customizations/.claude/agent-memory/task-researcher/MEMORY.md +3 -0
- package/resources/claude-customizations/.claude/agent-memory/task-researcher/project_push_down_claude_dir.md +11 -0
- package/resources/claude-customizations/.claude/agents/atomic-executor.md +135 -0
- package/resources/claude-customizations/.claude/agents/atomic-planner.md +71 -0
- package/resources/claude-customizations/.claude/agents/csharp-typed-engineer.md +69 -0
- package/resources/claude-customizations/.claude/agents/epic-review.md +40 -0
- package/resources/claude-customizations/.claude/agents/feature-review.md +136 -0
- package/resources/claude-customizations/.claude/agents/orchestrator.md +83 -0
- package/resources/claude-customizations/.claude/agents/powershell-typed-engineer.md +80 -0
- package/resources/claude-customizations/.claude/agents/prd-feature.md +42 -0
- package/resources/claude-customizations/.claude/agents/python-typed-engineer.md +72 -0
- package/resources/claude-customizations/.claude/agents/staged-review.md +41 -0
- package/resources/claude-customizations/.claude/agents/status-updater.md +41 -0
- package/resources/claude-customizations/.claude/agents/task-researcher.md +81 -0
- package/resources/claude-customizations/.claude/agents/typescript-engineer.md +24 -0
- package/resources/claude-customizations/.claude/hooks/check-powershell-test-purity.ps1 +111 -0
- package/resources/claude-customizations/.claude/hooks/check-python-test-purity.ps1 +146 -0
- package/resources/claude-customizations/.claude/hooks/enforce-evidence-locations.ps1 +150 -0
- package/resources/claude-customizations/.claude/hooks/enforce-powershell-batch-budget.ps1 +238 -0
- package/resources/claude-customizations/.claude/hooks/enforce-promotion-mcp-only.ps1 +147 -0
- package/resources/claude-customizations/.claude/hooks/enforce-python-batch-budget.ps1 +235 -0
- package/resources/claude-customizations/.claude/hooks/validate-bash.ps1 +69 -0
- package/resources/claude-customizations/.claude/hooks/validate-executor-output.ps1 +296 -0
- package/resources/claude-customizations/.claude/hooks/validate-feature-review-coverage.ps1 +389 -0
- package/resources/claude-customizations/.claude/hooks/validate-orchestrator-output.ps1 +141 -0
- package/resources/claude-customizations/.claude/hooks/validate-planner-output.ps1 +288 -0
- package/resources/claude-customizations/.claude/hooks/validate-required-artifact-output.ps1 +171 -0
- package/resources/claude-customizations/.claude/hooks/validate-task-researcher-output.ps1 +142 -0
- package/resources/claude-customizations/.claude/rules/csharp.md +62 -0
- package/resources/claude-customizations/.claude/rules/general-code-change.md +71 -0
- package/resources/claude-customizations/.claude/rules/general-unit-test.md +60 -0
- package/resources/claude-customizations/.claude/rules/powershell.md +97 -0
- package/resources/claude-customizations/.claude/rules/python-suppressions.md +143 -0
- package/resources/claude-customizations/.claude/rules/python.md +99 -0
- package/resources/claude-customizations/.claude/rules/self-explanatory-code-commenting.md +97 -0
- package/resources/claude-customizations/.claude/rules/tonality.md +80 -0
- package/resources/claude-customizations/.claude/rules/typescript-suppressions.md +66 -0
- package/resources/claude-customizations/.claude/rules/typescript.md +45 -0
- package/resources/claude-customizations/.claude/settings.json +144 -0
- package/resources/claude-customizations/.claude/skills/acceptance-criteria-tracking/SKILL.md +102 -0
- package/resources/claude-customizations/.claude/skills/atomic-plan-contract/SKILL.md +189 -0
- package/resources/claude-customizations/.claude/skills/commit-message/SKILL.md +65 -0
- package/resources/claude-customizations/.claude/skills/csharp-change-budget-router/SKILL.md +90 -0
- package/resources/claude-customizations/.claude/skills/csharp-orchestration-state-machine/SKILL.md +58 -0
- package/resources/claude-customizations/.claude/skills/csharp-qa-gate/SKILL.md +77 -0
- package/resources/claude-customizations/.claude/skills/evidence-and-timestamp-conventions/SKILL.md +164 -0
- package/resources/claude-customizations/.claude/skills/execute-hard-lock/SKILL.md +82 -0
- package/resources/claude-customizations/.claude/skills/feature-promotion-lifecycle/SKILL.md +115 -0
- package/resources/claude-customizations/.claude/skills/feature-review-workflow/SKILL.md +167 -0
- package/resources/claude-customizations/.claude/skills/fill-feature-docs/SKILL.md +22 -0
- package/resources/claude-customizations/.claude/skills/invoke-csharp-engineer/SKILL.md +64 -0
- package/resources/claude-customizations/.claude/skills/invoke-powershell-engineer/SKILL.md +65 -0
- package/resources/claude-customizations/.claude/skills/invoke-python-engineer/SKILL.md +64 -0
- package/resources/claude-customizations/.claude/skills/make-skill-template/SKILL.md +147 -0
- package/resources/claude-customizations/.claude/skills/orchestrate/SKILL.md +132 -0
- package/resources/claude-customizations/.claude/skills/policy-audit-template-usage/SKILL.md +49 -0
- package/resources/claude-customizations/.claude/skills/policy-compliance-order/SKILL.md +40 -0
- package/resources/claude-customizations/.claude/skills/powershell-change-budget-router/SKILL.md +49 -0
- package/resources/claude-customizations/.claude/skills/powershell-orchestration-state-machine/SKILL.md +58 -0
- package/resources/claude-customizations/.claude/skills/powershell-qa-gate/SKILL.md +77 -0
- package/resources/claude-customizations/.claude/skills/pr-author/SKILL.md +50 -0
- package/resources/claude-customizations/.claude/skills/pr-base-branch-merge-base/SKILL.md +56 -0
- package/resources/claude-customizations/.claude/skills/pr-context-artifacts/SKILL.md +30 -0
- package/resources/claude-customizations/.claude/skills/python-change-budget-router/SKILL.md +79 -0
- package/resources/claude-customizations/.claude/skills/python-qa-gate/SKILL.md +77 -0
- package/resources/claude-customizations/.claude/skills/remediation-handoff-atomic-planner/SKILL.md +40 -0
- package/resources/claude-customizations/.claude/skills/research-issue/SKILL.md +67 -0
- package/resources/claude-customizations/.claude/skills/review-epic/SKILL.md +21 -0
- package/resources/claude-customizations/.claude/skills/review-feature/SKILL.md +25 -0
- package/resources/claude-customizations/.claude/skills/review-staged/SKILL.md +21 -0
- package/resources/claude-customizations/.claude/skills/skill-canonical-location-audit/SKILL.md +49 -0
- package/resources/claude-customizations/.claude/skills/translate-copilot-to-claude/SKILL.md +295 -0
- package/resources/claude-customizations/.claude/skills/update-status/SKILL.md +21 -0
- package/resources/claude-dir-customizations/.mcp.json +8 -0
- package/resources/codex-and-agents-customizations/.agents/README.md +86 -0
- package/resources/codex-and-agents-customizations/.agents/skills/README.md +49 -0
- package/resources/codex-and-agents-customizations/.agents/skills/acceptance-criteria-tracking/SKILL.md +107 -0
- package/resources/codex-and-agents-customizations/.agents/skills/atomic-executor/SKILL.md +73 -0
- package/resources/codex-and-agents-customizations/.agents/skills/atomic-plan-contract/SKILL.md +194 -0
- package/resources/codex-and-agents-customizations/.agents/skills/atomic-planner/SKILL.md +87 -0
- package/resources/codex-and-agents-customizations/.agents/skills/commit-message/SKILL.md +70 -0
- package/resources/codex-and-agents-customizations/.agents/skills/commit-message-conventions/SKILL.md +95 -0
- package/resources/codex-and-agents-customizations/.agents/skills/csharp/SKILL.md +67 -0
- package/resources/codex-and-agents-customizations/.agents/skills/csharp-change-budget-router/SKILL.md +94 -0
- package/resources/codex-and-agents-customizations/.agents/skills/csharp-orchestration-state-machine/SKILL.md +64 -0
- package/resources/codex-and-agents-customizations/.agents/skills/csharp-qa-gate/SKILL.md +82 -0
- package/resources/codex-and-agents-customizations/.agents/skills/evidence-and-timestamp-conventions/SKILL.md +168 -0
- package/resources/codex-and-agents-customizations/.agents/skills/execute-hard-lock/SKILL.md +88 -0
- package/resources/codex-and-agents-customizations/.agents/skills/feature-promotion-lifecycle/SKILL.md +129 -0
- package/resources/codex-and-agents-customizations/.agents/skills/feature-review/SKILL.md +106 -0
- package/resources/codex-and-agents-customizations/.agents/skills/feature-review-workflow/SKILL.md +181 -0
- package/resources/codex-and-agents-customizations/.agents/skills/fill-feature-docs/SKILL.md +27 -0
- package/resources/codex-and-agents-customizations/.agents/skills/invoke-csharp-engineer/SKILL.md +73 -0
- package/resources/codex-and-agents-customizations/.agents/skills/invoke-powershell-engineer/SKILL.md +74 -0
- package/resources/codex-and-agents-customizations/.agents/skills/invoke-python-engineer/SKILL.md +73 -0
- package/resources/codex-and-agents-customizations/.agents/skills/make-skill-template/SKILL.md +152 -0
- package/resources/codex-and-agents-customizations/.agents/skills/orchestrate/SKILL.md +143 -0
- package/resources/codex-and-agents-customizations/.agents/skills/orchestrator-workflow/SKILL.md +317 -0
- package/resources/codex-and-agents-customizations/.agents/skills/policy-audit-template-usage/SKILL.md +53 -0
- package/resources/codex-and-agents-customizations/.agents/skills/policy-compliance-order/SKILL.md +49 -0
- package/resources/codex-and-agents-customizations/.agents/skills/powershell/SKILL.md +102 -0
- package/resources/codex-and-agents-customizations/.agents/skills/powershell-change-budget-router/SKILL.md +53 -0
- package/resources/codex-and-agents-customizations/.agents/skills/powershell-orchestration-state-machine/SKILL.md +64 -0
- package/resources/codex-and-agents-customizations/.agents/skills/powershell-qa-gate/SKILL.md +83 -0
- package/resources/codex-and-agents-customizations/.agents/skills/pr-author/SKILL.md +55 -0
- package/resources/codex-and-agents-customizations/.agents/skills/pr-authoring/SKILL.md +124 -0
- package/resources/codex-and-agents-customizations/.agents/skills/pr-base-branch-merge-base/SKILL.md +60 -0
- package/resources/codex-and-agents-customizations/.agents/skills/pr-context-artifacts/SKILL.md +34 -0
- package/resources/codex-and-agents-customizations/.agents/skills/python/SKILL.md +104 -0
- package/resources/codex-and-agents-customizations/.agents/skills/python-change-budget-router/SKILL.md +84 -0
- package/resources/codex-and-agents-customizations/.agents/skills/python-qa-gate/SKILL.md +82 -0
- package/resources/codex-and-agents-customizations/.agents/skills/python-suppressions/SKILL.md +148 -0
- package/resources/codex-and-agents-customizations/.agents/skills/remediation-handoff-atomic-planner/SKILL.md +49 -0
- package/resources/codex-and-agents-customizations/.agents/skills/repo-automation-adapter/SKILL.md +142 -0
- package/resources/codex-and-agents-customizations/.agents/skills/repo-automation-adapter/agents/openai.yaml +5 -0
- package/resources/codex-and-agents-customizations/.agents/skills/research-issue/SKILL.md +72 -0
- package/resources/codex-and-agents-customizations/.agents/skills/review-epic/SKILL.md +26 -0
- package/resources/codex-and-agents-customizations/.agents/skills/review-feature/SKILL.md +30 -0
- package/resources/codex-and-agents-customizations/.agents/skills/review-staged/SKILL.md +26 -0
- package/resources/codex-and-agents-customizations/.agents/skills/self-explanatory-code-commenting/SKILL.md +102 -0
- package/resources/codex-and-agents-customizations/.agents/skills/skill-canonical-location-audit/SKILL.md +52 -0
- package/resources/codex-and-agents-customizations/.agents/skills/translate-copilot-to-claude/SKILL.md +317 -0
- package/resources/codex-and-agents-customizations/.agents/skills/typescript/SKILL.md +50 -0
- package/resources/codex-and-agents-customizations/.agents/skills/typescript-suppressions/SKILL.md +71 -0
- package/resources/codex-and-agents-customizations/.agents/skills/update-status/SKILL.md +26 -0
- package/resources/codex-and-agents-customizations/.codex/agents/5.1-beast-adjusted.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/5.1-thinking-beast-mode-adjusted.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/api-architect.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor.toml +151 -0
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner.toml +93 -0
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-planning.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/commentary-remediation.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/commit-steward.toml +20 -0
- package/resources/codex-and-agents-customizations/.codex/agents/csharp-atomic-executor.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/csharp-atomic-planning.toml +25 -0
- package/resources/codex-and-agents-customizations/.codex/agents/csharp-orchestrator.toml +56 -0
- package/resources/codex-and-agents-customizations/.codex/agents/csharp-typed-engineer.toml +97 -0
- package/resources/codex-and-agents-customizations/.codex/agents/epic-review.toml +52 -0
- package/resources/codex-and-agents-customizations/.codex/agents/expert-nextjs-developer.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/expert-react-frontend-engineer.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/feature-review.toml +149 -0
- package/resources/codex-and-agents-customizations/.codex/agents/feature-reviewer.toml +60 -0
- package/resources/codex-and-agents-customizations/.codex/agents/gpt-5-beast-mode.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/hlbpa.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/mentor.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator.toml +121 -0
- package/resources/codex-and-agents-customizations/.codex/agents/powershell-atomic-executor.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/powershell-atomic-planning.toml +25 -0
- package/resources/codex-and-agents-customizations/.codex/agents/powershell-di-unit-test-engineer.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/powershell-orchestrator.toml +56 -0
- package/resources/codex-and-agents-customizations/.codex/agents/powershell-typed-engineer.toml +108 -0
- package/resources/codex-and-agents-customizations/.codex/agents/pr-author.toml +26 -0
- package/resources/codex-and-agents-customizations/.codex/agents/prd-feature.toml +53 -0
- package/resources/codex-and-agents-customizations/.codex/agents/prd.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/pytest-unit-test-coding.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/python-atomic-executor.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/python-atomic-planning.toml +25 -0
- package/resources/codex-and-agents-customizations/.codex/agents/python-execution-only-typed.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/python-orchestrator.toml +54 -0
- package/resources/codex-and-agents-customizations/.codex/agents/python-typed-engineer.toml +100 -0
- package/resources/codex-and-agents-customizations/.codex/agents/staged-review.toml +53 -0
- package/resources/codex-and-agents-customizations/.codex/agents/status-updater.toml +53 -0
- package/resources/codex-and-agents-customizations/.codex/agents/task-researcher.toml +103 -0
- package/resources/codex-and-agents-customizations/.codex/agents/tdd-green.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/tdd-red.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/tdd-refactor.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/typescript-engineer.toml +48 -0
- package/resources/codex-and-agents-customizations/.codex/agents/voidbeast-gpt41enhanced.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/codex-web-setup.plan.md +26 -0
- package/resources/codex-and-agents-customizations/.codex/codex-web-setup.sh +384 -0
- package/resources/codex-and-agents-customizations/.codex/config.toml +137 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/check-powershell-test-purity.ps1 +113 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/check-python-test-purity.ps1 +149 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-evidence-locations.ps1 +153 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-powershell-batch-budget.ps1 +241 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-promotion-mcp-only.ps1 +150 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-python-batch-budget.ps1 +238 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/validate-bash.ps1 +72 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/validate-feature-review-coverage.ps1 +265 -0
- package/resources/codex-and-agents-customizations/.codex/prompts/feature-review-remediate.md +10 -0
- package/resources/codex-and-agents-customizations/.codex/prompts/generate-commit-message-repo.md +11 -0
- package/resources/codex-and-agents-customizations/.codex/prompts/generate-pr.md +15 -0
- package/resources/codex-and-agents-customizations/.codex/prompts/orchestrate-work.md +22 -0
- package/resources/codex-and-agents-customizations/AGENTS.md +317 -0
- package/resources/customizations/.github/agents/5.1-Beast-adjusted.agent.md +181 -0
- package/resources/customizations/.github/agents/5.1-Thinking-Beast-Mode-adjusted.agent.md +361 -0
- package/resources/customizations/.github/agents/Powershell DI Unit Test Engineer.agent.md +192 -0
- package/resources/customizations/.github/agents/api-architect.agent.md +40 -0
- package/resources/customizations/.github/agents/atomic_executor.agent.md +251 -0
- package/resources/customizations/.github/agents/atomic_planning.agent.md +658 -0
- package/resources/customizations/.github/agents/commentary-remediation.agent.md +35 -0
- package/resources/customizations/.github/agents/commit-steward.agent.md +200 -0
- package/resources/customizations/.github/agents/csharp-atomic-executor.agent.md +288 -0
- package/resources/customizations/.github/agents/csharp-atomic-planning.agent.md +354 -0
- package/resources/customizations/.github/agents/csharp-orchestrator.agent.md +375 -0
- package/resources/customizations/.github/agents/csharp-typed-engineer.agent.md +285 -0
- package/resources/customizations/.github/agents/epic-review.agent.md +374 -0
- package/resources/customizations/.github/agents/expert-nextjs-developer.agent.md +477 -0
- package/resources/customizations/.github/agents/expert-react-frontend-engineer.agent.md +739 -0
- package/resources/customizations/.github/agents/feature-review.agent.md +49 -0
- package/resources/customizations/.github/agents/gpt-5-beast-mode.agent.md +116 -0
- package/resources/customizations/.github/agents/hlbpa.agent.md +219 -0
- package/resources/customizations/.github/agents/mentor.agent.md +32 -0
- package/resources/customizations/.github/agents/orchestrator.agent.md +449 -0
- package/resources/customizations/.github/agents/powershell-atomic-executor.agent.md +287 -0
- package/resources/customizations/.github/agents/powershell-atomic-planning.agent.md +647 -0
- package/resources/customizations/.github/agents/powershell-orchestrator.agent.md +382 -0
- package/resources/customizations/.github/agents/powershell-typed-engineer.agent.md +293 -0
- package/resources/customizations/.github/agents/pr-author.agent.md +138 -0
- package/resources/customizations/.github/agents/prd-feature.agent.md +52 -0
- package/resources/customizations/.github/agents/prd.agent.md +202 -0
- package/resources/customizations/.github/agents/pytest-unit-test-coding.agent.md +202 -0
- package/resources/customizations/.github/agents/python-atomic-executor.agent.md +289 -0
- package/resources/customizations/.github/agents/python-atomic-planning.agent.md +429 -0
- package/resources/customizations/.github/agents/python-execution-only-typed.agent.md +217 -0
- package/resources/customizations/.github/agents/python-orchestrator.agent.md +380 -0
- package/resources/customizations/.github/agents/python-typed-engineer.agent.md +271 -0
- package/resources/customizations/.github/agents/staged-review.agent.md +246 -0
- package/resources/customizations/.github/agents/status_updater.agent.md +279 -0
- package/resources/customizations/.github/agents/task-researcher.agent.md +298 -0
- package/resources/customizations/.github/agents/tdd-green.agent.md +60 -0
- package/resources/customizations/.github/agents/tdd-red.agent.md +66 -0
- package/resources/customizations/.github/agents/tdd-refactor.agent.md +94 -0
- package/resources/customizations/.github/agents/typescript-engineer.agent.md +167 -0
- package/resources/customizations/.github/agents/voidbeast-gpt41enhanced.agent.md +230 -0
- package/resources/customizations/.github/codex/execute-hard-lock.prompt.md +105 -0
- package/resources/customizations/.github/codex/resume-hard-lock.prompt.md +92 -0
- package/resources/customizations/.github/copilot-instructions.md +7 -0
- package/resources/customizations/.github/instructions/csharp-code-change.instructions.md +184 -0
- package/resources/customizations/.github/instructions/csharp-unit-test.instructions.md +52 -0
- package/resources/customizations/.github/instructions/general-code-change.instructions.md +290 -0
- package/resources/customizations/.github/instructions/general-unit-test.instructions.md +106 -0
- package/resources/customizations/.github/instructions/github-actions-ci-cd-best-practices.instructions.md +607 -0
- package/resources/customizations/.github/instructions/github-actions.instructions.md +23 -0
- package/resources/customizations/.github/instructions/powershell-code-change.instructions.md +81 -0
- package/resources/customizations/.github/instructions/powershell-unit-test.instructions.md +69 -0
- package/resources/customizations/.github/instructions/python-code-change.instructions.md +232 -0
- package/resources/customizations/.github/instructions/python-suppressions.instructions.md +609 -0
- package/resources/customizations/.github/instructions/python-unit-test.instructions.md +71 -0
- package/resources/customizations/.github/instructions/self-explanatory-code-commenting.instructions.md +238 -0
- package/resources/customizations/.github/instructions/tonality.instructions.md +133 -0
- package/resources/customizations/.github/instructions/typescript-code-change.instructions.md +203 -0
- package/resources/customizations/.github/instructions/typescript-suppressions.instructions.md +157 -0
- package/resources/customizations/.github/instructions/typescript-unit-test.instructions.md +112 -0
- package/resources/customizations/.github/prompts/add-educational-comments.prompt.md +129 -0
- package/resources/customizations/.github/prompts/breakdown-bug-prd.prompt.md +29 -0
- package/resources/customizations/.github/prompts/breakdown-epic-arch.prompt.md +66 -0
- package/resources/customizations/.github/prompts/breakdown-epic-pm.prompt.md +58 -0
- package/resources/customizations/.github/prompts/breakdown-feature-implementation.prompt.md +128 -0
- package/resources/customizations/.github/prompts/breakdown-feature-prd.prompt.md +61 -0
- package/resources/customizations/.github/prompts/code-exemplars-blueprint-generator.prompt.md +126 -0
- package/resources/customizations/.github/prompts/drafts/create-github-issues-feature-from-implementation-plan.prompt.md +28 -0
- package/resources/customizations/.github/prompts/drafts/create-implementation-plan.prompt.md +158 -0
- package/resources/customizations/.github/prompts/drafts/create-technical-spike.prompt.md +231 -0
- package/resources/customizations/.github/prompts/drafts/potential-feature-prd.prompt.md +19 -0
- package/resources/customizations/.github/prompts/drafts/update-implementation-plan.prompt.md +158 -0
- package/resources/customizations/.github/prompts/execute-plan-template.md +21 -0
- package/resources/customizations/.github/prompts/export-chat.prompt.md +7 -0
- package/resources/customizations/.github/prompts/fillout-prd-feature.prompt.md +46 -0
- package/resources/customizations/.github/prompts/generate-atomic-plan.prompt.md +96 -0
- package/resources/customizations/.github/prompts/generate-commit-message-repo.prompt.md +108 -0
- package/resources/customizations/.github/prompts/generate-pr.prompt.md +151 -0
- package/resources/customizations/.github/prompts/javascript-typescript-jest.prompt.md +44 -0
- package/resources/customizations/.github/prompts/orchestrate-csharp-work.prompt.md +66 -0
- package/resources/customizations/.github/prompts/orchestrate-powershell-work.prompt.md +50 -0
- package/resources/customizations/.github/prompts/orchestrate-python-work.prompt.md +50 -0
- package/resources/customizations/.github/prompts/orchestrate-work.prompt.md +66 -0
- package/resources/customizations/.github/prompts/remediate-comments.prompt.md +53 -0
- package/resources/customizations/.github/prompts/research-issue.prompt.md +125 -0
- package/resources/customizations/.github/prompts/review-epic.prompt.md +94 -0
- package/resources/customizations/.github/prompts/review-feature.prompt.md +130 -0
- package/resources/customizations/.github/prompts/review-staged.prompt.md +43 -0
- package/resources/customizations/.github/prompts/update_status.prompt.md +68 -0
- package/resources/customizations/.github/skills/README.md +26 -0
- package/resources/customizations/.github/skills/acceptance-criteria-tracking/SKILL.md +102 -0
- package/resources/customizations/.github/skills/atomic-plan-contract/SKILL.md +174 -0
- package/resources/customizations/.github/skills/csharp-change-budget-router/SKILL.md +48 -0
- package/resources/customizations/.github/skills/csharp-orchestration-state-machine/SKILL.md +57 -0
- package/resources/customizations/.github/skills/evidence-and-timestamp-conventions/SKILL.md +135 -0
- package/resources/customizations/.github/skills/feature-promotion-lifecycle/SKILL.md +121 -0
- package/resources/customizations/.github/skills/feature-review-workflow/SKILL.md +153 -0
- package/resources/customizations/.github/skills/make-skill-template/SKILL.md +147 -0
- package/resources/customizations/.github/skills/policy-audit-template-usage/SKILL.md +48 -0
- package/resources/customizations/.github/skills/policy-compliance-order/SKILL.md +37 -0
- package/resources/customizations/.github/skills/powershell-change-budget-router/SKILL.md +48 -0
- package/resources/customizations/.github/skills/powershell-orchestration-state-machine/SKILL.md +57 -0
- package/resources/customizations/.github/skills/pr-base-branch-merge-base/SKILL.md +55 -0
- package/resources/customizations/.github/skills/pr-context-artifacts/SKILL.md +29 -0
- package/resources/customizations/.github/skills/remediation-handoff-atomic-planner/SKILL.md +39 -0
- package/resources/customizations/.github/skills/skill-canonical-location-audit/SKILL.md +48 -0
- package/resources/feature-templates/bug/plan.yyyy-MM-ddTHH-mm.md +44 -0
- package/resources/feature-templates/bug/potential_bug.md +59 -0
- package/resources/feature-templates/bug/spec.md +99 -0
- package/resources/feature-templates/epic/initiative.md +43 -0
- package/resources/feature-templates/feature/plan.yyyy-MM-ddTHH-mm.md +53 -0
- package/resources/feature-templates/feature/spec.md +66 -0
- package/resources/feature-templates/feature/user-story.md +42 -0
- package/resources/feature-templates/potential/template.md +33 -0
- package/resources/feature-templates/refactor/plan.yyyy-MM-ddTHH-mm.md +52 -0
- package/resources/feature-templates/refactor/spec.md +69 -0
- package/resources/powershell/PoshQC/PoshQC.Analyzer.psm1 +254 -0
- package/resources/powershell/PoshQC/PoshQC.FileDiscovery.psm1 +138 -0
- package/resources/powershell/PoshQC/PoshQC.Testing.psm1 +409 -0
- package/resources/powershell/PoshQC/PoshQC.psd1 +31 -0
- package/resources/powershell/PoshQC/PoshQC.psm1 +101 -0
- package/resources/powershell/PoshQC/README.md +80 -0
- package/resources/powershell/PoshQC/settings/pester.runsettings.psd1 +59 -0
- package/resources/powershell/PoshQC/settings/pssa.settings.psd1 +55 -0
- package/resources/scripts/dev_tools/__init__.py +0 -0
- package/resources/scripts/dev_tools/agentic_sync.py +819 -0
- package/resources/scripts/dev_tools/codex_native_converter/__init__.py +11 -0
- package/resources/scripts/dev_tools/codex_native_converter/__main__.py +6 -0
- package/resources/scripts/dev_tools/codex_native_converter/cli.py +11 -0
- package/resources/scripts/dev_tools/new_active_feature_folder.py +79 -0
- package/resources/scripts/dev_tools/new_active_feature_folder_docs.py +268 -0
- package/resources/scripts/dev_tools/new_active_feature_folder_flow.py +366 -0
- package/resources/scripts/dev_tools/new_active_feature_folder_io.py +306 -0
- package/resources/scripts/dev_tools/new_active_feature_folder_markdown.py +252 -0
- package/resources/scripts/dev_tools/new_active_feature_folder_models.py +136 -0
- package/resources/scripts/dev_tools/new_potential_bug_entry.py +465 -0
- package/resources/scripts/dev_tools/potential_to_issue.py +421 -0
- package/resources/scripts/dev_tools/potential_to_issue_content.py +212 -0
- package/resources/scripts/dev_tools/pr_context/__init__.py +0 -0
- package/resources/scripts/dev_tools/pr_context/collector.py +619 -0
- package/resources/scripts/dev_tools/pr_context/feature_docs.py +349 -0
- package/resources/scripts/dev_tools/pr_context/git.py +153 -0
- package/resources/scripts/dev_tools/pr_context/github.py +549 -0
- package/resources/scripts/dev_tools/pr_context/models.py +198 -0
- package/resources/scripts/dev_tools/pr_context/render.py +342 -0
- package/resources/scripts/dev_tools/pr_context/render_feature_excerpts.py +256 -0
- package/resources/scripts/dev_tools/pr_context/render_pr_helpers.py +291 -0
- package/resources/scripts/dev_tools/pr_context/summary_helpers.py +386 -0
- package/resources/scripts/dev_tools/pr_context/verification_evidence.py +171 -0
- package/resources/scripts/dev_tools/prompt_mode_contract.py +152 -0
- package/resources/scripts/dev_tools/push_down_claude_customizations.py +188 -0
- package/resources/scripts/dev_tools/push_down_codex_and_agents_customizations.py +139 -0
- package/resources/scripts/dev_tools/push_down_copilot_customizations.py +504 -0
- package/resources/scripts/dev_tools/push_down_copilot_customizations_filesystem.py +217 -0
- package/resources/scripts/dev_tools/push_down_copilot_customizations_rewrites.py +293 -0
- package/resources/scripts/dev_tools/resolve_file_prompt.py +457 -0
- package/resources/scripts/dev_tools/resolve_hard_lock_prompt.py +444 -0
- package/resources/scripts/dev_tools/validate_orchestration_artifacts.py +554 -0
- package/resources/templates/codex_native_converter.py +35 -0
- package/resources/templates/collect_commit_context.py +212 -0
- package/resources/templates/collect_pr_context.py +74 -0
- package/resources/templates/hello_pwsh.ps1 +3 -0
- package/resources/templates/hello_python.py +11 -0
- package/resources/templates/link-parent-child.ps1 +480 -0
- package/resources/templates/new-claude-worktree-session.ps1 +232 -0
- package/resources/templates/new-potential-entry.ps1 +187 -0
- package/resources/templates/new_active_feature_folder.py +67 -0
- package/resources/templates/new_potential_bug_entry.py +54 -0
- package/resources/templates/policy_audit/AGENTS.md +117 -0
- package/resources/templates/policy_audit/code-review.yyyy-MM-ddTHH-mm.md +165 -0
- package/resources/templates/policy_audit/feature-audit.yyyy-MM-ddTHH-mm.md +124 -0
- package/resources/templates/policy_audit/policy-audit.yyyy-MM-ddTHH-mm.md +649 -0
- package/resources/templates/potential_to_issue.py +55 -0
- package/resources/templates/push_down_claude_customizations.py +188 -0
- package/resources/templates/push_down_codex_and_agents_customizations.py +95 -0
- package/resources/templates/push_down_copilot_customizations.py +124 -0
- package/resources/templates/resolve_atomic_plan_prompt.py +75 -0
- package/resources/templates/resolve_hard_lock_prompt.py +65 -0
- package/resources/templates/run-poshqc-analyze-autofix.ps1 +16 -0
- package/resources/templates/run-poshqc-analyze.ps1 +26 -0
- package/resources/templates/run-poshqc-format.ps1 +26 -0
- package/resources/templates/run-poshqc-suite.ps1 +24 -0
- package/resources/templates/run-poshqc-test.ps1 +32 -0
- package/resources/templates/sync-agents-from-instructions.ps1 +400 -0
- package/resources/templates/validate_orchestration_artifacts.py +55 -0
- package/resources/templates/vscode-cli.helpers.ps1 +63 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# Converted skill
|
|
2
|
+
|
|
3
|
+
Applied rewrites:
|
|
4
|
+
- None
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
name: feature-promotion-lifecycle
|
|
8
|
+
description: Deterministic promotion workflow from potential feature/bug entry to issue, branch, active feature folder, and downstream spec/research handoffs. Agent sessions must use the drmCopilotExtension MCP tool surface and record raw promotion receipts under the canonical checkpoint namespace.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Feature Promotion Lifecycle
|
|
12
|
+
|
|
13
|
+
Canonical variable model and MCP-only command sequence for promoting potential feature/bug entries and initializing active feature delivery.
|
|
14
|
+
|
|
15
|
+
## When to Use This Skill
|
|
16
|
+
|
|
17
|
+
Use this skill when:
|
|
18
|
+
- A large-scope change requires feature/bug promotion workflow.
|
|
19
|
+
- A short-path workflow still requires promotion/folder initialization before delegated implementation.
|
|
20
|
+
- An orchestrator must create potential docs, promote to issue, branch, and active feature folder.
|
|
21
|
+
- Downstream research/spec agents depend on deterministic paths and identifiers.
|
|
22
|
+
|
|
23
|
+
## MCP Tool Availability Preflight
|
|
24
|
+
|
|
25
|
+
Before any promotion step starts, verify that the required `drmCopilotExtension` MCP tools are available in the current agent session.
|
|
26
|
+
|
|
27
|
+
Required MCP tool set:
|
|
28
|
+
- feature potential entry: `mcp__drmCopilotExtension__new_potential_entry` with `short_name=${short-name}`
|
|
29
|
+
- bug potential entry: `mcp__drmCopilotExtension__new_potential_bug_entry` with `short_name=${short-name}`
|
|
30
|
+
- potential-to-issue promotion: `mcp__drmCopilotExtension__potential_to_issue` with `potential_path=${relativeFile}`, `promotion_type=${promotion-type}`, `work_mode=${work-mode}`
|
|
31
|
+
- active feature folder creation: `mcp__drmCopilotExtension__new_active_feature_folder` with `feature_name=${long-name}`, `type=${promotion-type}`, `issue_number=${issue-num}`, `work_mode=${work-mode}`
|
|
32
|
+
|
|
33
|
+
If the required MCP tools are unavailable, stop before potential-entry creation, issue promotion, or active-folder creation begins. Restore MCP connectivity first. Agent sessions do not have an approved non-MCP execution branch for promotion work.
|
|
34
|
+
|
|
35
|
+
## Agent-Session Promotion Execution Rule
|
|
36
|
+
|
|
37
|
+
Execute the lifecycle only through the MCP tool forms listed above. The MCP path is the sole authoritative execution path for agent sessions.
|
|
38
|
+
|
|
39
|
+
After each successful promotion operation, persist the raw MCP receipt payload under the matching checkpoint key in `artifacts/orchestration/orchestrator-state.json`:
|
|
40
|
+
- `delegation_receipts.promotion.potential_entry`
|
|
41
|
+
- `delegation_receipts.promotion.issue`
|
|
42
|
+
- `delegation_receipts.promotion.feature_folder`
|
|
43
|
+
|
|
44
|
+
Each `delegation_receipts.promotion.*` field stores the raw MCP receipt payload returned by the corresponding promotion operation without lossy normalization.
|
|
45
|
+
|
|
46
|
+
Note: VS Code command-palette commands may exist for interactive extension use, but this note is non-authoritative for agent sessions.
|
|
47
|
+
|
|
48
|
+
## Canonical Variables
|
|
49
|
+
|
|
50
|
+
- `${promotion-type}`: `feature` or `bug`
|
|
51
|
+
- `${short-name}`: lowercase slug, hyphen-separated
|
|
52
|
+
- `${relativeFile}`: workspace-relative path to created potential entry markdown
|
|
53
|
+
- `${long-name}`: `${relativeFile}` filename without `.md`
|
|
54
|
+
- `${issue-num}`: promoted GitHub issue number
|
|
55
|
+
- `${feature-folder}`: active feature folder path
|
|
56
|
+
- `${plan-path}`: single canonical plan file path reused across planning and preflight revisions
|
|
57
|
+
- `${work-mode}`: `minor-audit`, `full-feature`, or `full-bug` (legacy `full` is accepted only as an alias for `full-feature`)
|
|
58
|
+
- `${short-path-flag}`: `--work-mode minor-audit` (mandatory for short-path promotion/folder creation)
|
|
59
|
+
|
|
60
|
+
`${relativeFile}` MUST resolve to a real potential markdown path before promotion begins. If the path is missing, invalid, or non-markdown, stop. Do not infer or synthesize the missing value.
|
|
61
|
+
|
|
62
|
+
`${issue-num}` MUST be numeric after promotion and before branch or folder creation. If promotion does not return a numeric issue number, stop. Do not infer or synthesize the missing value.
|
|
63
|
+
|
|
64
|
+
When orchestrator routing selects short path, promotion/folder initialization still occurs and MUST use `minor-audit` mode.
|
|
65
|
+
|
|
66
|
+
Lifecycle guardrails:
|
|
67
|
+
- `${relativeFile}` MUST resolve to a real potential markdown path before promotion.
|
|
68
|
+
- `${issue-num}` MUST be numeric after promotion and before branch or folder creation.
|
|
69
|
+
- Do not infer or synthesize the missing value.
|
|
70
|
+
- If `${relativeFile}` or `${issue-num}` is missing, placeholder text, or unverified, stop before branch creation, active-folder creation, or active-folder authoring.
|
|
71
|
+
|
|
72
|
+
1) Use the same MCP tool-availability preflight described above and continue only when the required promotion tools are available.
|
|
73
|
+
|
|
74
|
+
2) Promote the potential document through `mcp__drmCopilotExtension__potential_to_issue` with `work_mode=minor-audit`.
|
|
75
|
+
|
|
76
|
+
3) Create branch:
|
|
77
|
+
- `${promotion-type}/${short-name}-${issue-num}`
|
|
78
|
+
|
|
79
|
+
4) Create the active feature folder through `mcp__drmCopilotExtension__new_active_feature_folder` with `work_mode=minor-audit`.
|
|
80
|
+
|
|
81
|
+
4a) Verify minor-audit folder integrity before proceeding:
|
|
82
|
+
- `${feature-folder}/issue.md` exists and contains `- Work Mode: minor-audit`
|
|
83
|
+
- `${feature-folder}/issue.md` contains an explicit `## Acceptance Criteria` section
|
|
84
|
+
- `${feature-folder}/spec.md` does not exist
|
|
85
|
+
- `${feature-folder}/user-story.md` does not exist
|
|
86
|
+
- if any check fails, stop and remediate before planning
|
|
87
|
+
|
|
88
|
+
5) Delegate minimal-audit plan creation to `atomic_planner` with directive:
|
|
89
|
+
- `DIRECTIVE: MINIMAL-AUDIT PLAN REQUIRED`
|
|
90
|
+
|
|
91
|
+
5a) Resolve and persist `${plan-path}` before delegation:
|
|
92
|
+
- reuse the earliest existing `plan*.md` in `${feature-folder}` when present
|
|
93
|
+
- otherwise create exactly one canonical plan file path and reuse it for all revisions
|
|
94
|
+
|
|
95
|
+
6) Require preflight validation via `atomic_executor` until:
|
|
96
|
+
- `PREFLIGHT: ALL CLEAR`
|
|
97
|
+
|
|
98
|
+
7) Execute plan Phase 0 only via executor and checkpoint evidence.
|
|
99
|
+
|
|
100
|
+
8) Branch:
|
|
101
|
+
- manual bootstrap: save state and stop,
|
|
102
|
+
- non-bootstrap: continue with constrained small-path development.
|
|
103
|
+
|
|
104
|
+
9) Validate delivery via executor against `issue.md`, then run reduced audit/remediation loop until ready-to-merge.
|
|
105
|
+
|
|
106
|
+
## Required Outputs for Downstream Handoffs
|
|
107
|
+
|
|
108
|
+
Before delegating research/spec/planning, provide:
|
|
109
|
+
- `${feature-folder}/issue.md`
|
|
110
|
+
- `${feature-folder}/spec.md` (or expected target path)
|
|
111
|
+
- `${feature-folder}/user-story.md` (or explicit `NONE`)
|
|
112
|
+
- latest research artifact path(s)
|
|
113
|
+
- constraints/APIs/invariants to preserve
|
|
114
|
+
|
|
115
|
+
Mode-aware expectations:
|
|
116
|
+
- For `minor-audit`, the explicit `## Acceptance Criteria` section in `issue.md` is the primary acceptance-criteria source and `spec.md`/`user-story.md` may be intentionally absent by design.
|
|
117
|
+
- For `minor-audit`, do not infer acceptance criteria from other `issue.md` sections such as verification notes, next steps, or severity checklists.
|
|
118
|
+
- For `minor-audit`, `spec.md`/`user-story.md` must be treated as integrity failures when they appear unexpectedly in the active folder.
|
|
119
|
+
- For `full-feature`, `spec.md` and `user-story.md` are expected alongside `issue.md`.
|
|
120
|
+
- For `full-bug`, `spec.md` is expected alongside `issue.md`; `user-story.md` should be absent unless the requirements explicitly justify it.
|
|
121
|
+
|
|
122
|
+
Selected-mode persistence requirements:
|
|
123
|
+
- Producer outputs MUST persist exactly one marker in `issue.md` metadata above the first `##` heading:
|
|
124
|
+
- `- Work Mode: minor-audit`
|
|
125
|
+
- `- Work Mode: full-feature`
|
|
126
|
+
- `- Work Mode: full-bug`
|
|
127
|
+
- Persisted marker MUST represent selected mode after eligibility checks, not requested mode.
|
|
128
|
+
- If a legacy requested `full` path is accepted, tooling MUST normalize it to `full-feature` before persistence.
|
|
129
|
+
- If a requested `minor-audit` path is rejected by eligibility checks, tooling MUST fail closed to `full-feature`, emit the downgrade reason, and persist `- Work Mode: full-feature`.
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: feature-review
|
|
3
|
+
description: 'Review a feature branch relative to a base branch and write audit artifacts into the active feature folder. Use when Codex must produce policy, code, and feature audits and trigger remediation planning when needed.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Feature Review
|
|
7
|
+
|
|
8
|
+
Workflow skill for PR-style feature review in Codex.
|
|
9
|
+
|
|
10
|
+
## Required Shared Skills
|
|
11
|
+
|
|
12
|
+
Always apply:
|
|
13
|
+
- `policy-compliance-order`
|
|
14
|
+
- `evidence-and-timestamp-conventions`
|
|
15
|
+
- `policy-audit-template-usage`
|
|
16
|
+
- `pr-context-artifacts`
|
|
17
|
+
- `acceptance-criteria-tracking`
|
|
18
|
+
- `remediation-handoff-atomic-planner`
|
|
19
|
+
|
|
20
|
+
Use as needed:
|
|
21
|
+
- `pr-base-branch-merge-base`
|
|
22
|
+
- `repo-automation-adapter`
|
|
23
|
+
|
|
24
|
+
## Role
|
|
25
|
+
|
|
26
|
+
- Review the feature branch relative to the correct base.
|
|
27
|
+
- Produce audit-grade artifacts, not code fixes.
|
|
28
|
+
- Prefer deterministic evidence from PR-context artifacts and exact diff anchors.
|
|
29
|
+
- Trigger remediation planning when blockers or unmet acceptance criteria exist.
|
|
30
|
+
|
|
31
|
+
## Required Outputs
|
|
32
|
+
|
|
33
|
+
Write timestamped artifacts into the active feature folder:
|
|
34
|
+
- `policy-audit.<timestamp>.md`
|
|
35
|
+
- `code-review.<timestamp>.md`
|
|
36
|
+
- `feature-audit.<timestamp>.md`
|
|
37
|
+
- `remediation-inputs.<timestamp>.md` when remediation is required
|
|
38
|
+
- `remediation-plan.<timestamp>.md` when remediation is required
|
|
39
|
+
|
|
40
|
+
The final review report MUST end with these exact single-line fields:
|
|
41
|
+
- `REVIEW_STATUS: PASS` or `REVIEW_STATUS: REMEDIATION_REQUIRED`
|
|
42
|
+
- `FEATURE_FOLDER: <path>`
|
|
43
|
+
- `POLICY_AUDIT: <path>`
|
|
44
|
+
- `CODE_REVIEW: <path>`
|
|
45
|
+
- `FEATURE_AUDIT: <path>`
|
|
46
|
+
- `REMEDIATION_INPUTS: <path-or-NONE>`
|
|
47
|
+
- `REMEDIATION_PLAN: <path-or-NONE>`
|
|
48
|
+
|
|
49
|
+
Each required review artifact MUST pass the matching validator command before review can be reported as complete:
|
|
50
|
+
- the `validate_orchestration_artifacts` MCP tool with `artifact_type: "policy-audit"` and `artifact_path: <path>`
|
|
51
|
+
- the `validate_orchestration_artifacts` MCP tool with `artifact_type: "code-review"` and `artifact_path: <path>`
|
|
52
|
+
- the `validate_orchestration_artifacts` MCP tool with `artifact_type: "feature-audit"` and `artifact_path: <path>`
|
|
53
|
+
|
|
54
|
+
## Review Flow
|
|
55
|
+
|
|
56
|
+
1. Resolve the base branch.
|
|
57
|
+
- Use the supplied base when present.
|
|
58
|
+
- If the supplied base is missing or ambiguous, use `pr-base-branch-merge-base`.
|
|
59
|
+
- Do not default to the repository default branch unless merge-base resolution fails for all candidates.
|
|
60
|
+
2. Load PR context from the canonical artifacts defined by `pr-context-artifacts`.
|
|
61
|
+
3. If PR context is missing or stale, refresh it through `repo-automation-adapter` using the resolved base branch.
|
|
62
|
+
4. Determine the active feature folder deterministically from the scoping docs and PR context.
|
|
63
|
+
5. Create the policy audit, code review, and feature audit.
|
|
64
|
+
- validate each artifact immediately after writing it
|
|
65
|
+
6. Check off passing acceptance criteria in the authoritative requirement sources per `acceptance-criteria-tracking`.
|
|
66
|
+
7. If remediation is required, create remediation inputs first and then hand off plan creation using `remediation-handoff-atomic-planner`.
|
|
67
|
+
8. In the final report:
|
|
68
|
+
- set `REVIEW_STATUS: PASS` only when no remediation artifact is required,
|
|
69
|
+
- set `REVIEW_STATUS: REMEDIATION_REQUIRED` when remediation inputs or a remediation plan were required,
|
|
70
|
+
- include every required artifact-path field exactly once.
|
|
71
|
+
|
|
72
|
+
### Enforced Remediation Handoff Contract
|
|
73
|
+
|
|
74
|
+
When remediation is required:
|
|
75
|
+
|
|
76
|
+
- create `remediation-inputs.<timestamp>.md` before any remediation planning handoff,
|
|
77
|
+
- create the remediation plan target file on disk before delegating plan creation,
|
|
78
|
+
- automatically delegate remediation planning to `atomic-planner`,
|
|
79
|
+
- treat `remediation-inputs.<timestamp>.md` as the primary requirements source,
|
|
80
|
+
- include the canonical PR-context summary and appendix, the review artifacts, and the original feature plan file(s) in the delegated context package,
|
|
81
|
+
- if the remediation planning handoff cannot be started or does not return a receipt, stop and report blocked state,
|
|
82
|
+
- do not claim review completion until the remediation plan file exists on disk.
|
|
83
|
+
|
|
84
|
+
## Required Artifact Shapes
|
|
85
|
+
|
|
86
|
+
- `policy-audit.<timestamp>.md`
|
|
87
|
+
- MUST be copied from the canonical template and MUST NOT retain the template instruction block.
|
|
88
|
+
- MUST contain the canonical major headings and Appendix B command reference.
|
|
89
|
+
- `code-review.<timestamp>.md`
|
|
90
|
+
- MUST contain `## Executive Summary`.
|
|
91
|
+
- MUST contain `## Findings Table`.
|
|
92
|
+
- MUST contain a Markdown table header with `Severity | File | Location | Finding | Recommendation | Rationale | Evidence`.
|
|
93
|
+
- `feature-audit.<timestamp>.md`
|
|
94
|
+
- MUST contain `## Scope and Baseline`.
|
|
95
|
+
- MUST contain `## Acceptance Criteria Inventory`.
|
|
96
|
+
- MUST contain `## Acceptance Criteria Evaluation`.
|
|
97
|
+
- MUST contain `## Summary`.
|
|
98
|
+
- MUST contain `## Acceptance Criteria Check-off`.
|
|
99
|
+
|
|
100
|
+
## Review Constraints
|
|
101
|
+
|
|
102
|
+
- Do not silently fix code during review.
|
|
103
|
+
- Prefer check-only commands.
|
|
104
|
+
- If a tool cannot be run, mark the related section as unverified or partial with a concrete reason.
|
|
105
|
+
- Do not claim completion until every required artifact exists on disk and its validator passes.
|
|
106
|
+
- Do not omit any required final result field from the review report.
|
package/resources/codex-and-agents-customizations/.agents/skills/feature-review-workflow/SKILL.md
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# Converted skill
|
|
2
|
+
|
|
3
|
+
Applied rewrites:
|
|
4
|
+
- None
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
name: feature-review-workflow
|
|
8
|
+
description: 'Feature-branch review workflow for base-branch resolution, PR-context refresh, active feature folder selection, review artifact generation, validator gates, acceptance-criteria check-off, and remediation triggers. Use when authoring or executing PR-style feature reviews.'
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Feature Review Workflow
|
|
12
|
+
|
|
13
|
+
Reusable workflow guidance for PR-style feature review.
|
|
14
|
+
|
|
15
|
+
## Required Shared Skills
|
|
16
|
+
|
|
17
|
+
Always apply:
|
|
18
|
+
- `policy-compliance-order`
|
|
19
|
+
- `evidence-and-timestamp-conventions`
|
|
20
|
+
- `policy-audit-template-usage`
|
|
21
|
+
- `pr-context-artifacts`
|
|
22
|
+
- `pr-base-branch-merge-base`
|
|
23
|
+
- `acceptance-criteria-tracking`
|
|
24
|
+
- `remediation-handoff-atomic-planner`
|
|
25
|
+
|
|
26
|
+
## Role
|
|
27
|
+
|
|
28
|
+
- Review a feature branch relative to the correct base branch.
|
|
29
|
+
- Produce audit artifacts, not implementation fixes.
|
|
30
|
+
- Prefer deterministic evidence from canonical PR-context artifacts and exact diff anchors.
|
|
31
|
+
- Trigger remediation planning when blockers or unmet acceptance criteria remain.
|
|
32
|
+
|
|
33
|
+
## Workflow Contract
|
|
34
|
+
|
|
35
|
+
### Baseline and evidence
|
|
36
|
+
|
|
37
|
+
- Treat the review as a feature-vs-base audit, not an isolated file inspection.
|
|
38
|
+
- Use `artifacts/pr_context.summary.txt` as the primary evidence source.
|
|
39
|
+
- Use `artifacts/pr_context.appendix.txt` as the baseline-diff appendix for raw evidence and exact anchors.
|
|
40
|
+
- If PR-context artifacts are missing or stale, refresh them per `pr-context-artifacts` using the resolved base branch.
|
|
41
|
+
|
|
42
|
+
### Review artifact templates
|
|
43
|
+
|
|
44
|
+
- When creating review artifacts from templates, use the MCP-exposed bundled assets instead of copying directly from repo template paths.
|
|
45
|
+
- Resolve the templates through the MCP server tool `resolve_policy_audit_template_asset` with these selectors:
|
|
46
|
+
- `template` for `policy-audit.<timestamp>.md`
|
|
47
|
+
- `code-review-template` for `code-review.<timestamp>.md`
|
|
48
|
+
- `feature-audit-template` for `feature-audit.<timestamp>.md`
|
|
49
|
+
- The MCP-resolved asset is the authoritative template source for review artifacts in this workflow.
|
|
50
|
+
|
|
51
|
+
### No silent fixes
|
|
52
|
+
|
|
53
|
+
- Do not clean up code during review.
|
|
54
|
+
- If checks fail, document the failure and include exact remediation guidance.
|
|
55
|
+
|
|
56
|
+
### Work-mode acceptance-criteria contract
|
|
57
|
+
|
|
58
|
+
- Read the persisted marker from `issue.md` using one of:
|
|
59
|
+
- `- Work Mode: minor-audit`
|
|
60
|
+
- `- Work Mode: full-feature`
|
|
61
|
+
- `- Work Mode: full-bug`
|
|
62
|
+
- Legacy compatibility: interpret `- Work Mode: full` as `full-feature`.
|
|
63
|
+
- Acceptance-criteria sources by marker:
|
|
64
|
+
- `minor-audit`: only the explicit `## Acceptance Criteria` section in `issue.md`
|
|
65
|
+
- `full-feature`: `spec.md` and `user-story.md`
|
|
66
|
+
- `full-bug`: `spec.md`
|
|
67
|
+
- Fail closed:
|
|
68
|
+
- if the marker is missing or malformed, use `full-feature`
|
|
69
|
+
- if `minor-audit` is selected and `issue.md` lacks `## Acceptance Criteria`, require remediation
|
|
70
|
+
|
|
71
|
+
## Ordered Procedure
|
|
72
|
+
|
|
73
|
+
1. **Resolve the base branch**
|
|
74
|
+
- Use the supplied base branch when it is present.
|
|
75
|
+
- Otherwise resolve `PRBaseBranch` with `pr-base-branch-merge-base`.
|
|
76
|
+
- Record the resolved branch, merge-base SHA, merge-base timestamp, and top competing candidates when available.
|
|
77
|
+
|
|
78
|
+
2. **Load or refresh PR context**
|
|
79
|
+
- Load the canonical PR-context summary and appendix per `pr-context-artifacts`.
|
|
80
|
+
- Refresh only when the artifacts are missing or stale relative to the current branch state.
|
|
81
|
+
|
|
82
|
+
3. **Determine the active feature folder**
|
|
83
|
+
- Prefer the active feature folder that corresponds to the primary changed scoping docs.
|
|
84
|
+
- If multiple active folders are present, prefer the one whose suffix matches the issue number in the branch name.
|
|
85
|
+
- Otherwise choose the folder with the most material scoping-doc changes.
|
|
86
|
+
- If no active feature folder exists, create `docs/features/active/<today>-feature-review/` and document the assumption.
|
|
87
|
+
|
|
88
|
+
4. **Produce the policy audit**
|
|
89
|
+
- Use `policy-audit-template-usage` and the MCP `template` asset to drive the artifact structure.
|
|
90
|
+
- Include exact command references for the checks that were run.
|
|
91
|
+
- Validate the resulting `policy-audit.<timestamp>.md` immediately after writing it.
|
|
92
|
+
|
|
93
|
+
5. **Run required checks**
|
|
94
|
+
- Prefer repo-defined, check-only commands.
|
|
95
|
+
- Default order:
|
|
96
|
+
1. formatting check
|
|
97
|
+
2. lint check
|
|
98
|
+
3. type check
|
|
99
|
+
4. tests
|
|
100
|
+
5. coverage (mandatory for every language that has changed files)
|
|
101
|
+
- TypeScript: `npm run test:unit:coverage` → artifact: `coverage/lcov.info`
|
|
102
|
+
- Python: `poetry run pytest --cov` → artifact: `artifacts/python/lcov.info`
|
|
103
|
+
- PowerShell: `mcp__drmCopilotExtension__run_poshqc_test` → artifact: `artifacts/pester/powershell-coverage.xml`
|
|
104
|
+
- C#: `vstest.console.exe <test-assembly-paths> /EnableCodeCoverage` → artifact: `artifacts/csharp/coverage.xml`
|
|
105
|
+
- Coverage thresholds:
|
|
106
|
+
- New code files (added in this feature): line coverage must be >= 90%. Flag as FAIL otherwise.
|
|
107
|
+
- Modified files (changed but previously existing): line coverage must show no regression relative to baseline and must remain >= 80%. Flag as FAIL otherwise.
|
|
108
|
+
- Repo-wide line coverage must remain >= 80% per language. Flag as FAIL otherwise.
|
|
109
|
+
- If coverage artifacts already exist from the executor run, inspect them instead of re-running.
|
|
110
|
+
- If no coverage artifact exists for a language that has changed files, flag as FAIL — coverage verification is mandatory for all languages with changed files.
|
|
111
|
+
- Run the smallest relevant subset first when the repo policy permits it.
|
|
112
|
+
- If a tool cannot run in the environment, mark the affected section unverified or partial with a concrete reason.
|
|
113
|
+
|
|
114
|
+
6. **Produce the code review**
|
|
115
|
+
- Create the artifact from the MCP `code-review-template` asset.
|
|
116
|
+
- Write `code-review.<timestamp>.md` with:
|
|
117
|
+
- `## Executive Summary`
|
|
118
|
+
- `## Findings Table`
|
|
119
|
+
- a Markdown findings table header containing `Severity | File | Location | Finding | Recommendation | Rationale | Evidence`
|
|
120
|
+
- Include typed-Python review where Python files changed.
|
|
121
|
+
- Validate the artifact immediately after writing it.
|
|
122
|
+
|
|
123
|
+
7. **Produce the feature audit**
|
|
124
|
+
- Create the artifact from the MCP `feature-audit-template` asset.
|
|
125
|
+
- Write `feature-audit.<timestamp>.md` with:
|
|
126
|
+
- `## Scope and Baseline`
|
|
127
|
+
- `## Acceptance Criteria Inventory`
|
|
128
|
+
- `## Acceptance Criteria Evaluation`
|
|
129
|
+
- `## Summary`
|
|
130
|
+
- `## Acceptance Criteria Check-off`
|
|
131
|
+
- Use the resolved base branch in the baseline section.
|
|
132
|
+
- Evaluate each criterion as PASS, PARTIAL, FAIL, or UNVERIFIED.
|
|
133
|
+
- Check off passing criteria in the authoritative source files per `acceptance-criteria-tracking`.
|
|
134
|
+
- Validate the artifact immediately after writing it.
|
|
135
|
+
|
|
136
|
+
8. **Trigger remediation when required**
|
|
137
|
+
- Remediation is required when any of the following apply:
|
|
138
|
+
- the policy audit contains meaningful FAIL or PARTIAL results
|
|
139
|
+
- toolchain checks fail
|
|
140
|
+
- the code review contains blockers
|
|
141
|
+
- required acceptance criteria are FAIL or PARTIAL
|
|
142
|
+
- coverage regression below policy threshold (< 80% repo-wide per language, < 80% or regression for modified files, or < 90% for new files)
|
|
143
|
+
- coverage artifact absent for any language that has changed files
|
|
144
|
+
- Create `remediation-inputs.<timestamp>.md` first.
|
|
145
|
+
- Create the target remediation plan file from the canonical plan template.
|
|
146
|
+
- Hand off plan creation through `remediation-handoff-atomic-planner`.
|
|
147
|
+
- Do not report completion unless the remediation plan file exists when remediation was triggered.
|
|
148
|
+
|
|
149
|
+
9. **Finalize the review**
|
|
150
|
+
- Verify every reported artifact exists on disk before reporting completion.
|
|
151
|
+
- Report artifact paths and a concise go/no-go recommendation for PR readiness.
|
|
152
|
+
- End the final report with these exact single-line fields:
|
|
153
|
+
- `REVIEW_STATUS: PASS` or `REVIEW_STATUS: REMEDIATION_REQUIRED`
|
|
154
|
+
- `FEATURE_FOLDER: <path>`
|
|
155
|
+
- `POLICY_AUDIT: <path>`
|
|
156
|
+
- `CODE_REVIEW: <path>`
|
|
157
|
+
- `FEATURE_AUDIT: <path>`
|
|
158
|
+
- `REMEDIATION_INPUTS: <path-or-NONE>`
|
|
159
|
+
- `REMEDIATION_PLAN: <path-or-NONE>`
|
|
160
|
+
|
|
161
|
+
## Required Artifact Shapes
|
|
162
|
+
|
|
163
|
+
- `policy-audit.<timestamp>.md`
|
|
164
|
+
- copied from the canonical policy-audit template
|
|
165
|
+
- template instruction block removed
|
|
166
|
+
- includes the canonical major headings and Appendix B command reference
|
|
167
|
+
- `code-review.<timestamp>.md`
|
|
168
|
+
- contains `## Executive Summary`
|
|
169
|
+
- contains `## Findings Table`
|
|
170
|
+
- contains the required findings table header
|
|
171
|
+
- `feature-audit.<timestamp>.md`
|
|
172
|
+
- contains the five required major sections listed above
|
|
173
|
+
|
|
174
|
+
## Constraints
|
|
175
|
+
|
|
176
|
+
- Prefer check-only commands.
|
|
177
|
+
- Do not claim completion until every required artifact exists and its validator passes.
|
|
178
|
+
- Use shared skills as the source of truth for policy order, base-branch resolution, PR-context handling, acceptance-criteria tracking, template usage, and remediation handoff.
|
|
179
|
+
- Scope is feature-vs-base. Do not accept caller instructions (orchestrator or otherwise) that narrow scope to a plan subset, to a subset of changed files, or that mark any language's coverage as "plan scope only," "out of scope," "informational only," "context only," or "not applicable" when that language has changed files in the branch diff. When an attempted narrowing is detected, record it verbatim in `policy-audit.<timestamp>.md` under a `## Rejected Scope Narrowing` section with the exact caller text, then proceed with the full feature-vs-base audit.
|
|
180
|
+
- Coverage verdicts for every language with changed files in the branch diff must be explicit `PASS` or `FAIL`. `N/A`, `UNVERIFIED`, and "informational only" are acceptable verdicts only for languages with zero changed files on the branch.
|
|
181
|
+
- Do not omit any required final result field from the review report.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Converted skill
|
|
2
|
+
|
|
3
|
+
Applied rewrites:
|
|
4
|
+
- None
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
name: fill-feature-docs
|
|
8
|
+
description: Invoke the prd-feature worker to produce feature-document outputs from issue and research inputs.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Fill Feature Docs Skill
|
|
12
|
+
|
|
13
|
+
This direct-use wrapper delegates feature-document work to the `prd-feature` worker.
|
|
14
|
+
|
|
15
|
+
## Inputs
|
|
16
|
+
|
|
17
|
+
- Feature folder issue and research context
|
|
18
|
+
- Existing spec and user-story files when present
|
|
19
|
+
|
|
20
|
+
## Output Paths
|
|
21
|
+
|
|
22
|
+
- `docs/features/active/<feature>/spec.md`
|
|
23
|
+
- `docs/features/active/<feature>/user-story.md`
|
|
24
|
+
|
|
25
|
+
## Worker Routing
|
|
26
|
+
|
|
27
|
+
- Worker: `prd-feature`
|
package/resources/codex-and-agents-customizations/.agents/skills/invoke-csharp-engineer/SKILL.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Converted skill
|
|
2
|
+
|
|
3
|
+
Applied rewrites:
|
|
4
|
+
- Rewrite merged standing-guidance source paths to the native AGENTS.md target.
|
|
5
|
+
- Rewrite merged standing-guidance source paths to the native AGENTS.md target.
|
|
6
|
+
- Rewrite merged standing-guidance source paths to the native AGENTS.md target.
|
|
7
|
+
- Rewrite Claude skill paths to shared skill paths.
|
|
8
|
+
- Rewrite Claude rule paths to shared skill paths.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
name: invoke-csharp-engineer
|
|
12
|
+
description: Invoke the csharp-typed-engineer worker to design, implement, and verify C# changes within typed repository boundaries. Applies CSharpier -> .NET Analyzers -> Nullable Analysis -> MSTest toolchain, the 1-3 production-file small-path budget, and zero-regression quality gates.
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Implement C# Skill
|
|
16
|
+
|
|
17
|
+
This direct-use wrapper delegates C# implementation work to the `csharp-typed-engineer` worker. Use this entry point when a prompt needs a scoped C# change that must stay inside the typed engineer's guardrails.
|
|
18
|
+
|
|
19
|
+
## When to Use This Skill
|
|
20
|
+
|
|
21
|
+
Use this skill when:
|
|
22
|
+
|
|
23
|
+
- The user requests a C# code change, bug fix, refactor, or test addition.
|
|
24
|
+
- Estimated scope fits the small path (1-3 production files plus corresponding tests).
|
|
25
|
+
- The toolchain (CSharpier, .NET Analyzers, Nullable Analysis, MSTest) can be run in the current environment, or the user has explicitly authorized an unverified plan-only response.
|
|
26
|
+
|
|
27
|
+
If the estimated scope exceeds the small-path budget, this skill defers to the orchestrated flow via `csharp-change-budget-router` instead of proceeding directly.
|
|
28
|
+
|
|
29
|
+
## Inputs
|
|
30
|
+
|
|
31
|
+
- Objective statement (what the change must accomplish).
|
|
32
|
+
- Files or entrypoints in scope.
|
|
33
|
+
- Constraints, including public APIs that must be preserved.
|
|
34
|
+
- Optional approved plan. If none is supplied, the worker delegates plan authoring to `atomic_planner` before any edits.
|
|
35
|
+
- Optional budget override in the form `budget: prod=<N>, test=<M>` subject to repo policy compliance.
|
|
36
|
+
|
|
37
|
+
## Output Paths
|
|
38
|
+
|
|
39
|
+
- C# source and test files within the approved scope.
|
|
40
|
+
- Baseline evidence under `<FEATURE>/evidence/baseline/<timestamp>/` and post-change evidence under `<FEATURE>/evidence/qa-gates/<timestamp>/` per `evidence-and-timestamp-conventions`.
|
|
41
|
+
- This location is canonical per evidence-and-timestamp-conventions and is not overridable. See `.agents/skills/evidence-and-timestamp-conventions/SKILL.md` for the canonical evidence path authority.
|
|
42
|
+
- Plan artifacts under the active feature folder when the task is feature-scoped.
|
|
43
|
+
|
|
44
|
+
## Required Reporting Block
|
|
45
|
+
|
|
46
|
+
The worker must return the following reporting block:
|
|
47
|
+
|
|
48
|
+
1. Scope (exact file list).
|
|
49
|
+
2. Baseline (CSharpier, .NET Analyzers, Nullable Analysis, MSTest, coverage status).
|
|
50
|
+
3. Plan (design and test strategy).
|
|
51
|
+
4. Diffs (patch-style or full-file replacements).
|
|
52
|
+
5. QA Gate Results (CSharpier, .NET Analyzers, Nullable Analysis, MSTest, and coverage deltas, or clearly marked **unverified**).
|
|
53
|
+
|
|
54
|
+
## Worker Routing
|
|
55
|
+
|
|
56
|
+
- Worker: `csharp-typed-engineer`
|
|
57
|
+
|
|
58
|
+
## Preloaded Contracts
|
|
59
|
+
|
|
60
|
+
The worker operates under the following preloaded skills and rules:
|
|
61
|
+
|
|
62
|
+
- `policy-compliance-order`
|
|
63
|
+
- `csharp-change-budget-router`
|
|
64
|
+
- `atomic-plan-contract`
|
|
65
|
+
- `csharp-qa-gate`
|
|
66
|
+
- `acceptance-criteria-tracking`
|
|
67
|
+
- `feature-promotion-lifecycle`
|
|
68
|
+
- `remediation-handoff-atomic-planner`
|
|
69
|
+
- `evidence-and-timestamp-conventions`
|
|
70
|
+
- `.agents/skills/csharp/SKILL.md` (path-scoped for `**/*.cs` and `**/*.csproj`)
|
|
71
|
+
- `AGENTS.md`
|
|
72
|
+
- `AGENTS.md`
|
|
73
|
+
- `AGENTS.md`
|
package/resources/codex-and-agents-customizations/.agents/skills/invoke-powershell-engineer/SKILL.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Converted skill
|
|
2
|
+
|
|
3
|
+
Applied rewrites:
|
|
4
|
+
- Rewrite merged standing-guidance source paths to the native AGENTS.md target.
|
|
5
|
+
- Rewrite merged standing-guidance source paths to the native AGENTS.md target.
|
|
6
|
+
- Rewrite merged standing-guidance source paths to the native AGENTS.md target.
|
|
7
|
+
- Rewrite Claude skill paths to shared skill paths.
|
|
8
|
+
- Rewrite Claude rule paths to shared skill paths.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
name: invoke-powershell-engineer
|
|
12
|
+
description: Invoke the powershell-typed-engineer worker to design, implement, and verify PowerShell changes within typed repository boundaries. Applies PoshQC format -> analyze -> test toolchain, the 1-2 production-file direct-mode budget, the 3-production + 3-test per-batch cap, and zero-regression quality gates.
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Implement PowerShell Skill
|
|
16
|
+
|
|
17
|
+
This direct-use wrapper delegates PowerShell implementation work to the `powershell-typed-engineer` worker. Use this entry point when a prompt needs a scoped PowerShell change that must stay inside the typed engineer's guardrails.
|
|
18
|
+
|
|
19
|
+
## When to Use This Skill
|
|
20
|
+
|
|
21
|
+
Use this skill when:
|
|
22
|
+
|
|
23
|
+
- The user requests a PowerShell code change, bug fix, refactor, or test addition.
|
|
24
|
+
- Estimated scope fits the direct-mode path (1-2 production PowerShell files plus corresponding tests).
|
|
25
|
+
- The toolchain (PoshQC format, PSScriptAnalyzer, Pester with coverage where enforced) can be run in the current environment, or the user has explicitly authorized an unverified plan-only response.
|
|
26
|
+
|
|
27
|
+
If the estimated scope exceeds the direct-mode budget, this skill defers to the orchestrated flow via `powershell-change-budget-router` instead of proceeding directly.
|
|
28
|
+
|
|
29
|
+
## Inputs
|
|
30
|
+
|
|
31
|
+
- Objective statement (what the change must accomplish).
|
|
32
|
+
- Files or entrypoints in scope (exact script or module paths and corresponding `*.Tests.ps1` paths).
|
|
33
|
+
- Constraints, including public function or module contracts that must be preserved.
|
|
34
|
+
- Optional approved plan. If none is supplied, the worker delegates plan authoring to `atomic_planner` before any edits.
|
|
35
|
+
- Optional budget override in the form `budget: prod=<N>, test=<M>` subject to repo policy compliance.
|
|
36
|
+
|
|
37
|
+
## Output Paths
|
|
38
|
+
|
|
39
|
+
- PowerShell source (`*.ps1`, `*.psm1`, `*.psd1`) and Pester test (`*.Tests.ps1`) files within the approved scope.
|
|
40
|
+
- Baseline evidence under `<FEATURE>/evidence/baseline/<timestamp>/` and post-change evidence under `<FEATURE>/evidence/qa-gates/<timestamp>/` per `evidence-and-timestamp-conventions`.
|
|
41
|
+
- This location is canonical per evidence-and-timestamp-conventions and is not overridable. See `.agents/skills/evidence-and-timestamp-conventions/SKILL.md` for the canonical evidence path authority.
|
|
42
|
+
- Plan artifacts under the active feature folder when the task is feature-scoped.
|
|
43
|
+
|
|
44
|
+
## Required Reporting Block
|
|
45
|
+
|
|
46
|
+
The worker must return the `powershell-qa-gate` reporting block:
|
|
47
|
+
|
|
48
|
+
1. Scope (exact file list).
|
|
49
|
+
2. Baseline (PSScriptAnalyzer, Pester, coverage status).
|
|
50
|
+
3. Plan (design and test strategy, including minimal DI seams and external executable wrapper mock strategy).
|
|
51
|
+
4. Diffs (patch-style or full-file replacements).
|
|
52
|
+
5. QA Gate Results (PSScriptAnalyzer, Pester, and coverage deltas, or clearly marked **unverified**).
|
|
53
|
+
|
|
54
|
+
## Worker Routing
|
|
55
|
+
|
|
56
|
+
- Worker: `powershell-typed-engineer`
|
|
57
|
+
|
|
58
|
+
## Preloaded Contracts
|
|
59
|
+
|
|
60
|
+
The worker operates under the following preloaded skills and rules:
|
|
61
|
+
|
|
62
|
+
- `policy-compliance-order`
|
|
63
|
+
- `powershell-change-budget-router`
|
|
64
|
+
- `powershell-orchestration-state-machine`
|
|
65
|
+
- `atomic-plan-contract`
|
|
66
|
+
- `powershell-qa-gate`
|
|
67
|
+
- `acceptance-criteria-tracking`
|
|
68
|
+
- `feature-promotion-lifecycle`
|
|
69
|
+
- `remediation-handoff-atomic-planner`
|
|
70
|
+
- `evidence-and-timestamp-conventions`
|
|
71
|
+
- `.agents/skills/powershell/SKILL.md` (path-scoped for `**/*.ps1`, `**/*.psm1`, `**/*.psd1`)
|
|
72
|
+
- `AGENTS.md`
|
|
73
|
+
- `AGENTS.md`
|
|
74
|
+
- `AGENTS.md`
|
package/resources/codex-and-agents-customizations/.agents/skills/invoke-python-engineer/SKILL.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Converted skill
|
|
2
|
+
|
|
3
|
+
Applied rewrites:
|
|
4
|
+
- Rewrite merged standing-guidance source paths to the native AGENTS.md target.
|
|
5
|
+
- Rewrite merged standing-guidance source paths to the native AGENTS.md target.
|
|
6
|
+
- Rewrite merged standing-guidance source paths to the native AGENTS.md target.
|
|
7
|
+
- Rewrite Claude skill paths to shared skill paths.
|
|
8
|
+
- Rewrite Claude rule paths to shared skill paths.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
name: invoke-python-engineer
|
|
12
|
+
description: Invoke the python-typed-engineer worker to design, implement, and verify Python changes within typed repository boundaries. Applies Black -> Ruff -> Pyright -> Pytest toolchain, the 3-production + 3-test per-batch budget, and zero-regression quality gates.
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Implement Python Skill
|
|
16
|
+
|
|
17
|
+
This direct-use wrapper delegates Python implementation work to the `python-typed-engineer` worker. Use this entry point when a prompt needs a scoped Python change that must stay inside the typed engineer's guardrails.
|
|
18
|
+
|
|
19
|
+
## When to Use This Skill
|
|
20
|
+
|
|
21
|
+
Use this skill when:
|
|
22
|
+
|
|
23
|
+
- The user requests a Python code change, bug fix, refactor, or test addition.
|
|
24
|
+
- Estimated scope fits the small path (1-3 production files plus corresponding tests).
|
|
25
|
+
- The toolchain (Black, Ruff, Pyright, Pytest) can be run in the current environment, or the user has explicitly authorized an unverified plan-only response.
|
|
26
|
+
|
|
27
|
+
If the estimated scope exceeds the small-path budget, this skill defers to the orchestrated flow via `python-change-budget-router` instead of proceeding directly.
|
|
28
|
+
|
|
29
|
+
## Inputs
|
|
30
|
+
|
|
31
|
+
- Objective statement (what the change must accomplish).
|
|
32
|
+
- Files or entrypoints in scope.
|
|
33
|
+
- Constraints, including public APIs that must be preserved.
|
|
34
|
+
- Optional approved plan. If none is supplied, the worker delegates plan authoring to `atomic_planner` before any edits.
|
|
35
|
+
- Optional budget override in the form `budget: prod=<N>, test=<M>` subject to repo policy compliance.
|
|
36
|
+
|
|
37
|
+
## Output Paths
|
|
38
|
+
|
|
39
|
+
- Python source and test files within the approved scope.
|
|
40
|
+
- Baseline evidence under `<FEATURE>/evidence/baseline/<timestamp>/` and post-change evidence under `<FEATURE>/evidence/qa-gates/<timestamp>/` per `evidence-and-timestamp-conventions`.
|
|
41
|
+
- This location is canonical per evidence-and-timestamp-conventions and is not overridable. See `.agents/skills/evidence-and-timestamp-conventions/SKILL.md` for the canonical evidence path authority.
|
|
42
|
+
- Plan artifacts under the active feature folder when the task is feature-scoped.
|
|
43
|
+
|
|
44
|
+
## Required Reporting Block
|
|
45
|
+
|
|
46
|
+
The worker must return the `python-qa-gate` reporting block:
|
|
47
|
+
|
|
48
|
+
1. Scope (exact file list).
|
|
49
|
+
2. Baseline (Ruff, Pyright, Pytest, coverage status).
|
|
50
|
+
3. Plan (design and test strategy).
|
|
51
|
+
4. Diffs (patch-style or full-file replacements).
|
|
52
|
+
5. QA Gate Results (Ruff, Pyright, Pytest, and coverage deltas, or clearly marked **unverified**).
|
|
53
|
+
|
|
54
|
+
## Worker Routing
|
|
55
|
+
|
|
56
|
+
- Worker: `python-typed-engineer`
|
|
57
|
+
|
|
58
|
+
## Preloaded Contracts
|
|
59
|
+
|
|
60
|
+
The worker operates under the following preloaded skills and rules:
|
|
61
|
+
|
|
62
|
+
- `policy-compliance-order`
|
|
63
|
+
- `python-change-budget-router`
|
|
64
|
+
- `atomic-plan-contract`
|
|
65
|
+
- `python-qa-gate`
|
|
66
|
+
- `acceptance-criteria-tracking`
|
|
67
|
+
- `feature-promotion-lifecycle`
|
|
68
|
+
- `remediation-handoff-atomic-planner`
|
|
69
|
+
- `evidence-and-timestamp-conventions`
|
|
70
|
+
- `.agents/skills/python/SKILL.md` (path-scoped for `**/*.py`)
|
|
71
|
+
- `AGENTS.md`
|
|
72
|
+
- `AGENTS.md`
|
|
73
|
+
- `AGENTS.md`
|