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
init todos
and targeted reads. </context>
<process> **Follow the add-todo workflow** from `@{{PLATFORM_ROOT}}/get-shit-done/workflows/add-todo.md`.
The workflow handles all logic including:
  1. Directory ensuring
  2. Existing area checking
  3. Content extraction (arguments or conversation)
  4. Area inference
  5. Duplicate checking
  6. File creation with slug generation
  7. STATE.md updates
  8. Git commits
</process>
<objective> 在GSD会话中捕捉浮现的想法、任务或问题,将其转化为结构化的待办事项,以便后续处理。
该流程会路由至add-todo工作流,该工作流负责处理以下事项:
  • 目录结构创建
  • 从参数或对话中提取内容
  • 从文件路径推断所属区域
  • 重复项检测与解决
  • 创建包含前置元数据的待办事项文件
  • 更新STATE.md
  • Git提交 </objective>
<execution_context> @{{PLATFORM_ROOT}}/get-shit-done/workflows/add-todo.md </execution_context>
<context> 参数:$ARGUMENTS(可选的待办事项描述)
状态会在工作流中通过
init todos
和定向读取来解析。 </context>
<process> **遵循`@{{PLATFORM_ROOT}}/get-shit-done/workflows/add-todo.md`中的add-todo工作流**。
该工作流处理所有逻辑,包括:
  1. 确保目录存在
  2. 检查现有区域
  3. 内容提取(参数或对话)
  4. 区域推断
  5. 重复项检查
  6. 生成slug并创建文件
  7. 更新STATE.md
  8. Git提交
</process>