acceptance-verification
Verify GitHub issue acceptance criteria against codebase evidence. Posts structured verification comments on issues.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Verify GitHub issue acceptance criteria against codebase evidence. Posts structured verification comments on issues.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Manage project board — issues, sprints, status tracking, acceptance verification, and release management. Supports GitHub Projects, Jira, and YouTrack via pluggable providers.
Manage project board — issues, sprints, status tracking, acceptance verification, and release management. Supports GitHub Projects, Jira, and YouTrack via pluggable providers.
Happy path smoke testing — navigates all configured endpoints, checks HTTP status and server logs for errors, and optionally auto-creates GitHub issues for failures. Config-driven via CC_SMOKE_TEST_* variables.
Manage GitHub Project board — issues, sprints, status tracking, acceptance verification, and release management. White-labeled template for any project.
Check for and apply cognitive-core framework updates. Compares installed agents, skills, and hooks against the framework source, shows available updates, and safely applies them.
Check for and apply cognitive-core framework updates. Compares installed agents, skills, and hooks against the framework source, shows available updates, and safely applies them.
| name | acceptance-verification |
| description | Verify GitHub issue acceptance criteria against codebase evidence. Posts structured verification comments on issues. |
| user-invocable | true |
| allowed-tools | Bash, Read, Grep, Glob |
| argument-hint | Issue number to verify |
| catalog_description | Verify GitHub issue acceptance criteria against codebase evidence. |
Verify whether acceptance criteria defined in a GitHub issue have been met, partially met, or remain open. Posts a structured verification comment on the issue with evidence.
| Variable | Description | Example |
|---|---|---|
{{CC_GITHUB_OWNER}} | Repository owner | myorg |
{{CC_GITHUB_REPO}} | Repository name | my-project |
{{CC_PROJECT_NUMBER}} | GitHub Project number | 3 |
{{CC_PROJECT_ID}} | GitHub Project node ID | PVT_kwHOA5GKMc4BPDsB |
{{CC_STATUS_DONE_ID}} | "Done" column option ID | 52a13056 |
{{CC_STATUS_FIELD_ID}} | Status field ID | PVTSSF_... |
When invoked with an issue number:
gh issue view <number> --repo {{CC_GITHUB_OWNER}}/{{CC_GITHUB_REPO}} --json title,body,labels,state,comments
Parse the issue body for acceptance criteria. Look for:
- [ ] criteria or - [x] criteriaExtract each criterion as a separate item. If no structured criteria found, extract key requirements from the issue description.
For each criterion, search for evidence across these sources:
a) Git history — commits referencing the issue:
gh api repos/{{CC_GITHUB_OWNER}}/{{CC_GITHUB_REPO}}/commits --jq '.[].commit.message' -X GET -f sha=development -f per_page=50 | grep -i "#<number>"
git log --oneline --all --grep="<keyword>" | head -10
b) Code changes — files modified for this issue (use Grep and Glob tools)
c) Test coverage — tests verifying the criterion (search test directories)
d) Documentation — docs addressing the criterion
e) CI/CD pipeline — workflow changes if applicable
| Status | Symbol | Meaning |
|---|---|---|
| PASS | :white_check_mark: | Criterion fully satisfied with evidence |
| PARTIAL | :large_orange_diamond: | Some aspects met, gaps remain |
| FAIL | :x: | No evidence of implementation |
| N/A | :heavy_minus_sign: | Criterion not applicable or deferred |
gh issue comment <number> --repo {{CC_GITHUB_OWNER}}/{{CC_GITHUB_REPO}} --body "$(cat <<'COMMENT'
## Acceptance Criteria Verification
**Verified by**: Claude Code — Acceptance Verification
**Date**: $(date +%Y-%m-%d)
**Branch**: development
### Results
| # | Criterion | Status | Evidence |
|---|-----------|--------|----------|
| 1 | <criterion text> | :white_check_mark: PASS | <evidence summary> |
| 2 | <criterion text> | :large_orange_diamond: PARTIAL | <what's done, what's missing> |
| 3 | <criterion text> | :x: FAIL | No implementation found |
### Summary
- **Total criteria**: N
- **Passed**: X / **Partial**: Y / **Failed**: Z
- **Overall**: PASS / PARTIAL / FAIL
### Evidence Details
#### Criterion 1: <text>
- **Commits**: `abc1234` — <commit message>
- **Files**: `path/to/file:42` — <relevant code>
- **Tests**: `t/path/to/test.t` — <test description>
### Recommendation
<If gaps exist: specific actions needed>
<If all pass: ready to move to Done>
COMMENT
)"
For each criterion that received PASS status, update the issue body to check its checkbox (- [ ] → - [x]). Criteria with PARTIAL, FAIL, or N/A remain unchecked.
BODY=$(gh issue view <number> --repo {{CC_GITHUB_OWNER}}/{{CC_GITHUB_REPO}} --json body --jq '.body')
For each PASS criterion, find its matching checkbox line and replace - [ ] with - [x]. Match by searching for a unique substring of the criterion text (first 30+ chars).
Update the issue body:
gh issue edit <number> --repo {{CC_GITHUB_OWNER}}/{{CC_GITHUB_REPO}} --body "$UPDATED_BODY"
Rules:
- [x]), leave it unchanged--dry-run mode, show which boxes would be ticked but don't updateNEVER close or suggest closing an issue unless ALL acceptance criteria are PASS.
This is a hard rule with no exceptions:
/issues close, project coordinator), BLOCK the close operation and return the gap listOnly when ALL criteria are PASS:
--strict is NOT set: suggest moving the issue to "Done" on the project board, ask user for confirmation before executing--strict IS set: report only, no board changesRationale: Premature closure hides unfinished work. It is always better to leave an issue open with clear gap documentation than to close it optimistically.
| Flag | Effect |
|---|---|
--strict | Report only, no board status changes suggested |
--dry-run | Show what would be posted without actually commenting |
--quiet | Minimal output, just the summary table |
Priority order for finding evidence:
#<issue-number> in commit messages, PR titles/verify 19 21 37
Process each issue sequentially and post individual comments.
When verifying an issue that contains a task list with sub-issue references (- [ ] #N), this skill detects it as an epic and performs recursive verification:
#N references from task list items in the issue bodyThis ensures that closing an epic requires complete verification of the entire work tree, not just the parent issue.
This skill can be invoked by:
/verify <number>/project-board verify command (which delegates here)