refining-issue-acceptance
Refine a GitHub issue into a proper engineering spec — a short, clear description plus well-defined acceptance criteria (AC) written as observable, external…
Skill by hierovision
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hierovision-refining-issue-acceptance
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/refining-issue-acceptance
What's inside
- Skill name
refining-issue-acceptance- Description
- Refine a GitHub issue into a proper engineering spec — a short, clear description plus well-defined acceptance criteria (AC) written as observable, external behavior a test could assert (unit, integration, or e2e). Use whenever the user says "refine this issue", "add acceptance criteria to issue N", "turn issue N into a spec", "improve/clean up the issue body", "spec out issue N", or hands over a rough issue to make shippable — even if they don't say "acceptance". Works on issues produced by managing-github-issues (carrying Roadmap ID, Category, Score, and a source checklist) and on a plain issue given only a title + raw description. Not for creating issues from a roadmap (that is managing-github-issues), ranking/triaging a backlog (triaging-requirements), or implementing/fixing the code an issue describes (implementing-features).
- License
- MIT
- Instructions
- 171 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (9)
- SKILL.md
- evals.json · evals/
- bad-refined-body.md · evals/fixtures/
- refined-body.md · evals/fixtures/
- sample-issue.md · evals/fixtures/
- unit.test.mjs · evals/fixtures/
- verify.mjs · evals/fixtures/
- acceptance-criteria.md · references/
- refine-issue.mjs · scripts/
SKILL.md (first lines)
# Refining Issue Acceptance Upgrade a rough GitHub issue into a proper engineering spec: a short, clear description and acceptance criteria (AC) that describe *observable behavior a test could assert* — never the files, modules, or functions that implement it. Implementation is left to the implementer. The judgment (writing behavioral ACs, classifying each by how it is verified) lives here. The deterministic, re-runnable side-effect plumbing (fetch current issue, validate the spec, render a before→after, and edit the live issue) lives in `scripts/refine-issue.mjs`. Mirror the pattern of `../managing-github-issues/SKILL.md`: deterministic script + confirmation-gated live edit. ## The refinement pass Copy this checklist and check off items as you complete them. ``` Refine Progress: - [ ] 1. Fetch the issue (gh issue view) or read the title + raw description - [ ] 2. Draft the refined description (2-4 sentences, user-facing, no code) - [ ] 3. Draft ACs as observable behavior; tag each [unit]/[integration]/[e2e] - [ ] 4. Self-check: no file/module/function leaks; every AC is verifiable - [ ] 5. Dry-run — confirm the proposed spec and the validation result - [ ] 6. Confirm the live edit with the user - [ ] 7. Apply — edit the issue (external side effect, confirmation-gated) ``` ### Step 1 — Get the issue - Issues from `managing-github-issues` already carry `Roadmap ID`, `Category`, `Score`, and a `- [ ]` source checklist pulled from planning docs. Treat the checklist as raw material, not as finished AC. - A plain issue gives you a title + body. If there is no source checklist, you still write ACs from the title and description — the skill does not require a checklist to exist. Fetch with: ``` gh issue view <number> --repo owner/name --json title,body ``` Replace `<number>`/`<owner/name>` as the user supplies; infer the repo from the working directory via `gh repo view --json nameWithOwner` if not given. ### Step 2 — Write the description A short, clear description: 2–4 sentences stating what changes and why it matters to a user. No implementation detail, no file names. Keep the existing title if it is already good; otherwise propose a tighter one. ### Step 3 — Write the acceptance criteria Write each AC as **observable, external behavior a test could assert**. Phrase it from the user's or system's vantage point — what is seen, returned, created, blocked, or emitted — not how the code achieves it. Tag every AC with how it is most likely verified, without dictating the code: - **`[unit]`** — isolated logic: a pure function, a validation/computation rule, a transformation. A unit test asserts the result for given inputs. (Maps to `../writing-unit-tests/SKILL.md`.) - **`[integration]`** — a seam where collaborators meet: store+client, DB+policy, outbox+replay, an external boundary. An integration test asserts the interaction persisted/emitted correctly with real collaborators (faked transport only). (Maps to `../writing-integration-tests/SKILL.md`.) - **`[e2e]`** — a user journey through the real UI (browser). An e2e test asserts what a user sees/experiences: page state, inline errors, navigation. (Maps to `../writing-e2e-tests/SKILL.md`.) A single issue usually needs ACs spanning two or three types; tag each line so the implementer knows which test proves it. The full AC template and the good-vs-bad examples (behavioral/verifiable vs implementation-leaking) are in [references/acceptance-criteria.md](references/acceptance-criteria.md). Read it when drafting the body or reviewing for leaks. ### Step 4 — Self-check (the hard requirements) Before running the script, verify each AC against these rules: - **Behavioral, not implementation.** No file paths (`src/...`), module names, function/method names, or code snippets. Say "submitting an empty form shows an inline error and creates no record", not "add `validateForm()` in `src/components/Form.tsx`". - **Verifiable.** A test — unit, integration, or e2e — could assert the stated outcome. If you cannot imagine a test for it, rewrite it. - **Tagged.** Every AC carries exactly one `[unit]`/`[integration]`/`[e2e]` tag. ### Step 5 — Dry-run (default-safe) Write the refined body to a file following the template, then run the script with `--dry-run` (the default if neither flag is given). It fetches the current issue (or uses `--current-body`/`--current-title` for an offline check), prints the before→after, validates the AC rules, and prints `VALIDATION: PASS` or `VALIDATION: FAIL` with the specific violations. ``` node skills/refining-issue-acceptance/scripts/refine-issue.mjs \ --issue <number> --repo owner/name \ --refined-body /tmp/refined-body.md --dry-run ``` Offline / no-`gh` alternative (used by evals and local drafts): ``` node skills/refining-issue-acceptance/scripts/refine-issue.mjs \ --current-title "Original title" --current-body /tmp/current.md \ --refined-body /tmp/refined-body.md --dry-run ``` Confirm the proposed title and body read well and the validation passed. ### Step 6 — Confirm the live edit Editing a live issue is an **external side effect**. Do not run `--apply` without explicit user confirmation. Show the dry-run output (proposed spec + `VALIDATION: PASS`) and the target issue, then ask. Only after the user
From hierovision/ai-framework, MIT.
More from hierovision/ai-framework
- 0.592score
reviewing-code
hierovision
Review a change (a diff, a branch, or an implement pass's output) against the plan that authorized it and against engineering quality, then issue a verdict…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
deploying-to-azure-swa
hierovision
Deploy a static front end to Azure Static Web Apps from GitHub Actions — preview-per-PR environments, production promotion on push to main, capturing the…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
debugging-test-failures
hierovision
Diagnose WHY a failing verification won't converge — reproduce first, hypothesis + discriminating experiment, classify the defect (code / test / plan /…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
capturing-ui-evidence
hierovision
Captures the current visual state of UI targets into a structured, addressable EVIDENCE ARTIFACT — screenshots (full-page + element-clipped) plus a…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
deploying-with-supabase
hierovision
Deploy to Supabase from CI — `supabase db push` forward-only semantics, "only one db push at a time" concurrency, migrations in CI via session-mode `--db-url`…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
designing-architecture
hierovision
Turn ONE selected roadmap entry or direct feature request into a verifiable implementation plan that a separate build session can execute cold — then stop at…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
designing-cicd
hierovision
Design GitHub Actions CI/CD topology — trigger selection (push / pull_request / workflow_run / workflow_dispatch), job sequencing via needs, concurrency…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
facilitating-product-vision
hierovision
Facilitates an owner-led product vision session and produces two artifacts: a strategy-only vision document plus roadmap items (outcome themes under…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
handling-security-incidents
hierovision
Handle a security incident through the NIST SP 800-61 lifecycle — validate and scope the signal, build a timestamped fact timeline, classify severity, plan…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
auditing-supply-chain
hierovision
Audit a software supply chain — dependency manifests and lockfiles, build provenance, SBOMs, and release artifacts — for what makes it untrustworthy…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
managing-github-issues
hierovision
Persist an established ROADMAP.md as GitHub issues — one issue per open roadmap row, enriched from its source files, tagged with a stable roadmap-id label for…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
modeling-threats
hierovision
Build, refresh, or ratify a threat model for a service, library, or system — the written security contract of assumptions, guarantees, explicit…
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 7
- Last commit (this folder)
- Oct 4, 2026 (25 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hierovision/ai-framework
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from hierovision
- 0.592score
auditing-supply-chain
hierovision
Audit a software supply chain — dependency manifests and lockfiles, build provenance, SBOMs, and release artifacts — for what makes it untrustworthy…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
designing-cicd
hierovision
Design GitHub Actions CI/CD topology — trigger selection (push / pull_request / workflow_run / workflow_dispatch), job sequencing via needs, concurrency…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
deploying-to-azure-swa
hierovision
Deploy a static front end to Azure Static Web Apps from GitHub Actions — preview-per-PR environments, production promotion on push to main, capturing the…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
deploying-with-supabase
hierovision
Deploy to Supabase from CI — `supabase db push` forward-only semantics, "only one db push at a time" concurrency, migrations in CI via session-mode `--db-url`…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
designing-architecture
hierovision
Turn ONE selected roadmap entry or direct feature request into a verifiable implementation plan that a separate build session can execute cold — then stop at…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
facilitating-product-vision
hierovision
Facilitates an owner-led product vision session and produces two artifacts: a strategy-only vision document plus roadmap items (outcome themes under…
SkillAFreshness: A★ 1Claude Code +9
Cite this page
refining-issue-acceptance skill. Agent Mart. https://agentmart.dev/skills/hierovision-refining-issue-acceptance (last updated 2026-10-24)