Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

task-breakdown任务分解

Agent Skill

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

总安装

3,744

周安装

150

GitHub Stars

公开资料未说明

下载量

1,212
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/davidkiss/smart-ai-skills --skill task-breakdown

简介

task-breakdown 将复杂任务分解为可执行小步,假设实现者对项目零背景但有技能。

  • 文档需包含依赖文件、修改位置与验证方式,杜绝遗漏与猜测。
  • 结合相关 agent skills 调用,确保每一步都可被独立验证与交付。
  • 安装命令为 npx skills add https://github.com/davidkiss/smart-ai-skills --skill task-breakdown。
  • 输出应遵循 TDD 思维,先写测试再实现,确保行为正确性。

SKILL.md

Writing Task Breakdown

Overview

Write comprehensive task breakdowns assuming the expert who is going to implement the specs has zero context for our project and questionable taste. Document everything they need to know: which existing files to check, which files to touch for each task and what changes to make to them. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD.

Assume they are a skilled worker, but know almost nothing about our toolset or problem domain. Assume they don't know how to verify they are doing the right thing.

Analyze available agent skills and use all relevant ones to create the task breakdown.

Announce at start: "I'm using the task-breakdown skill to create a plan."

Constraints:

  • Each task should have a last step that verifies the task was completed correctly
  • The very last task should verify that after completing all tasks, the changes and actions were applied correctly and as intended by the specs, if provided

Leverage existing skills

  • Identify relevant agent skills - other than this one and the @subagent-task-execution skill
  • Output: "I'll use the following skills to help you with the task breakdown: @skill1, @skill2,..."
  • Load and use the identified skills to create the task breakdown

Presenting the tasks:

  • Once you believe you have the full task breakdown, use a subagent to critique the task breakdown for self-correction - subagent must ground critique using websearch tool
  • Then present the tasks one-by-one to the user
  • Present tasks based on their dependencies on each other - e.g. if task B depends on task A, task A must be presented before task B
  • Ask after each task whether it looks right so far
  • Be ready to go back and clarify if something doesn't make sense - consider updating previous tasks based on user feedback, if needed
  • When user confirms a task looks good, update docs/YYYY-MM-DD-<feature-name>-tasks.md with that task

Bite-Sized Task Granularity

Each step is one action (2-5 minutes):

  • "Write the failing test" - step
  • "Run it to make sure it fails" - step
  • "Implement the minimal code to make the test pass" - step
  • "Run the tests and make sure they pass" - step

Task Breakdown Document Header

Every task breakdown MUST start with this header:

# [Task Name] Task Breakdown

**Goal:** [One sentence describing what this achieves]

**Approach:** [2-3 sentences about approach]

**Skills:** [List of skills to use]

**Tech Details:** [Key tools, services, technologies/libraries to use]

---

Task Structure

### Task N: [Component Name]

**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py:123-145`
- Test: `tests/exact/path/to/test.py`

**Step 1: Write the failing test**

def test_specific_behavior(): result = function(input) assert result == expected


**Step 2: Run test to verify it fails**

Run: `pytest tests/path/test.py::test_name -v` Expected: FAIL with "function not defined"

**Step 3: Write minimal implementation**

def function(input): return expected


**Step 4: Cleanup code changes** Use skill(s) if available to cleanup code changes

**Step 5: Review code changes** Use skill(s) if available to review code changes. Make sure code follows the project's coding standards and aligns with the specs and the task breakdown.

**Step 6: Run test to verify it passes**

Run: `pytest tests/path/test.py::test_name -v` Expected: PASS

Remember

  • Exact file paths always
  • For coding tasks, complete code in task breakdown (not "add validation")
  • Exact commands with expected output
  • Reference relevant skills with @ syntax
  • DRY, YAGNI, TDD

Execution Handoff

After saving the task breakdown, offer task execution:

"Task breakdown complete and saved to docs/YYYY-MM-DD-<feature-name>-tasks.md.

Subagent-based task execution (this session) - I dispatch fresh subagent per task, review between tasks, fast iteration

  • REQUIRED SUB-SKILL: Use subagent-task-execution
  • Stay in this session
  • Fresh subagent per task + code review

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.55%
按下载量换算455

Claude

28.65%
按下载量换算347

Cursor

20.78%
按下载量换算252

Gemini CLI

9.88%
按下载量换算120

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills