agentsclimarketplace

Agile sprint planning

Skill LuckyOneTwoThree/pm-skill/pm-08-project/skills/agile-sprint-planning

当需要规划Sprint时使用。Sprint Planning自动化,将Product Backlog转化为Sprint Backlog,包含Sprint Goal建议、Story自动选取、工作量估算、容量匹配验证,输出完整的Sprint计划。关键词:Sprint规划、Sprint计划、迭代规划、Story选取、容量匹配、排期、这期做啥。From its SKILL.md

Install
npx -y skills add LuckyOneTwoThree/pm-skill --skill agile-sprint-planning

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

10.1 KB, ~3.2k tokens by cl100k_base, as published. Nobody here has run it

Sprint Planning自动化

核心原则

  1. 透明度即协作:Sprint计划全员可见,目标、Story分配、容量匹配信息透明
  2. 风险前置:Sprint Planning时识别风险和依赖,而非等到执行阶段才发现问题
  3. 自动化追踪:Sprint进度、Story状态自动追踪,减少人工汇报负担

交互模式

🤖→👤 AI建议人类审批

  • AI自动完成Step 1-5,生成完整的Sprint计划
  • 人类审批重点:Sprint Goal是否准确、Story选取是否合理、容量是否适当
  • 人类可要求AI调整,AI重新生成
  • Product Owner批准后,Sprint正式开始

输入

输入项类型必填来源说明
product_backlogobject[]output/pm-monitoring/iteration-decision/prioritized_items产品待办列表
sprint_goalstring用户提供Sprint目标描述
team_capacityobjectoutput/pm-project/planning-resource/resource_plan团队容量数据
sprint_duration_daysnumber用户提供Sprint天数

执行步骤

Step 1: Sprint Goal自动建议

动作

  • 分析Product Backlog中的高优先级Stories
  • 识别主题或功能领域
  • 生成1-2句话的Sprint Goal
  • 确保Goal具体、可衡量、有价值

输出

{
  "sprint_goal_suggestion": {
    "goal": "string",
    "focus_area": "string",
    "success_indicator": "string",
    "confidence": 0.0-1.0
  }
}

Step 2: Story自动选取

动作

  • 按优先级排序Backlog Stories
  • 考虑Story间的依赖关系
  • 匹配Story与团队能力
  • 贪心算法选取最优组合至容量上限

输出

{
  "selected_stories": [{
    "id": "STORY-001",
    "title": "string",
    "priority": "P0 | P1 | P2 | P3",
    "dependencies": ["STORY-ID"],
    "estimated_points": number,
    "recommended_assignee": "string | null",
    "selection_reason": "string"
  }],
  "rejected_stories": [{
    "id": "string",
    "reason": "string"
  }],
  "selection_confidence": 0.0-1.0
}

Step 3: 工作量自动估算

动作

  • 为每个选入的Story估算Story Points
  • 使用Planning Poker或T-Shirt Size作为参考
  • 考虑技术复杂度和不确定性
  • 汇总总点数

输出

{
  "story_points_estimation": [{
    "story_id": "STORY-001",
    "title": "string",
    "story_points": number,
    "estimation_method": "fibonacci | t-shirt | ai-suggested",
    "confidence": 0.0-1.0,
    "notes": "string"
  }],
  "total_story_points": number,
  "velocity_reference": number,
  "estimation_confidence": 0.0-1.0
}

Step 4: 容量匹配验证

动作

  • 计算团队可用容量(人天 × 团队人数)
  • 对比计划点数与容量
  • 验证是否在安全范围内(建议80%利用率)
  • 如超出容量,提示调整

输出

{
  "capacity_validation": {
    "team_capacity": {
      "total_available_hours": number,
      "story_points_capacity": number,
      "recommended_utilization": 0.0-1.0
    },
    "sprint_plan": {
      "planned_story_points": number,
      "planned_hours": number,
      "utilization_rate": 0.0-1.0
    },
    "validation_result": "green | yellow | red",
    "validation_message": "string",
    "adjustment_suggestions": ["string"]
  }
}

Step 5: Sprint计划文档生成

动作

  • 整合以上步骤的输出
  • 生成完整的Sprint计划文档
  • 包含风险提示和建议
  • 准备人类审批版本

输出

# sprint_plan

## Sprint信息
- Sprint编号:
- Sprint目标:
- 开始日期:
- 结束日期:
- 团队:

## Sprint Goal
{Step 1 输出}

## 计划Stories
{Step 2 & 3 输出}

## 容量验证
{Step 4 输出}

## 风险与建议
- 识别的风险:
- 建议的关注点:

## 审批
- 审批状态:待审批

输出

存储路径output/pm-project/agile-sprint-planning/

输出文件:sprint_plan.json、metadata.json

输出Schema

{
  "type": "object",
  "required": ["sprint_plan", "metadata"],
  "properties": {
    "sprint_plan": {"type": "object", "description": "Sprint计划,包含目标、Story列表、容量验证和风险"},
    "metadata": {"type": "object", "description": "元数据,包含Sprint ID、置信度和审批状态"}
  }
}

输出校验规则

字段路径类型必填说明
sprint_plan.sprint_goalstringSprint目标描述,须具体可衡量
sprint_plan.storiesarray计划Story列表,每项须含id、title、story_points、assignee
sprint_plan.stories[].story_pointsnumber故事点估算值,须为正整数
sprint_plan.stories[].statusstringStory状态,枚举值planned
sprint_plan.capacity_validation.statusstring容量验证结果,枚举值green/yellow/red
sprint_plan.capacity_validation.messagestring验证说明信息
sprint_plan.risksarray风险列表,每项须含description和priority
sprint_plan.risks[].prioritystring风险优先级,枚举值high/medium/low
metadata.sprint_idstringSprint唯一标识
metadata.generated_atstring生成时间,ISO 8601格式
metadata.confidencenumber整体置信度,范围0.0-1.0
metadata.human_approval_requiredboolean是否需要人类审批,Sprint Planning须为true
metadata.approval_statusstring审批状态,枚举值pending/approved/rejected
{
  "sprint_plan": {
    "sprint_goal": "string",
    "stories": [{
      "id": "string",
      "title": "string",
      "story_points": number,
      "assignee": "string",
      "status": "planned"
    }],
    "capacity_validation": {
      "status": "green | yellow | red",
      "message": "string"
    },
    "risks": [{
      "description": "string",
      "priority": "high | medium | low"
    }]
  },
  "metadata": {
    "sprint_id": "string",
    "generated_at": "ISO datetime",
    "confidence": 0.0-1.0,
    "human_approval_required": true,
    "approval_status": "pending | approved | rejected"
  }
}

容量计算规则

可用容量 = 团队人数 × 每人每天可用小时 × Sprint天数 × 利用率系数

推荐配置:
- 利用率系数:0.8(保留20%用于会议、突发情况)
- 每人每天可用小时:6小时(非8小时)

决策规则

条件动作
Backlog Stories < Sprint容量 50%升级至Product Owner补充需求
容量验证红色(> 100%)强制要求减少Story或延长Sprint
依赖关系复杂导致无法选取输出多个方案,升级至人类决策
Story估算置信度 < 0.5标注不确定性,升级至团队确认

质量检查

  • Sprint Goal明确且包含≥1个可量化验收标准
  • 选取的Stories总点数≤团队可用容量×1.1(预留10%缓冲)
  • 100%的跨团队依赖已识别并有解决方案或时间表
  • 每个Story估算经≥2名团队成员确认
  • Sprint包含≥1个技术债务或改进项(如有积压)
  • 无P0级风险未纳入Sprint考量

降级策略

上游文件缺失降级方案

缺失的上游输入降级方案输出影响
Product Backlog用户提供需求列表(标题+优先级+估算),AI据此生成Sprint计划基于用户输入生成Sprint计划,缺少结构化Backlog数据支撑
Sprint目标AI基于高优先级Stories自动推断Sprint Goal,标注需PO确认Sprint Goal为AI推断,需Product Owner确认后方可执行
团队容量跳过容量验证,计划中标注"需人工确认容量匹配"Sprint计划无容量验证结果,需人工补充确认
Sprint天数若用户未提供Sprint天数,提示用户提供或跳过该输入相关步骤容量计算和排期缺少时间范围,需人工补充

数据获取说明

当上游文件缺失时,通过以下方式获取必要数据:

  1. Product Backlog缺失:请用户提供需求列表,包含需求标题、优先级(P0-P3)和粗略估算,AI将据此进行Story选取和Sprint计划生成
  2. Sprint目标缺失:AI将基于最高优先级Stories自动推断Sprint Goal,输出中标注"AI推断,需Product Owner确认"
  3. 团队容量缺失:跳过容量匹配验证步骤,Sprint计划中标注"需人工确认团队容量是否支持",建议与团队确认后再提交审批

上游变更响应

上游变更影响表

上游变更影响范围响应策略
Product Backlog变更(优先级调整/Story增减)Story选取结果、Sprint Goal建议重新执行Story选取,更新Sprint计划和Goal建议
团队容量变更(人员变动/假期调整)容量验证结果、Story选取上限重新计算容量,调整Story选取和容量验证
Sprint天数调整容量计算、排期时间线重新计算可用容量,更新Sprint计划时间范围

下游通知机制表

变更类型影响范围通知方式
Sprint计划变更(Story增减/Goal调整)每日同步、Sprint评审、风险管理更新sprint_plan.json,通知agile-daily-sync、agile-review、risk-management
容量验证结果变更资源规划、团队排期更新sprint_plan.json,通知planning-resource
审批状态变更所有下游依赖Sprint计划的Pipeline更新metadata.json,通知所有下游消费者

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.