一键导入
run-uat
Run User Acceptance Testing by creating a PR with rendered markdown on GitHub or Azure DevOps. Use when validating markdown rendering in real platforms.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run User Acceptance Testing by creating a PR with rendered markdown on GitHub or Azure DevOps. Use when validating markdown rendering in real platforms.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Minimum-requirements checklist for any change — code or docs-only. Run this before every PR creation or push to avoid CI failures on the first attempt.
Generate PNG screenshots for release notes using the repository's HtmlRenderer and ScreenshotGenerator tools. Use when asked to add screenshots to release notes or documentation.
Determine the next available issue number across all change types (feature, fix, workflow) by checking both local docs and remote branches, then reserve it by pushing an empty branch.
Convert the mermaid diagram in docs/agents.md to a blueprint-styled SVG for the website. Use when the workflow diagram in agents.md is updated and needs to be reflected on the website.
Run a focused accessibility pass for website changes (WCAG 2.1 AA-oriented).
Create and update interactive examples for the Eleventy website using page entrypoints and src/examples fragments.
| name | run-uat |
| description | Run User Acceptance Testing by creating a PR with rendered markdown on GitHub or Azure DevOps. Use when validating markdown rendering in real platforms. |
| compatibility | Requires git. GitHub UAT uses repo scripts which require GitHub CLI (gh) authenticated. Azure DevOps UAT requires Azure CLI (az) + azure-devops extension. Network access required. |
Execute end-to-end User Acceptance Testing by posting a feature-specific artifact and the comprehensive demo to a real PR on GitHub or Azure DevOps, then validating the rendered output.
--report/--instructions pair (feature-specific report and test instructions).--report.scripts/generate-demo-artifacts.sh if needed.--report argument (added automatically).git submodule update --init --recursiveGH_UAT_TOKEN). For local dev: gh auth login.AZDO_UAT_TOKEN → AZURE_DEVOPS_EXT_PAT). For local dev: set AZURE_DEVOPS_EXT_PAT.# Minimum: one feature-specific report with test instructions
scripts/uat-run.sh \
--report artifacts/<feature-specific-report>.md \
--instructions "In azurerm_key_vault_secret.audit_policy, verify key_vault_id displays as 'Key Vault \`kv-name\` in resource group \`rg-name\`' instead of full /subscriptions/ path"
# Multiple feature-specific reports (all with instructions):
scripts/uat-run.sh \
--report artifacts/feature-a.md \
--instructions "Verify feature A renders correctly" \
--report artifacts/feature-b.md \
--instructions "Verify feature B renders correctly"
# GitHub only:
scripts/uat-run.sh \
--report artifacts/<feature>.md \
--instructions "..." \
--platform github
# Create PRs without polling (for manual review workflow):
scripts/uat-run.sh \
--report artifacts/<feature>.md \
--instructions "..." \
--create-only
# Then later clean up:
scripts/uat-run.sh --cleanup-last
## Test Instructions
<instructions you provided>
## Report
<artifact content>
artifacts/comprehensive-demo-simple-diff.md (GitHub) and artifacts/comprehensive-demo.md (AzDO) as the final regression test comment--create-only)Before running UAT, ensure your branch is up to date to avoid testing against stale base changes.
Use the git-rebase-main skill.
# If script fails with "Artifact is outdated":
scripts/generate-demo-artifacts.sh
# For feature-specific artifacts:
dotnet run --project src/Oocx.TfPlan2Md/Oocx.TfPlan2Md.csproj -- \
[your args] --output artifacts/<feature-specific>.md
| Issue | Solution |
|---|---|
| "Artifact is outdated" | Run scripts/generate-demo-artifacts.sh to regenerate all demo artifacts |
| "At least one --report/--instructions pair is required" | Provide --report <file> --instructions "<text>" |
| "Each --report must have a corresponding --instructions" | Check that --report and --instructions are properly paired |
| "GH_UAT_TOKEN is not set" | Add secret to Repository Settings > Environments > copilot |
| "AZDO_UAT_TOKEN not set" | Add secret to Repository Settings > Environments > copilot |
| Submodule not initialized | Run git submodule update --init --recursive |
| "Branch already exists" | Old UAT branch still present; run scripts/uat-run.sh --cleanup-last |