用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/drmoisan/drm-copilot --skill powershell命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Admit one new item into a running parallel run — preparation via a preparation-mode child orchestrator run, conflict-edge computation against all items including in-flight ones, and the admission decision that either places the item in the current cohort or defers it and recolors the unstarted subgraph. Appends exactly one mutations[] entry. In-flight items are never moved.
Execute a prepared parallel run for the parallel-orchestrator agent — cohort scheduling under a max_concurrency cap, per-item fan-out onto isolated worktrees branched from origin/main, per-item merge to main after durably confirming CI green, worktree cleanup, and the generated parallel-status.md projection. There is no integration branch and no final integration pull request.
Prepare a set of thematically unrelated items for concurrent execution before any execution begins - item intake over issue numbers and potential-entry paths, concurrent preparation-mode child orchestrator delegations, blast-radius computation and V1-V3 validation, cohort seeding with a recomputation-parity check, run-manifest and planner-checkpoint authoring, and the parallel-orchestrator kickoff artifact.
基于 SOC 职业分类
正在显示 SKILL.md
| name | powershell |
| paths | ["**/*.ps1","**/*.psm1","**/*.psd1"] |
| description | PowerShell-specific toolchain and coding standards. |
This rule file summarizes the PowerShell-specific policies for this repository.
mcp__drm-copilot__run_poshqc_formatmcp__drm-copilot__run_poshqc_analyze. Optional autofix: mcp__drm-copilot__run_poshqc_analyze_autofixmcp__drm-copilot__run_poshqc_test. Use repo config at scripts/powershell/PoshQC/settings/pester.runsettings.psd1.Run the toolchain in order: format → analyze → test. Restart from step 1 if any step fails or changes files. Use the MCP server functions; do not substitute VS Code task wrappers.
CmdletBinding() and named parameters.[Parameter(Mandatory = $true)] and validation attributes where appropriate.Invoke-Expression, plaintext secrets, and hard-coded credentials/paths.Write-Error/throw for failures; avoid silent catch-alls.powershell-orchestrator per powershell-change-budget-router.Introduce the smallest seam that enables reliable mocking. Apply these options in order:
Invoke-<Tool>Exe -<Tool>Args <string[]> (for example Invoke-GitExe -GitArgs <string[]>).git @GitArgs 2>&1.Args (automatic variable collision). Use GitArgs, ToolArgs, or Arguments.ScriptBlock parameter with a safe default. Do not introduce generic runner frameworks.tests/scripts/dev-tools/ScriptName.Tests.ps1).*.Tests.ps1.Describe/Context/It blocks; one behavior per It.Tests must not depend on:
Tests must produce identical results in Terminal and the VS Code Test Explorer. Assume a different PATH, current working directory, profile, and host when tests are run from Test Explorer; do not rely on ambient environment resolution.
git, gh, actionlint, or other executables directly. Mock the wrapper function (for example Invoke-GitExe) instead.Invoke-GitExe -GitArgs $gitArgsparam([string[]]$GitArgs)ScriptBlock patterns:
ScriptBlock in the test scope,