From microfactory
Manages GitHub Issues as a microfactory backend: finds eligible issues, claims with race verification, views, comments, and transitions statuses via gh CLI labels.
How this skill is triggered — by the user, by Claude, or both
Slash command
/microfactory:github-tasksThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
All operations use the `gh` CLI against the repo from `.microfactory/config.yaml` (`project` = `owner/repo`, `github_username` = your assignee login). Issue numbers are the issue keys.
All operations use the gh CLI against the repo from .microfactory/config.yaml (project = owner/repo, github_username = your assignee login). Issue numbers are the issue keys.
Before the first operation, verify authentication with gh auth status; if unauthorized, stop and tell the user to run ! gh auth login.
List open, unassigned issues, oldest first (sort by issue number ascending). Eligibility by mode and the plan_by_default setting:
| Mode | plan_by_default | Eligible when |
|---|---|---|
| planning | true | not labeled skip-plan |
| planning | false | labeled needs-plan |
| implementation | true | labeled plan-approved or skip-plan |
| implementation | false | not labeled needs-plan |
Example (implementation, plan_by_default true):
gh issue list --repo owner/repo --state open --json number,title,labels,assignees \
--jq '[.[] | select((.assignees | length) == 0)
| select([.labels[].name] | (index("plan-approved") != null or index("skip-plan") != null))]
| sort_by(.number)'
Adapt quoting to the user's shell (jq filters need different escaping on Windows).
Other factory sessions may be claiming concurrently, so follow this optimistic-locking protocol exactly:
gh issue edit <N> --repo owner/repo --add-assignee <github_username> --add-label "in-progress"gh issue edit <N> --add-label "in-planning" --remove-label "in-progress".gh issue view <N> --repo owner/repo --json title,bodygh issue view <N> --repo owner/repo --json number,title,body,labels,assigneesgh issue comment <N> --repo owner/repo --body "<text>"| Status | Label changes |
|---|---|
| In Progress | add in-progress |
| Planning | add in-planning, remove in-progress |
| Awaiting Plan Review | add awaiting-plan-review, remove in-planning, remove yourself as assignee |
| Plan Approved | done by a human reviewer: they add plan-approved, remove awaiting-plan-review |
| In Review | add in-review, remove in-progress |
| Done | remove in-progress/in-review, then gh issue close <N> |
Missing labels on the repo make --add-label fail — create the label (gh label create <name> --repo owner/repo) and retry. Treat failed label changes after work is done as warnings, not errors.
npx claudepluginhub jaksa76/microfactoryTriages GitHub issues assigned to you: fetches via GH CLI with cc-triage-scope label, builds dependency graph, categorizes resolved issues, and applies labels (cc-create-issue, cc-exec-issue, cc-update-issue).
Manage GitHub issues via CLI with bulk operations, JSON/jq parsing, search filters, and issue-to-PR workflow. Also stores AI session context for resuming tasks.
Fetches, implements, and closes GitHub/GitLab issues sequentially, handling parallel subtasks, dependency parsing, worktrees, and environment propagation.