Skip to content

案例四:项目任务分解

有一个大目标或项目,需要拆解为可执行的小任务,估算时间和资源。

分解模板

markdown
---
project: {{project_name}}
deadline: {{deadline}}
status: planning
---

# 项目:{{project_name}}

## 🎯 项目目标
<!-- 项目要达成什么 -->

## 📋 AI 任务分解
<!-- AI 生成的任务列表 -->

## 📊 进度追踪
<!-- 手动更新进度 -->

## 📝 项目笔记
<!-- 项目相关笔记 -->

任务分解 Prompt

markdown
# 项目任务分解

## 项目信息
- **目标**:{{goal}}
- **截止日期**:{{deadline}}
- **可用时间**:{{available_time}} 小时/周
- **当前状态**:{{current_status}}
- **限制条件**:{{constraints}}

## 分解要求

### 任务粒度
- 每个任务 30分钟-2小时 可完成
- 任务描述具体可操作
- 任务之间有明确顺序

### 输出格式

## 阶段一:{{phase_name}}
- [ ] 任务1(预计:X小时)
  - 具体步骤
- [ ] 任务2(预计:X小时)
  - 具体步骤

## 阶段二:{{phase_name}}
...

## 📅 时间规划
| 阶段 | 预计时间 | 截止日期 |
|------|----------|----------|
| 阶段一 | X小时 | 日期 |

## ⚠️ 风险提示
- 风险1:应对方案
- 风险2:应对方案

## 💡 建议
- 建议1
- 建议2

进度更新自动化

javascript
<%*
// 计算项目进度
const projectFile = tp.file.find_tfile("Projects/项目名.md");
const content = await app.vault.read(projectFile);

const completed = (content.match(/- \[x\]/g) || []).length;
const total = (content.match(/- \[[ x]\]/g) || []).length;
const progress = Math.round((completed / total) * 100);

tR += `## 📊 进度\n完成度:${progress}% (${completed}/${total})\n`;
%>

返回

← 返回案例目录

最后更新:2026年3月31日编辑此页反馈问题