Ledger tasks yylo

From findscripter/everything-skills · View interactive version

Ledger tasks yylo is an AI agent skill from the GitHub repository findscripter/everything-skills. 当编码智能体需要用命令行管理任务看板(创建/检索/流转/依赖/归档)时使用;驱动 yy ledger 完成任务全生命周期,含 blocked_by 依赖图、ready/order 并行编排与跨目录合并,产出结构化任务记录与回执;不适用于代码重构本身或非任务管理场景;触发词:task board、kanban、任务看板、依赖管理、yy ledger、topological order

How to use this skill

Skill file

YYLO Ledger 任务看板与依赖管理

采编自 yylo-dev/yylo-skills(MIT),由 YYLO 团队自荐并适配为本库格式。

何时使用

当智能体要在多任务环境下推进编码工作、需要比"记在上下文里"更可靠的任务状态时使用:

步骤 / 指令

  1. 预检:yy ledger --version 与 yy ledger --help(命令 help 为当前运行时的权威说明)。
  2. 创建:yy ledger create "Task description" --status backlog --tags feature,backend
  3. 检索:yy ledger list --status todo --sort asc;yy ledger search --tag backend --open;yy ledger get TASK_ID。
  4. 状态流转(--response 必填,记录做了什么、怎么验证):

yy ledger mark in_progress --id TASK_ID --response "Starting work"

yy ledger mark done --id TASK_ID --response "Completed X, tested Y" --commit abc123def

  1. 依赖:yy ledger deps add --id TASK_ID --blocked-by BLOCKER1 BLOCKER2;yy ledger deps TASK_ID 查看阻塞关系(自动环检测)。
  2. 可开始任务 / 并行排序:yy ledger ready --tag backend;yy ledger order --scores。
  3. 内联标记(任务正文里声明依赖与关联,创建/更新时自动解析):

```

[blocked_by]TASK_ID[/blocked_by]

[task_id]RELATED_ID[/task_id]

```

  1. 归档:yy ledger archive TASK_ID(软删除,保留数据);冷存档包(archive-pack plan/create)需单独的属主授权。
  2. 跨目录合并:先 yy ledger merge ./sub1/.juno_task ./sub2/.juno_task --into ./.juno_task --dry-run --plan-file plan.json,人工审阅后仅按该计划 --apply-plan 执行并保留回执。
  3. 输出格式:所有命令支持 -f json|ndjson|xml|table,-p 美化、--raw 紧凑。

示例

yy ledger create "Add OAuth login" --status backlog --tags feature,auth
yy ledger deps add --id 14 --blocked-by 12 13
yy ledger ready
yy ledger order --scores
yy ledger mark done --id 14 --response "Implemented + tested" --commit abc123def

注意事项

互见

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.