Skip to content

davila7/claude-code-templates / cli-tool/components/skills/development/task-execution-engine

task-execution-engine

Verified

Execute implementation tasks from design documents using markdown checkboxes. Use when (1) implementing features from feature-design-assistant output, (2) resuming interrupted work, (3) batch executing tasks. Triggers on 'start implementation', 'run tasks', 'resume'.

FileKindSize
SKILL.mdskill md3.0 KB
references/task-format.mdmarkdown2.4 KB
references/workflow-guide.mdmarkdown3.9 KB
scripts/task_manager.pyscript13.5 KB

references/workflow-guide.md

View on GitHub
# Workflow Guide

从需求分析到自动化实现的完整流程。

## 流程概览

```
┌─────────────────────────────────────────────────────┐
│  /feature-analyzer 实现用户登录功能                   │
│  → 对话设计 → 生成 docs/designs/xxx.md               │
│  → "设计已完成,要开始实现吗?"                        │
└─────────────────────────────────────────────────────┘
                         ↓
              用户: "开始实现" / "Yes"
                         ↓
┌─────────────────────────────────────────────────────┐
│  /feature-pipeline docs/designs/xxx.md              │
│  → 读取任务列表 → 循环执行 → 更新 checkbox           │
└─────────────────────────────────────────────────────┘
                         ↓
┌─────────────────────────────────────────────────────┐
│  完成!"要提交到 Git 吗?"                           │
└─────────────────────────────────────────────────────┘
```

## 使用示例

### 完整流程

```
用户: /feature-analyzer 实现用户登录功能

Claude: [逐步对话理解需求...]
        [设计方案...]

        设计已保存到 docs/designs/2026-01-02-user-auth.md

        任务列表:
        1. Create User model (priority: 1)
        2. Implement JWT utils (priority: 2)
        3. Create auth API (priority: 3)

        设计已完成,要开始实现吗?

用户: 开始实现

Claude: 开始执行任务...

        ---TASK RESULT---
        task: Create User model
        status: completed
        files: [src/models/user.py]
        ---END TASK RESULT---

        ---TASK RESULT---
        task: Implement JWT utils
        status: completed
        files: [src/utils/jwt.py]
        ---END TASK RESULT---

        [继续执行...]

        所有任务完成!
        ✅ 3/3 tasks completed

        要提交到 Git 吗?
```

### 直接执行已有设计

```
用户: /feature-pipeline docs/designs/2026-01-02-user-auth.md

Claude: [读取文件,开始执行任务...]
```

### 恢复中断的工作

```
用户: /feature-pipeline docs/designs/2026-01-02-user-auth.md

Claude: 正在恢复...
        已完成: 2/5 任务
        从 "Create auth API" 继续...

        [继续执行剩余任务...]
```

## 设计文档格式

设计文档中的任务列表使用 markdown checkbox:

```markdown
# User Auth Design

## Overview
...

## Implementation Tasks

- [ ] **Create User model** `priority:1` `phase:model`
  - files: src/models/user.py
  - [ ] User model has email field
  - [ ] Password hashing implemented

- [ ] **Implement JWT utils** `priority:2` `phase:model`
  - files: src/utils/jwt.py
  - [ ] generate_token() works
  - [ ] verify_token() works

- [ ] **Create auth API** `priority:3` `phase:api` `deps:Create User model,Implement JWT utils`
  - files: src/api/auth.py
  - [ ] POST /login endpoint
  - [ ] POST /register endpoint
```

执行后:

```markdown
- [x] **Create User model** `priority:1` `phase:model` ✅
  - files: src/models/user.py
  - [x] User model has email field
  - [x] Password hashing implemented

- [x] **Implement JWT utils** `priority:2` `phase:model` ✅
  ...
```

## 优势

1. **可读性**: 设计文档直接可读
2. **Git 友好**: markdown diff 清晰
3. **简单**: 无需额外的 session 文件
4. **中断恢复**: 重新读取文件即可继续
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 319kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 196kUpdated Claude CodeCodexVerifiedInstall