taskctl
Use this skill to operate the `taskctl` CLI for task orchestration with dependency DAGs. Trigger this skill when users ask to create/update/list/delete tasks, set `blocked_by` or `blocks` dependencies, compute ready tasks, validate graph integrity, generate DAG JSON, or produce ASCII DAG views for planning and execution reviews.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Taskctl
Overview
Use taskctl from PATH.
Required toolchain for this skill:
-
taskctl(required) -
gh(optional): Issue-driven state updates/comments -
bddc(optional): behavior verification beforecompleted
Core constraints:
- status flow:
pending -> in_progress -> completed -
deletedremoves task permanently - no self-dependency
- no missing dependency target
- no dependency cycle
- blocked tasks cannot move to
in_progressorcompleted
Workflow
- Choose a store file path.
- Create tasks with complete fields.
- Update owner, metadata, and dependencies.
- Run
readyto identify executable tasks. - Run
dagordag-asciifor graph review. - Run
validatebefore accepting task plan changes. - If issue-driven, sync concise status to Issue via
gh issue comment.
Command Patterns
# help
taskctl --help
# create task
taskctl --store <STORE_JSON> create \
--subject "Run tests" \
--description "Execute backend tests and collect logs" \
--active-form "Running tests" \
--metadata '{"priority":"P1","module":"quality"}'
# update task content, owner, dependencies, status
taskctl --store <STORE_JSON> update \
--task-id <TASK_ID> \
--owner qa@team \
--metadata '{"priority":"P0","obsolete":null}' \
--add-blocked-by <DEP_1>,<DEP_2> \
--status in-progress
# inspect graph
taskctl --store <STORE_JSON> ready
taskctl --store <STORE_JSON> dag
taskctl --store <STORE_JSON> dag-ascii
# validate graph invariants
taskctl --store <STORE_JSON> validate
Field Semantics
-
subject: imperative task title. -
description: context + acceptance criteria. -
active_form: progressive action text. -
owner: responsible human or agent. -
metadata: object payload; null value deletes key on update. -
add_blocked_by: dependency task IDs required before start. -
add_blocks: task IDs blocked by current task.
Acceptance Checklist
- Ensure
validatereturns{ "ok": true }. - Ensure
dagreflects intended module sequencing. - Ensure
readyincludes only tasks with resolved dependencies. - Include both JSON DAG and ASCII DAG when a human review is requested.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-03-11
- 索引更新时间
- 2026-03-11
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!