From beads-workflow
Close a beads issue with quality gates, QA evaluation, and proper documentation. Runs tests and formatter, builds a close reason, and determines if a QA bead is needed.
How this skill is triggered — by the user, by Claude, or both
Slash command
/beads-workflow:close <issue-id><issue-id>idThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Follow these steps exactly, in order. Do not skip any step.
$idFollow these steps exactly, in order. Do not skip any step.
Run bd show $id --json to load the title, description, acceptance criteria, parent, and labels. You need this context to write the close reason and evaluate QA.
Check if code was modified in this session:
git diff --name-only HEAD~5 2>/dev/null | head -20 || echo "no recent commits"
If PHP files were changed:
vendor/bin/pint --dirty --format agent — fix any formatting issues.php artisan test --compact — all tests must pass.If no code was changed, skip to Step 3.
Examine the recent git history to construct the close reason:
git log --oneline -5 2>/dev/null || echo "no commits"
The reason must include:
Format: "<summary>. <commit-ref or PR#>"
Run: bd close $id --reason="<your constructed reason>"
If the issue had any of these triage labels, they must be removed (closing should handle this, but verify):
needs-triageready-for-agentready-for-humanneeds-infoThese are mutually exclusive workflow labels. A closed issue should have none of them.
Manual QA IS required if the change involves ANY of:
Manual QA IS NOT required for:
State your determination clearly: either "No manual QA needed — [reason]" or "Manual QA is needed — [reason]."
Create a QA task with these requirements:
discovered-from:$id--deps discovered-from:<qa-bead-id>.Run: bd create --title="QA: <brief description>" --type=task --priority=2 --description="<full QA spec>"
Then add the dependency: bd dep add <new-qa-id> $id
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub nerdroid23/ai-marketplace --plugin beads-workflow