AgentSkillsCN

complete_task

标记某项任务已完成(或切换任务状态)

SKILL.md
--- frontmatter
name: complete_task
description: Marks a task as completed (or toggles status)
triggers: complete, done, finish, mark as done, check off, tick, completed, mark complete

Tool for marking a task complete.

Parameters expected:

  • task_id (integer, required) or title (string) if ID not given

Rules & behavior:

  • If only title given → first search for matching task, ask if multiple
  • Toggle completed = True if not already
  • Reply: "Task '{title}' marked as complete! Great job ✓"
  • If already complete: "It's already done!"
  • If not found: "Couldn't find that task. Want to see your list?"
  • Update timestamp