From ux-toolkit
Grooms all open GitHub issues with subagents for clarity then loops implementation: branch, research, swarm code, test, commit, merge PRs until backlog cleared.
npx claudepluginhub dennisonbertram/ux-toolkitThis skill uses the workspace's default tool permissions.
Orchestrate a full end-to-end GitHub issue grooming and implementation workflow. This skill drives two sequential phases: **Grooming** (analyze all open issues for clarity and completeness), then **Implementation Loop** (branch → research → swarm implement → test → PR → repeat).
Resolves GitHub issues via 8-phase workflow: fetch details, analyze requirements, implement solutions, verify correctness, code review, commit changes, create PRs. Activates on resolve, implement, fix requests or issue references.
Processes GitHub issues via TDD workflow on main branch: interactive selection, auto-prioritization, label filtering, conflict detection, and parallel task execution.
Guides 8-step agentic workflow for issues/work items: parse issue, load skills, read specs, plan, delegate to sub-agent, implement, test, open PR/MR, address review. Activates on issue mentions.
Share bugs, ideas, or general feedback.
Orchestrate a full end-to-end GitHub issue grooming and implementation workflow. This skill drives two sequential phases: Grooming (analyze all open issues for clarity and completeness), then Implementation Loop (branch → research → swarm implement → test → PR → repeat).
Before touching any code, groom every open issue so the implementation loop only encounters well-specified work. Closed issues are skipped entirely — do not re-open or re-analyze them.
# Ensure gh CLI is authenticated for your target account
# gh auth switch --user YOUR_GITHUB_USERNAME # Uncomment if needed
gh issue list --state open --json number,title,labels,body,assignees --limit 200
For each open issue, spawn a read-only Explore subagent (no worktree needed) to analyze it. Run subagents in parallel batches of 4-6.
Each grooming subagent evaluates:
already-resolved and it will be closed (see Apply Grooming Results below).Each subagent outputs its findings to docs/investigations/issue-{number}-grooming.md.
After subagents complete, the top-level agent applies grooming changes:
gh issue comment {number} --body "Closing — this has already been addressed in {commit/file/PR}. ..."
gh issue close {number}
well-specified, needs-clarification, blocked, small, medium, large# Label example
gh issue edit {number} --add-label "well-specified,small"
# Comment example
gh issue comment {number} --body "Needs clarification: ..."
Only issues labeled well-specified (and still open) enter the implementation loop.
Repeat until all well-specified open issues have associated PRs.
gh issue list --state open --label "well-specified" --json number,title,labels --limit 1
Pick the lowest-numbered unhandled issue. If none remain, the loop is complete — report a summary and stop.
ISSUE_NUM={number}
SLUG=$(echo "{title}" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]/-/g' | cut -c1-40)
BRANCH="issue-${ISSUE_NUM}-${SLUG}"
git checkout main && git pull upstream main
git checkout -b "$BRANCH"
All work for this issue happens on $BRANCH. Never commit directly to main.
Spawn read-only Explore subagents (no worktree needed) to produce a structured implementation plan. These subagents should:
Use context7 to look up: {library or tool name}
docs/plans/issue-{number}-plan.md using the project plan templatePlan must include:
Before implementing, write regression tests for every code path that will change.
Spawn a general-purpose subagent with worktree isolation to:
docs/plans/issue-{number}-plan.mdgit add <specific test files>
git commit -m "test(#{number}): add regression tests for {area}"
This ensures the test suite is red before implementation begins.
Use a swarm (2–4 agents in parallel per wave) for implementation. Each agent works in its own worktree (isolation: "worktree").
Review Policy — This project is internal software under the user's control, not deployed in an adversarial environment. The default swarm skill requires 3 consecutive passing reviews across Security/UX/Correctness perspectives. That is not required here. A single round of review is sufficient. The hard requirements are:
- All tests pass (
go test ./...+-race)- Regression tests are written for every changed code path
- New functionality has unit tests
- Coverage gate holds (80% minimum)
Only escalate to multi-round review if the change touches security-sensitive code (auth, permissions, token handling) or concurrent shared state. When in doubt, do one review and move on.
Commit discipline inside worktrees:
feat(#{number}): {what changed}git add -AAfter each wave:
$BRANCH:
git checkout "$BRANCH"
git merge --no-ff {worktree-branch}
git worktree remove {worktree-path}
git branch -d {worktree-branch}
git commit -m "chore(#{number}): merge wave-{n} to branch"After all implementation waves are merged:
go test ./...
go test ./... -race
./scripts/test-regression.sh
All tests must pass. If any fail:
$BRANCHFor any new functions, types, or behaviors added during implementation, spawn a subagent to:
test(#{number}): add tests for new functionalityRun the full suite again to confirm everything is green.
If anything unexpected occurred during implementation (surprising behavior, edge cases discovered, architectural constraints, deferred work), append an entry to docs/logs/engineering-log.md.
Use the log format defined in references/implementation-loop-detail.md#engineering-log-format.
File new GitHub issues for any deferred work discovered.
Use the PR body template from references/implementation-loop-detail.md#pr-body-template.
gh pr create \
--title "fix/feat(#{number}): {issue title}" \
--body "$(cat <<'EOF'
{paste from references/implementation-loop-detail.md PR body template}
EOF
)" \
--base main \
--head "$BRANCH"
gh issue edit {number} --add-label "pr-created"
gh issue comment {number} --body "PR created: {pr-url}"
Do not close the issue — the PR merge will close it via the "Closes #N" reference.
Return to Step 1 and select the next well-specified open issue.
When no well-specified open issues remain:
Task status: DONE| When | What to commit | Format |
|---|---|---|
| After writing regression tests | Test files only | test(#{N}): add regression tests for {area} |
| After each worktree wave | Merge commit | chore(#{N}): merge wave-{n} to branch |
| After implementation units | Specific changed files | feat(#{N}): {what} or fix(#{N}): {what} |
| After new functionality tests | Test files | test(#{N}): add tests for new functionality |
Never commit directly to main. Never use git add -A. Always stage specific files.
references/grooming-detail.md — Detailed grooming rubric and label taxonomyreferences/implementation-loop-detail.md — Edge cases, merge conflict handling, worktree cleanupSee also: swarm skill (for spawning implementation waves), context7 (for library docs), code-review skill (for optional external review — one round is sufficient for this project).