planning-task
Generates structured task plans and todo lists for complex multi-step projects. Use when the user needs to break down work into organized tasks with…
от malue-ai★ 37 звёзд на GitHub
Установить planning-task в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Task Planning Skill
Breaks down complex user requests into structured, trackable task plans with dependencies.
When to Use
Load this skill when:
- User has a multi-step request (e.g., "制作产品PPT需要市场数据")
- Need to organize work into phases/steps
- User mentions: "plan", "tasks", "steps", "breakdown", "organize"
- Complex deliverable requiring coordination
Capabilities
- Task Decomposition: Break complex goals into atomic tasks
- Dependency Management: Identify which tasks must complete before others
- Progress Tracking: Generate plan.json and todo.md for monitoring
- Format Generation: Create both machine-readable (JSON) and human-readable (Markdown) formats
Workflow
Phase 1: Analyze User Intent
Understand the goal and identify key deliverables:
# Use code_execution to analyze
user_intent = "制作AI产品介绍PPT,包含市场数据"
# Identify components
components = [
"搜索市场数据",
"分析竞品信息",
"设计PPT结构",
"生成SlideSpeak配置",
"验证配置",
"渲染PPT"
]
Phase 2: Generate Structured Plan
Use the helper script to create plan.json:
# Load and execute the plan generator
with open('skills/library/planning-task/scripts/generate_plan.py', 'r') as f:
exec(f.read())
plan = generate_task_plan(
user_intent="制作AI产品介绍PPT,包含市场数据",
tasks=[
{"id": "task_001", "description": "搜索AI客服市场数据", "dependencies": []},
{"id": "task_002", "description": "生成PPT配置", "dependencies": ["task_001"]},
{"id": "task_003", "description": "渲染PPT", "dependencies": ["task_002"]}
]
)
# Save plan.json
import json
with open('workspace/plan.json', 'w') as f:
json.dump(plan, f, ensure_ascii=False, indent=2)
Phase 3: Generate Human-Readable Todo
Create todo.md for user visibility:
# Load and execute the todo generator
with open('skills/library/planning-task/scripts/generate_todo.py', 'r') as f:
exec(f.read())
todo_markdown = generate_todo_markdown(plan)
# Save todo.md
with open('workspace/todo.md', 'w') as f:
f.write(todo_markdown)
Phase 4: Execute and Update
As tasks complete, update the plan:
# Update task status
plan["tasks"]["task_001"]["status"] = "completed"
plan["tasks"]["task_001"]["result"] = {"data": [...]}
# Re-save
with open('workspace/plan.json', 'w') as f:
json.dump(plan, f, ensure_ascii=False, indent=2)
# Regenerate todo.md
todo_markdown = generate_todo_markdown(plan)
with open('workspace/todo.md', 'w') as f:
f.write(todo_markdown)
Output Files
plan.json (machine-readable):
{
"plan_id": "plan_001",
"user_intent": "制作AI产品介绍PPT",
"tasks": {
"task_001": {
"id": "task_001",
"description": "搜索市场数据",
"status": "pending",
"dependencies": [],
"result": null
}
}
}
todo.md (human-readable):
# Task Plan: 制作AI产品介绍PPT
Progress: 0/3 (0%)
## Tasks
⬜ **task_001**: 搜索市场数据
⬜ **task_002**: 生成PPT配置
- Dependencies: task_001
⬜ **task_003**: 渲染PPT
- Dependencies: task_002
Task Decomposition Guidelines
- Atomic Tasks: Each task should be a single, executable action
- Dependencies: Identify sequential vs. parallel tasks
- Verifiable: Each task should have clear completion criteria
- Balanced: Aim for 3-8 tasks (not too granular, not too broad)
Good Example:
- ✅ "搜索AI客服市场数据(2024年)"
- ✅ "使用code_execution生成SlideSpeak配置"
- ✅ "调用slidespeak_render渲染PPT"
Bad Example:
- ❌ "完成PPT" (too broad)
- ❌ "打开文件" (too granular)
- ❌ "准备数据" (vague)
Scripts
scripts/generate_plan.py: Creates structured plan.json from task listscripts/generate_todo.py: Converts plan.json to Markdown todo listscripts/update_task.py: Updates task status and regenerates filesresources/plan_template.json: Template structure for plans
Best Practices
- Always generate both formats: plan.json for tracking, todo.md for user
- Update files after each task: Keep progress visible
- Validate dependencies: Ensure no circular dependencies
- Clear descriptions: Use action verbs (搜索、生成、验证、渲染)
- Realistic granularity: 3-8 tasks for most projects
Limitations
- Cannot predict task duration
- Assumes linear dependencies (no complex DAGs)
- User must approve final plan before execution
- Some tasks may need further breakdown during execution
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- resources/plan_template.json
- scripts/generate_plan.py
- scripts/generate_todo.py
FAQ
Что делает скилл planning-task?
Generates structured task plans and todo lists for complex multi-step projects. Use when the user needs to break down work into organized tasks with dependencies, or when creating project plans, checklists, or work breakdowns.
Как установить скилл planning-task?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл planning-task запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…