AgentSkillsCN

goals

当用户询问“展示我的目标”、“我该重点推进哪些工作”、“更新目标进度”、“创建新目标”、“添加里程碑”、“完成里程碑”,或希望在多个会话中持续追踪工作进展时,应使用此技能。

SKILL.md
--- frontmatter
name: goals
description: This skill should be used when the user asks "show my goals", "what should I work on", "update goal progress", "create a goal", "add milestone", "complete milestone", or wants to track work across multiple sessions.
argument-hint: "[goal title or action]"

Goal Management

Manage goals and milestones that persist across Claude Code sessions.

Command: $ARGUMENTS

Current Goals (Live)

!mira tool goal '{"action":"list","limit":5}'

Instructions

Parse the command and use the appropriate mcp__mira__goal action:

No arguments or "list"

  • The goals are already shown above
  • Highlight in-progress and blocked goals

"add <title>" or "create <title>"

  • Use action="create" with the title
  • Ask for description and priority if not provided
  • Suggest adding milestones after creation

"show <id>" or "progress <id>"

  • Use action="get" with the goal_id
  • Show full details including all milestones
  • Display completion status for each milestone

"milestone <goal_id> <title>"

  • Use action="add_milestone"
  • Add a new milestone to the specified goal
  • Ask for weight if not provided (default: 1)

"complete <milestone_id>"

  • Use action="complete_milestone"
  • Mark the milestone as done
  • Show updated goal progress

"done <goal_id>"

  • Use action="update" with status="completed"
  • Mark the entire goal as complete

Example Usage

code
/mira:goals                           # List all goals
/mira:goals add Implement auth system # Create new goal
/mira:goals show 103                  # Show goal details
/mira:goals milestone 103 Add tests   # Add milestone
/mira:goals complete 17               # Complete milestone