AgentSkillsCN

bits

借助 Bits 工具,高效追踪与管理带有依赖关系的工作项、任务、问题及待办事项。当用户需要创建任务、跟踪进度、应对阻塞环节、查找已就绪的工作、认领或释放任务、关闭已完成的工作,或对多步骤项目进行统筹规划时,此功能尤为实用。当用户输入“bits”“task”“issue”“backlog”“blockers”“dependencies”“what's ready”“track this”“add to my list”“what should I work on”等关键词时,该功能便会自动触发。

SKILL.md
--- frontmatter
name: bits
description: Track and manage work items, tasks, issues, and todos with dependencies using bits. Use when user needs to create tasks, track progress, manage blockers, find ready work, claim/release tasks, close completed work, or organize multi-step projects. Triggers on "bits", "task", "issue", "backlog", "blockers", "dependencies", "what's ready", "track this", "add to my list", "what should I work on".
argument-hint: "[command or task description]"
allowed-tools:
  - Bash(bits:*)
  - Bash(git:*)
  - Read

Bits Task Tracking

When to Use

ScenarioTool
Multi-step work with dependenciesbits
Tasks that block other tasksbits
Tracking progress across sessionsbits
Simple one-off checklistTaskCreate
Quick session-scoped todosTaskCreate

Commands

TaskCommand
Find ready workbits ready --json
Create taskbits add "Title" -d "Description" --json
Start workbits claim <id>
Pause workbits release <id>
Complete workbits close <id> "reason"
View detailsbits show <id>
List tasksbits list

Run bits --help for full reference.

Dependencies

bash
bits add "Feature B" --json  # Returns: bits-abc123
bits dep bits-abc123 bits-blocker  # B blocked by blocker

Tasks with unresolved dependencies won't appear in bits ready.

Session Commands

CommandPurpose
bits session claimClaim primary session (reads stdin)
bits session releaseRelease session (reads stdin)
bits session pruneManual cleanup of stale sessions
bits session hookStop hook with session ownership check

Drain Commands

CommandPurpose
bits drain claimActivate drain mode (reads stdin)
bits drain releaseDeactivate drain mode (reads stdin)

Task Description Format

markdown
# Description
What and why.

# Acceptance Criteria
- [ ] Criterion 1
- [ ] Criterion 2

# Session Notes
[Date] COMPLETED: X | IN PROGRESS: Y | NEXT: Z