tb-create-task
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese创建 TeamBition 任务
Create TeamBition Task
执行步骤
Execution Steps
1. 选择项目
1. Select Project
读取 中的常用项目,让用户明确选择。
如果 不存在,提示先执行 。
.teambition.md.teambition.md/tb-initRead common projects from for users to make an explicit selection.
If does not exist, prompt to run first.
.teambition.md.teambition.md/tb-init2. 填写任务信息
2. Fill in Task Information
逐步收集:
- 任务标题(必填)
- 优先级 — 选项:无(0) / 低(1) / 中(2) / 高(3)
- 截止日期 — 选项:无 / 今天 / 明天 / 本周五 / 下周五 / 自定义
规则:
- 如果宿主支持交互选择控件,则使用交互选择
- 如果宿主不支持交互选择控件,则直接在对话中逐项询问用户
- 不要自动替用户选择项目、优先级或日期
Collect information step by step:
- Task Title (required)
- Priority — Options: None(0) / Low(1) / Medium(2) / High(3)
- Deadline — Options: None / Today / Tomorrow / This Friday / Next Friday / Custom
Rules:
- If the host supports interactive selection controls, use interactive selection
- If the host does not support interactive selection controls, ask the user for each item directly in the conversation
- Do not automatically select projects, priorities or dates for users
3. 创建任务
3. Create Task
bash
node scripts/tb-api.mjs create-task --projectId <ID> --content "<标题>" --priority <N> --dueDate <ISO日期>bash
node scripts/tb-api.mjs create-task --projectId <ID> --content "<标题>" --priority <N> --dueDate <ISO日期>4. 更新最近任务
4. Update Recent Tasks
创建成功后,用 Edit 工具将新任务追加到 最近任务表格最前面(超过上限删除最旧的)。
.teambition.mdAfter successful creation, use the Edit tool to append the new task to the front of the recent task table in (delete the oldest entry when the upper limit is exceeded).
.teambition.md