my-work
List Plane work items assigned to the current user Arguments: [--project name] [--state name] [--cycle current|next|all] [--limit n].
SKILL.mdplane-ops/skills/my-work/SKILL.md
GitHubMy Work
Show open work items assigned to the current user across all projects, or filtered.
Arguments
Format: [flags...]
--project <name>: scope to one project (default: all projects in the workspace)--state <group|name>: filter (default: anything not incompletedorcancelledgroup)--cycle current|next|all: filter by cycle membership (default: all)--priority <p0|p1|p2|...>--limit <n>: max items (default 25)--all: include completed and cancelled
Parse from "$ARGUMENTS".
Process
- Bootstrap connector — consult
connector-bootstrap. Probe for the Plane resource toolsmember,project,workitem,cycle,stateandget_pql_reference. - Resolve scope — if
--project, resolve that oneproject_id(project(action=list)); otherwise leaveproject_idout:workitem(action=list)without a project searches the whole workspace, so there is no loop over projects. - Build one PQL filter —
assignee = currentUser()resolves the signed-in user server-side (nomember(action=me)call needed). Add, joined withAND(at most 5 conditions;get_pql_referencehas the syntax):- default →
stateGroup IN openStates();--alldrops this condition --state <group>→stateGroup = "started"etc.;--state <name>→state = "<state uuid>"(state(action=list, project_id)resolves the name)--priority→priority = "urgent"|"high"|"medium"|"low"(p0 = urgent, p1 = high, p2 = medium, p3 = low)--cycle current→cycle IN activeCycle();--cycle next→cycle IN upcomingCycles();all→ no cycle condition
- default →
- Fetch items —
workitem(action=list, project_id?, pql=<filter>, per_page=<limit>, fields="id,name,point,estimate_point,priority,state,target_date,updated_at"); follownext_cursorfor more than one page. - Totals —
workitem(action=count, project_id?, pql=<filter>, group_by=state__group)for the breakdown by state group in one call, andworkitem(action=count, project_id?, pql=<filter> AND isOverdue())for the overdue count (acountwithproject_idadds aproject = ...condition of its own, so keep the filter within 4 conditions there). - Render — group by project, sort by priority then state. Columns:
ID | Title | State | Priority | Cycle | Updated. - Show summary — total items (
total_count), total story points (sum of listedpoint), breakdown by state, count of overdue. - Suggest —
/log-timefor items in progress,/comment addfor items idle >3 days.
Examples
/my-work
/my-work --cycle current
/my-work --project "TaskFlow" --priority p0
/my-work --state "In Review"
/my-work --all --limit 50
Best Practices
- Run this every morning before standup.
- WIP > 3 in-progress items is a red flag (see
agile-fundamentalsWIP limits). - If the same item shows up day after day with no movement, it's stuck — comment why or ask for help.