run-uat
Skill174 starsChanged 2 months agoMITView on GitHub
Run User Acceptance Testing by creating a PR with rendered markdown on GitHub or Azure DevOps. Use when validating markdown rendering in real platforms.
In this repository59 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-runtimeSkill
- arc42-documentationSkill
- authoring-rolesSkill
- context-packSkill
- create-agent-skillSkill
- create-pr-azdoSkill
- create-pr-githubSkill
- detect-diagram-crossingsSkill
- flowchart_layout_optimizerSkill
- generate-demo-artifactsSkill
- generate-release-screenshotsSkill
- git-rebase-mainSkill
- merge-conflict-resolutionSkill
- next-issue-numberSkill
- pre-pr-checklistSkill
- retrospective-evidenceSkill
- run-dotnet-testsSkill
- run-uatSkill
- run-workflowSkill
- update-test-snapshotsSkill
- update-workflow-diagramSkill
- view-pr-githubSkill
- watch-uat-azdo-prSkill
- watch-uat-github-prSkill
- website-accessibility-checkSkill
- website-create-examplesSkill
- website-devtoolsSkill
- website-quality-checkSkill
- website-visual-assetsSkill
- agent-runtimeSkill
- arc42-documentationSkill
- authoring-rolesSkill
- context-packSkill
- create-agent-skillSkill
- create-pr-azdoSkill
- create-pr-githubSkill
- detect-diagram-crossingsSkill
- flowchart_layout_optimizerSkill
- generate-demo-artifactsSkill
- generate-release-screenshotsSkill
- git-rebase-mainSkill
- merge-conflict-resolutionSkill
- next-issue-numberSkill
- pre-pr-checklistSkill
- retrospective-evidenceSkill
- run-dotnet-testsSkill
- run-workflowSkill
- update-test-snapshotsSkill
- update-workflow-diagramSkill
- view-pr-githubSkill
- watch-uat-azdo-prSkill
- watch-uat-github-prSkill
- website-accessibility-checkSkill
- website-create-examplesSkill
- website-devtoolsSkill
- website-quality-checkSkill
- website-visual-assetsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Leave the UAT PRs open when you finish creating them.
- Distinctive: line 31
Leave UAT PRs open after testing completes.
- Very specific: line 92
Before running UAT, ensure your branch is up to date to avoid testing against stale base changes.
- Very specific: line 93
Use the git-rebase-main skill.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Run UAT
Purpose
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.
Hard Rules
Must
- Provide at least one
--report/--instructionspair (feature-specific report and test instructions). - The comprehensive demo is appended automatically — do NOT add it as a
--report. - Artifacts must be up-to-date (generated from current branch code). Run
scripts/generate-demo-artifacts.shif needed. - Leave the UAT PRs open when you finish creating them. Completing the UAT Tester's stage is what opens the Maintainer's approval gate, and the gate asks them to look at those PRs — closing them first makes the gate unanswerable.
- Cleanup happens after the decision is recorded, and belongs to the Release Manager, not the UAT Tester.
- Report platform-specific rendering issues clearly.
Must Not
- Post a minimal or simulation artifact (reject files containing "minimal" or "simulation" in the name).
- Pass the comprehensive demo as a
--reportargument (added automatically). - Leave UAT PRs open after testing completes.
- Modify any source code during UAT.
Pre-requisites
- Git submodules initialized:
git submodule update --init --recursive - GitHub UAT: Authentication is automatic for coding agents (uses
GH_UAT_TOKEN). For local dev:gh auth login. - Azure DevOps UAT: Authentication is automatic for coding agents (uses
AZDO_UAT_TOKEN→AZURE_DEVOPS_EXT_PAT). For local dev: setAZURE_DEVOPS_EXT_PAT.
Recommended: Single Wrapper Command
# 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
# After the Maintainer records the gate decision, the Release Manager cleans up:
scripts/uat-run.sh --cleanup-lastWhat the Script Does
- Validates that all provided artifacts are up-to-date (built from current branch code)
- Auto-configures GitHub/AzDO authentication for coding agent environments
- Creates a unique UAT branch in the UAT repos
- Creates UAT PR(s) on GitHub and/or Azure DevOps
Posts each feature report as a PR comment with the format:
## Test Instructions <instructions you provided> ## Report <artifact content>- Automatically appends
artifacts/comprehensive-demo-simple-diff.md(GitHub) andartifacts/comprehensive-demo.md(AzDO) as the final regression test comment - Polls for approval (unless
--create-only) - Cleans up PRs and branches on approval
0. Rebase on Latest Main
Before running UAT, ensure your branch is up to date to avoid testing against stale base changes.
Use the git-rebase-main skill.
1. Generate Fresh Artifacts (if needed)
# 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>.mdTroubleshooting
| 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" | Export it in your shell: export GH_UAT_TOKEN=... |
| "AZDO_UAT_TOKEN not set" | Export it in your shell: export AZDO_UAT_TOKEN=... |
| Submodule not initialized | Run git submodule update --init --recursive |
| "Branch already exists" | Old UAT branch still present; run scripts/uat-run.sh --cleanup-last |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

