From microfactory
Manages Jira issues for the microfactory: search eligible, claim with race verification, assign, comment, and transition states via acli CLI. Used by plan-next and implement-next.
How this skill is triggered — by the user, by Claude, or both
Slash command
/microfactory:jira-tasksThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
All operations use the `acli` CLI. Read `acli-reference.md` in this skill's directory for command details, and use `acli <command> --help` when unsure of exact flags. Configuration comes from `.microfactory/config.yaml` (`project` = Jira project key, `jira_account_id` = your assignee id).
All operations use the acli CLI. Read acli-reference.md in this skill's directory for command details, and use acli <command> --help when unsure of exact flags. Configuration comes from .microfactory/config.yaml (project = Jira project key, jira_account_id = your assignee id).
Before the first operation, verify authentication with acli jira auth status; if unauthorized, stop and tell the user to run ! acli jira auth login.
Search with acli jira workitem search --jql "<JQL>" --json --paginate. Build the JQL by mode and the plan_by_default setting; always ORDER BY rank ASC and require assignee is EMPTY:
| Mode | plan_by_default | JQL conditions |
|---|---|---|
| planning | true | status = "To Do" AND (labels NOT IN ("skip-plan") OR labels is EMPTY) |
| planning | false | status = "To Do" AND labels IN ("needs-plan") |
| implementation | true | status = "Plan Approved" OR (status = "To Do" AND labels IN ("skip-plan")) |
| implementation | false | status = "To Do" AND (labels NOT IN ("needs-plan") OR labels is EMPTY) |
Example (implementation, plan_by_default false):
acli jira workitem search --jql "project = \"MYPROJ\" AND assignee is EMPTY AND status = \"To Do\" AND (labels NOT IN (\"needs-plan\") OR labels is EMPTY) ORDER BY rank ASC" --json --paginate
Other factory sessions may be claiming concurrently, so follow this optimistic-locking protocol exactly:
acli jira workitem assign --key <KEY> --assignee <jira_account_id> --yesPlanning (planning mode) or In Progress (implementation mode). If the transition is unavailable, warn and continue.acli jira workitem view <KEY> --jsonacli jira workitem view <KEY> --json (summary, description, labels, assignee).acli jira comment add --issue <KEY> --comment "<text>"acli jira workitem transition --key <KEY> --status "<status>" --yesStatuses used by the factory workflow: Planning, Awaiting Plan Review, Plan Approved (set by a human reviewer), In Progress, In Review, Done. Transitions may not exist in every workflow — treat failed transitions after work is done as warnings, not errors.
npx claudepluginhub jaksa76/microfactoryManages Jira Cloud issues via jira CLI with JSON output: create, view, update, search issues, fetch hierarchies, manage sprints.
Search, create, update, and transition Jira issues, manage sprints and boards from the command line using jira-cli.