new-work
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNew Work
新工作
Todo notes track work items as markdown files with YAML front matter capturing status, context, and progress.
待办事项笔记将工作项记录为带有YAML前置元数据的Markdown文件,用于捕获状态、上下文和进度。
Storage Location
存储位置
Use if it exists in the repository root; otherwise ask the user where to store todo notes before creating anything. It contains two subdirectories: (active) and (finished).
_dev/todos/pending/done/如果仓库根目录下存在,则使用该目录;否则在创建任何内容前询问用户待办事项笔记的存储位置。该目录包含两个子目录:(进行中)和(已完成)。
_dev/todos/pending/done/File Naming
文件命名
YYYY-MM-DD_short-kebab-slug.md2026-02-18_add-oauth-support.mdYYYY-MM-DD_short-kebab-slug.md2026-02-18_add-oauth-support.mdFile Contents
文件内容
YAML front matter plus a markdown body. Only is required.
statusmarkdown
---
status: pending # pending | in progress | review | blocked | done
issue: https://github.com/org/repo/issues/123 # optional
pr: https://github.com/org/repo/pull/456 # optional
---YAML前置元数据加上Markdown正文。仅为必填项。
statusmarkdown
---
status: pending # pending | in progress | review | blocked | done
issue: https://github.com/org/repo/issues/123 # optional
pr: https://github.com/org/repo/pull/456 # optional
---Title
标题
Overview of what this is about and why it matters.
关于此项工作的概述及其重要性。
Key Files
关键文件
- — what it does
src/relevant-file.ts - — why it matters
src/other-file.ts:functionName()
- — 功能说明
src/relevant-file.ts - — 重要性说明
src/other-file.ts:functionName()
Work Items
工作项
- First thing to do
- Second thing to do
- 待完成的第一件事
- 待完成的第二件事
Design Decisions
设计决策
Context, constraints, or choices worth capturing.
值得记录的上下文、约束条件或选择。
Decision Log
决策日志
<!--
<!--
YYYY-MM-DD — Short Decision Title
YYYY-MM-DD — 简短决策标题
Decision: What was decided?
Rationale: Why?
-->
undefined决策: 做出了什么决定?
理由: 为什么这样决定?
-->
undefinedLifecycle
生命周期
- Create: make if needed, create the date-prefixed file with
pending/, and write enough context to resume later.status: pending - In progress: update ; add
status/issuelinks when they exist; check off Work Items (pr→- [ ]); record significant decisions in the Decision Log.- [x] - Complete: set and
status: donethe file frommvtopending/.done/
- 创建: 若需要则创建目录,创建带日期前缀的文件并设置
pending/,写入足够的上下文以便后续继续工作。status: pending - 进行中: 更新;当存在相关issue或PR时添加链接;勾选已完成的工作项(
status→- [ ]);在决策日志中记录重要决策。- [x] - 完成: 设置并使用
status: done命令将文件从mv移动到pending/。done/
Keeping the Document Current
保持文档更新
Treat the todo as a living record for the rest of the session. Update it after any decision, newly discovered problem or requirement, issue raised/resolved, significant implementation work, or commit. When in doubt, update it.
When you form a plan — whether in response to a user request or on your own initiative — write it to the todo document rather than presenting it only in chat. The document is the persistent record; the chat is not.
To resume in a future session, use — same live-document behavior without re-creating the file.
/working-on <path-to-todo>在整个工作会话中,将待办事项文档视为动态记录。在做出任何决策、发现新问题或需求、问题提出/解决、完成重要实现工作或提交代码后,都要更新文档。如有疑问,就更新它。
当你制定计划时——无论是响应用户请求还是主动规划——都要将计划写入待办事项文档,而不是仅在聊天中呈现。文档是持久记录,聊天不是。
若要在未来会话中继续工作,使用命令——无需重新创建文件即可获得相同的动态文档功能。
/working-on <path-to-todo>