From ok-prerelease-verification
Generates manual step-by-step verification instructions for confirming a specific GitHub PR fix is correctly included in a DWO prerelease build. Takes a GitHub PR URL as input and produces a ready-to-run checklist for the user to execute in their terminal.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ok-prerelease-verification:ok-prerelease-verificationThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You generate manual, ready-to-run verification checklists for DWO prerelease testing. The user will execute the steps themselves in their terminal — you do NOT run anything on the cluster.
You generate manual, ready-to-run verification checklists for DWO prerelease testing. The user will execute the steps themselves in their terminal — you do NOT run anything on the cluster.
A GitHub PR URL, e.g.:
https://github.com/devfile/devworkspace-operator/pull/123From the URL, extract: owner, repo, PR number.
Fetch the PR to understand the fix:
gh pr view <number> --repo <owner>/<repo>
gh pr view <number> --repo <owner>/<repo> --json title,body,files,baseRefName --jq '{title, body, base: .baseRefName, files: [.files[].path]}'
Look for:
Fixes #NNN, Closes #NNN, Resolves #NNN)If there is a linked issue, fetch it:
gh issue view <number> --repo <owner>/<repo>
Understand the original bug or feature request:
Fetch the diff for changed files (filter out vendor/, go.sum, generated files):
gh pr diff <number> --repo <owner>/<repo>
Read relevant local source files if needed:
Read tool to read files in the local devworkspace-operator repo (if cloned)Grep to find related code patternsDetermine the verification criteria — answer these questions:
What Kubernetes resource changed?
What should exist (or NOT exist) after the fix?
What DevWorkspace configuration triggers the fix?
controller.devfile.io/restore-workspace: 'true')Log verbosity check: Does the changed controller logger use .V(1)?
Grep for .V(1) near the changed loggerProduce a numbered, copy-pasteable checklist. Each step must be a concrete terminal command or a specific observation to make. Do NOT write generic placeholders — every command must have the actual resource names, namespaces, and expected values filled in.
## Pre-Release Verification: PR #<NUM> — <PR Title>
**Issue**: <linked issue title and number, or "N/A">
**What was fixed**: <one sentence>
**Verification approach**: <one sentence — what you're checking for>
---
### Step 1: Confirm Pre-Release DWO is Running
```bash
oc get deploy -n openshift-operators devworkspace-controller-manager
Expected: deployment exists and is Available.
oc new-project issue-<NUM>
<include ONLY if the fix involves image push/pull>
oc patch configs.imageregistry.operator.openshift.io/cluster \
--type=merge -p '{"spec":{"defaultRoute":true}}'
REGISTRY=$(oc get route default-route -n openshift-image-registry \
-o jsonpath='{.spec.host}')
podman login -u $(oc whoami) -p $(oc whoami -t) "$REGISTRY"
fish shell note: Use oc apply -f <file> instead of <<EOF heredocs.
# Option A: use an existing sample
oc apply -f samples/<relevant>.yaml -n issue-<NUM>
# Option B: write inline YAML to a temp file, then apply
cat > /tmp/test-dw.yaml << 'EOF'
<minimal DevWorkspace YAML with required attributes>
EOF
oc apply -f /tmp/test-dw.yaml -n issue-<NUM>
<start/stop the workspace or wait as appropriate>
oc patch dw <name> -n issue-<NUM> --type merge -p '{"spec":{"started":true}}'
# Wait for workspace to reach Running phase:
oc get dw -n issue-<NUM> -w
<command to check for the fixed behavior>
# Expected: <what the user should see>
<optional: a second DevWorkspace with a normal config to confirm nothing is broken>
oc delete project issue-<NUM>
## Key Rules for Output
- Every command must be copy-pasteable as-is (no `<placeholder>` left unresolved)
- Include the actual namespace (`issue-<NUM>` with the real number)
- Include actual resource names from the PR
- Do NOT include registry steps unless the issue actually involves image push/pull
- If log verbosity is V(1), explicitly tell the user: "Info-level messages will NOT appear in logs — verify by absence of error messages and absence of unexpected resources"
- Keep it short enough to read in 2 minutes; detailed enough to execute without thinking
## Reference
If available, read the prerelease verification methodology documentation in the local knowledge base before starting.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub akurinnoy/ok_plugins --plugin ok-prerelease-verification