Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

task-status

БесплатноЗапускает вложенные скриптыНе проверен

Read-only taskwarrior queue report — pending, blocked, ready tasks and drift vs linked PRs. Use when auditing queue health, orienting before a wave, or for…

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

/taskwarrior:task-status

Read-only status report on the coordination queue. Strictly uses export | jq — never list — so parallel Bash batches from downstream skills stay safe.

When to Use This Skill

Use this skill when... Use task-coordinate / task-add / task-done instead when...
Auditing pending / blocked / stale tasks across the project queue Picking the top-N candidates for a wave dispatch — use task-coordinate
Detecting drift between tasks and their linked GitHub issues / PRs Filing a new task surfaced by drift detection — use task-add
Folding gh pr status rollups into a standup-ready report Closing a PR-ready task with a landed commit — use task-done

Context

  • Task CLI available: !task --version
  • Git repo detected: !find . -maxdepth 1 -name '.git' -print -quit
  • GH auth: !gh auth status
  • Known projects: !task _projects

Git probes write to stderr in a no-git cwd, which aborts a Context command, so the project is resolved in the body by the bundled resolver.

Parameters

Parse $ARGUMENTS:

  • --mine — limit to tasks where the agent UDA matches claude-${CLAUDE_SESSION_ID:0:8} (the value /taskwarrior:task-claim writes). Useful for "what am I currently holding?" reports.
  • --blocked — only tasks with +blocked / +blocked_on_merge or active depends:
  • --active — only +ACTIVE tasks (claimed and in flight)
  • --stale=N — highlight tasks modified > N days ago
  • --stale-claim-after=N — threshold (hours) for flagging a +ACTIVE claim as stale in the "Stale claims" section. Default 4. Reports only — never auto-stops.
  • --project=<name> — override the auto-detected project filter
  • --all — opt out of project filtering and report across every project
  • No flags — full report scoped to the current project

Project resolution

Default behaviour is project-scoped — surfacing tasks from other repos as "queue noise" is the most common waste of agent context. Resolve the project identifier in this order:

  1. --project=<name> if provided.
  2. --all → no project filter.
  3. Basename of the git toplevel.
  4. Remote-name fallback: the origin remote's repo name, used only when the basename slug has 0 pending tasks and the remote name has some.
  5. If no git repo, basename of the cwd.

The bundled resolver applies steps 1 and 3–5, counting pending tasks per slug (the slug plus its . children). Run it unless --all is set:

bash "${CLAUDE_SKILL_DIR}/scripts/project-slug-check.sh"
bash "${CLAUDE_SKILL_DIR}/scripts/project-slug-check.sh" --project myrepo

It prints PROJECT= (the slug to query), DETECTION= (flag / basename / remote / cwd), PROJECT_PENDING=, and, when that is 0, NEAREST_SLUGS=slug:count,… (up to 5: slugs similar to the basename or remote name first, then the fullest).

Zero tasks is a slug question, not an empty queue. When PROJECT_PENDING=0, lead with Project: <slug> matched no pending tasks. and the hint built from NEAREST_SLUGS (Nearest slugs: routines (5), claude-config (1). Rerun with --project=<slug>.) instead of empty sections.

Execution

Execute this workflow:

Step 1: Snapshot the queue

Pull full state as JSON in a single call, scoped to the resolved project (omit project:$PROJECT only when --all is set). task export emits [] on an empty store — valid and exit 0. Substitute the literal project name into the filter — do not use $() command substitution in the inline command (shell-operator protections will reject it).

task project:myrepo status:pending export | jq '.[] | {id, uuid, description, urgency, tags, bpid, bpdoc, ghid, ghpr, agent, pid, host, branch, worktree, start, modified, depends, due, scheduled, wait}'

For completeness also pull recently-completed in the same project:

task project:myrepo status:completed end.after:now-7d export | jq '.[] | {id, description, bpid, ghid, end}'

In parallel, pull the in-flight set so the "In flight" and "Stale claims" sections in Step 5 have data to render:

task project:myrepo +ACTIVE export | jq '.[] | {id, uuid, description, agent, pid, host, branch, worktree, start, urgency}'
task project:myrepo +ACTIVE start.before:now-4h export | jq '.[] | {id, uuid, agent, host, branch, start}'

These three reads are independent and parallel-safe — export returns exit 0 on empty.

Step 2: Sort and group

By urgency descending, then by milestone (bpms), then by blueprint kind (+wo / +prp / +fr / +re). Use jq to partition:

task project:myrepo status:pending export \
  | jq 'group_by(.bpms) | map({milestone: .[0].bpms, tasks: sort_by(-.urgency)})'

Step 3: Drift detection

For each task with bpdoc: check the file exists and is readable. Flag missing or unreadable bpdoc as drift.

For each task with ghid in GitHub mode:

gh issue view "$GHID" --json number,state | jq

Flag:

  • Task open, issue closed — `dr
Полный SKILL.md на GitHub

Установить task-status в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash(bash ${CLAUDE_SKILL_DIR}/scripts/project-slug-check.sh *)
Bash(task *)
Bash(gh auth *)
Bash(gh pr *)
Bash(jq *)
Read
TodoWrite

Вложенные файлы

scripts/project-slug-check.sh

FAQ

Что делает скилл task-status?

Read-only taskwarrior queue report — pending, blocked, ready tasks and drift vs linked PRs. Use when auditing queue health, orienting before a wave, or for standup summaries.

Как установить скилл task-status?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл task-status запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить task-status с