gsd-add-todo
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<objective>
Capture an idea, task, or issue that surfaces during a GSD session as a structured todo for later work.
Routes to the add-todo workflow which handles:
- Directory structure creation
- Content extraction from arguments or conversation
- Area inference from file paths
- Duplicate detection and resolution
- Todo file creation with frontmatter
- STATE.md updates
- Git commits </objective>
<execution_context>
@{{PLATFORM_ROOT}}/get-shit-done/workflows/add-todo.md
</execution_context>
<context>
Arguments: $ARGUMENTS (optional todo description)
State is resolved in-workflow via and targeted reads.
</context>
<process>
**Follow the add-todo workflow** from `@{{PLATFORM_ROOT}}/get-shit-done/workflows/add-todo.md`.
init todosThe workflow handles all logic including:
- Directory ensuring
- Existing area checking
- Content extraction (arguments or conversation)
- Area inference
- Duplicate checking
- File creation with slug generation
- STATE.md updates
- Git commits
<objective>
在GSD会话中捕捉浮现的想法、任务或问题,将其转化为结构化的待办事项,以便后续处理。
该流程会路由至add-todo工作流,该工作流负责处理以下事项:
- 目录结构创建
- 从参数或对话中提取内容
- 从文件路径推断所属区域
- 重复项检测与解决
- 创建包含前置元数据的待办事项文件
- 更新STATE.md
- Git提交 </objective>
<execution_context>
@{{PLATFORM_ROOT}}/get-shit-done/workflows/add-todo.md
</execution_context>
<context>
参数:$ARGUMENTS(可选的待办事项描述)
状态会在工作流中通过和定向读取来解析。
</context>
<process>
**遵循`@{{PLATFORM_ROOT}}/get-shit-done/workflows/add-todo.md`中的add-todo工作流**。
init todos该工作流处理所有逻辑,包括:
- 确保目录存在
- 检查现有区域
- 内容提取(参数或对话)
- 区域推断
- 重复项检查
- 生成slug并创建文件
- 更新STATE.md
- Git提交