Command Palette

Search for a command to run...

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

task-add

БесплатноБез исполняемых скриптовНе проверен

File a taskwarrior task with a verified project slug and blueprint/GitHub linkage. Use when logging cross-session follow-ups, confirming a project slug, or…

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

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

/taskwarrior:task-add

File a coordination task. When a GitHub remote is present, offer optional linkage so GitHub stays the system of record and taskwarrior stays the parallel-safe query layer.

When to Use This Skill

Use this skill when... Use task-status / task-coordinate / task-done instead when...
Filing a brand-new coordination task with bpid: / bpdoc: linkage Auditing existing queue health — use task-status
Mirroring a GitHub issue into the local queue via ghid: Picking the next-N candidates for a parallel wave — use task-coordinate
Pre-filling a task body from gh issue view output Closing an in-flight task and draining its tracker — use task-done

Context

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

Git probes (git rev-parse --show-toplevel, git remote) write to stderr in a no-git cwd, and stderr from a Context backtick aborts the skill before its body runs. Project / remote resolution is done in the body (Step 2 below), where 2>/dev/null and exit-code handling are available.

Parameters

Parse $ARGUMENTS:

  • Freeform short description (required).
  • Optional inline project:<name> to override the auto-detected project.
  • Optional --no-project to file the task without any project (cross-cutting work).
  • Optional inline bpid:WO-012 / bpdoc:docs/wo/012.md / bpms:M6 / ghid:145 / ghpr:99 fields.
  • Optional native scheduling fields (prefer these over manual +blocked* bookkeeping):
    • due:<date> — deadline. Feeds urgency and surfaces the task as +DUE / +OVERDUE in task-coordinate / task-status. Set it only for real deadlines — the queue is a queue, not a calendar.
    • scheduled:<date> — earliest start. The task only becomes +READY once this date passes, so future work stays out of dispatch candidates.
    • wait:<date> — hide the task entirely until the date. Use for "blocked on merge until X" instead of a hand-managed +blocked_on_merge tag — taskwarrior auto-unhides it.
    • recur:<freq> (e.g. weekly, monthly) with a due: — repeating maintenance chores. Requires due:.
    • until:<date> — auto-delete the task on that date. Use for short-lived trackers that should expire if not actioned.
    • Dates accept taskwarrior synonyms (today, eow, eom, monday, due-4d, ISO 2026-07-01).
  • Optional tags: +wo, +prp, +fr, +re, +gh, +pr_ready, +needs_review, +blocked_on_merge, +blocked.

Tag names use underscores or camelCase, never hyphens — read the gotcha in references/quick-reference.md before naming a new tag.

Project resolution

By default every task is filed under the current repo's project so /taskwarrior:task-status and /taskwarrior:task-coordinate only see tasks relevant to where the agent is working. Resolve the project in this order:

  1. Explicit project:<name> in $ARGUMENTS.
  2. --no-project → file with no project (rare; cross-cutting work).
  3. Basename of git rev-parse --show-toplevel 2>/dev/null, run via the Bash tool (where stderr suppression and non-zero exits are tolerated).
  4. If no git repo (Step 3 returned empty), basename of cwd.

Cross-check the resolved name against Known projects and reuse the exact spelling when it matches (case-insensitive) — taskwarrior treats MyRepo and myrepo as different projects.

project: is a prefix match, so a populated task project:<slug> list does not prove the slug exists. Before trusting a slug, read references/project-slug-verification.md for the exact-value check.

Execution

Execute this workflow:

Step 1: Ensure UDAs exist

The canonical 10-UDA set (5 linkage: bpid / bpdoc / bpms / ghid / ghpr; 5 identity: agent / pid / host / branch / worktree) lives in one place — the shared ensure-udas.sh script. Check for missing UDAs:

bash "${CLAUDE_SKILL_DIR}/../../scripts/ensure-udas.sh" --check

If it reports UDAS_MISSING greater than 0, confirm with the user (declarations persist in ~/.taskrc), then install them on first run per host:

bash "${CLAUDE_SKILL_DIR}/../../scripts/ensure-udas.sh"

Identity UDAs are not set by task-add itself — /taskwarrior:task-claim stamps them when an agent picks the task up. The same script backs the SessionStart drift-probe, so the install logic is single-sourced.

Bootstrap — no rc file

If task errors with "Cannot proceed without rc file":

mkdir -p ~/.local/share/task
echo "data.location=~/.local/share/task" > ~/.taskrc

Step 2: Detect GitHub mode

GitHub mode is active when all of:

  1. git config --get remote.origin.url is non-empty
  2. gh auth status exits 0

If either fails, skip GitHub-related branches in later steps.

Step 3: Duplicate

Полный SKILL.md на GitHub

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

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

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

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

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

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

Bash(task *)
Bash(jq *)
Bash(git config *)
Bash(git rev-parse *)
Bash(gh auth *)
Bash(gh issue *)
Bash(gh api *)
Bash(bash *)
Read
TodoWrite

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

references/depends-chains.mdreferences/project-slug-verification.mdreferences/quick-reference.md

FAQ

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

File a taskwarrior task with a verified project slug and blueprint/GitHub linkage. Use when logging cross-session follow-ups, confirming a project slug, or mirroring a GitHub issue.

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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