Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

task-management任务管理

Agent Skill

task-management 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,793

周安装

113

GitHub Stars

2

下载量

877
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:task-management(任务管理)
来源仓库:https://github.com/jwilger/agent-skills
仓库路径:skills/task-management
安装命令:
npx skills add https://github.com/jwilger/agent-skills --skill task-management
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jwilger/agent-skills --skill task-management

简介

task-management 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 可结合来源仓库和原始 README 继续核验具体用法。
  • 安装命令:npx skills add https://github.com/jwilger/agent-skills --skill task-management
  • 安装前建议确认权限范围、维护状态及是否会触发联网或文件读写。

SKILL.md

Task Management

Value: Communication and feedback. Breaking work into explicit, trackable units makes intent visible, progress measurable, and handoffs clean. Small tasks create short feedback loops that catch problems early.

Purpose

Teaches how to decompose work into well-structured tasks with clear acceptance criteria, manage dependencies between tasks, and track status through a consistent lifecycle. The outcome is a work breakdown where every task is unambiguous, appropriately scoped, and sequenced so nothing is blocked unnecessarily.

Practices

Decompose Top-Down, Execute Bottom-Up

Break large goals into progressively smaller tasks until each task represents a single deliverable outcome. Execute from the leaves up.

  1. Start with the goal (epic or feature)
  2. Identify 3-7 child tasks that together achieve the goal
  3. For each child, ask: can one agent complete this in one session? If no, decompose further
  4. Leaf tasks should take minutes to hours, not days

Example:

Epic: User Authentication
  Story: Registration flow
    Task: Create registration command handler
    Task: Build registration form component
    Task: Add email verification automation
  Story: Login flow
    Task: Create login command handler
    Task: Build login form component

Do:

  • Name tasks with a verb and an outcome ("Create registration handler")
  • Keep leaf tasks small enough for one focused session
  • Include acceptance criteria on every leaf task

Do not:

  • Create tasks so large that progress is invisible for hours
  • Decompose so finely that task overhead exceeds task work
  • Leave tasks as vague nouns ("Authentication" tells no one what to do)

Write Acceptance Criteria as Verifiable Statements

Every leaf task needs criteria that are binary: met or not met. Use Given/When/Then for behavior, checklists for deliverables.

  1. State what must be true when the task is done
  2. Each criterion is independently testable
  3. Include edge cases that matter

Example:

Task: Create registration command handler

Acceptance Criteria:
- [ ] Given valid registration data, when command is processed,
      then UserRegistered event is stored
- [ ] Given a duplicate email, when command is processed,
      then command is rejected with a clear error
- [ ] Given a password under 12 characters, when command is processed,
      then validation fails before reaching the handler

Do not:

  • Write criteria that require subjective judgment ("works well")
  • Omit error cases -- they are where bugs live
  • Copy-paste generic criteria across unrelated tasks

Declare Dependencies Explicitly

When task B cannot start until task A completes, declare the dependency. Use the dependency graph to find unblocked work.

  1. Before creating a task, ask: does this depend on another task's output?
  2. Record the dependency in whatever tool you are using
  3. Always query for unblocked/ready tasks rather than scanning the full list

Dependency patterns:

  • Sequential: Schema -> Repository -> Service -> API endpoint
  • Fan-out: One design task unblocks multiple implementation tasks
  • Fan-in: Multiple tasks must complete before integration testing

Do:

  • Keep dependency chains as short as possible -- long chains serialize work
  • Prefer parallel-safe decomposition (tasks that can run simultaneously)

Do not:

  • Create circular dependencies
  • Assume an implicit ordering -- make every dependency explicit
  • Block tasks unnecessarily (does B really need A, or just A's interface?)

Slice-to-Task Decomposition

When working from vertical slices with GWT (Given-When-Then) scenarios (e.g., from event modeling), decompose slices so that each task represents one testable behavior increment going through a full RED-GREEN-COMMIT cycle:

  1. Each GWT scenario becomes at least one task
  2. Each task = one TDD cycle: one failing test + its implementation + commit
  3. Order tasks by:

- Walking skeleton dependencies first -- infrastructure or plumbing that multiple scenarios need (each as its own TDD cycle) - Acceptance scenario tasks -- each scenario is a task that starts with the outermost failing test and completes through drill-down cycles

  1. Each task includes:

- Description: Verb + outcome (e.g., "Implement deposit scenario end-to-end via TDD") - Acceptance criteria: Directly from the GWT scenario - Estimated scope: Files likely affected (helps with mutation testing scoping)

Example:

Slice: "Customer deposits funds"
  Task 1: Walking skeleton — wire request-to-response path (RED: acceptance
    test hits endpoint and gets 404 → GREEN: route exists, returns stub →
    COMMIT)
  Task 2: Deposit scenario — deposit $100 into verified account (RED:
    acceptance test asserts balance increases → drill-down into command
    handler, event persistence, projection — each inner cycle is
    RED-GREEN-COMMIT within this task → outer acceptance test passes → COMMIT)

Anti-pattern: Do not create tasks that batch multiple types or behaviors into one RED phase followed by a separate GREEN phase — this is waterfall disguised as TDD. A task like "Create all domain types" followed by "Implement all handlers" splits phases across tasks instead of keeping each task as a complete TDD cycle.

Pipeline Tracking Metadata

When running in pipeline mode, tasks gain additional tracking fields:

  • slice_id -- Links the task to its originating vertical slice
  • gate_status -- pending, passed, or failed (reflects quality gate results)
  • rework_count -- Number of times the task returned from a quality gate failure

These fields are informational in standalone mode. In pipeline mode, the orchestrator uses them to track slice progress and detect tasks that are cycling through rework repeatedly.

Track Status Through a Consistent Lifecycle

Tasks move through a fixed set of states. Transitions are explicit.

Lifecycle: Open -> Active -> Closed

  1. Open: Task is defined and waiting. May be blocked by dependencies.
  2. Active: Work is in progress. Only one task should be active per agent at a time to maintain focus.
  3. Closed: Work is done and acceptance criteria are met. Always record why.

Rules:

  • Activate a task before starting work on it
  • Close a task only when all acceptance criteria are met
  • Provide a close reason for audit trail
  • If a task is abandoned, close it with the reason ("Superseded by X" or "No longer needed")

Adapt to Available Tools

This skill works with whatever task tracking is available. Detect and use the best option:

  1. Harness-native task tools (Claude Code TodoWrite, Codex tasks): Use them directly. They integrate with the agent's workflow.
  2. dot CLI (.dots/ directory): File-based, version-controlled. Use dot ready to find unblocked work. Close tasks on the feature branch before creating PRs.
  3. GitHub Issues: Use for cross-team visibility. Link PRs to issues.
  4. File-based fallback: Create a TASKS.md in the repo root. Use markdown checklists. Commit with changes.

The methodology (decompose, specify criteria, track dependencies, manage lifecycle) is the same regardless of tool. The tool is interchangeable; the discipline is not.

Enforcement Note

Advisory in all modes. Task structure and dependency tracking are self-enforced.

Hard constraints:

  • Close reason required when closing a task: [RC]

Constraints

  • "One active task per agent": Per agent means per execution context. In pipeline mode with parallel worktrees, each worktree is a separate context. A single human operator managing multiple worktrees is not violating this rule. A single agent context with multiple "active" tasks is.
  • Binary acceptance criteria: "Binary" means an outside observer could verify met/not-met without subjective judgment. "Code is clean" is not binary. "All functions are under 50 lines" is binary. "Tests pass" is binary. "Code follows best practices" is not. If you have to argue about whether a criterion is met, it's not binary.

See CONSTRAINT-RESOLUTION.md in the template directory for pipeline parallelization rules.

Verification

After completing work guided by this skill, verify:

  • Every unit of work has a corresponding task with acceptance criteria
  • No task was worked on while its dependencies were still open
  • Active tasks were limited to one at a time per agent
  • Closed tasks have a recorded reason
  • The task hierarchy is navigable (parent-child relationships are clear)
  • Remaining open tasks accurately reflect outstanding work

If any criterion is not met, revisit the relevant practice before proceeding.

Dependencies

This skill works standalone. For enhanced workflows, it integrates with:

  • tdd: Each task maps to one or more TDD cycles. Task acceptance criteria become the tests you write in the red phase. In automated mode, task dependencies inform how work is delegated across agents.
  • architecture-decisions: Major structural tasks should reference relevant ADRs.

Missing a dependency? Install with:

npx skills add jwilger/agent-skills --skill tdd

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.19%
按下载量换算317

Claude

30.71%
按下载量换算269

Cursor

21.01%
按下载量换算184

Gemini CLI

9.04%
按下载量换算79

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills