AgentSkillsCN

sprint-info

当用户要求“获取冲刺信息”、“显示冲刺详情”、“冲刺里有什么”、“冲刺状态”、“当前冲刺”、“活动冲刺详情”、“列出冲刺问题”、“冲刺进度”或需要关于特定冲刺的信息时,此技能是必须使用的。用于冲刺级别的详细信息——使用 backlog-summary 列出跨冲刺的问题。

SKILL.md
--- frontmatter
name: sprint-info
description: This skill MUST be used when the user asks to "get sprint info", "show sprint details", "what's in the sprint", "sprint status", "current sprint", "active sprint details", "list sprint issues", "sprint progress", or needs information about a specific sprint. Use this for sprint-level details - use backlog-summary for bulk issue listing across sprints.

Sprint Info

View detailed sprint information including issues, progress, and dates.

Quick Start

Use the Python script at scripts/sprint_info.py:

bash
# Get active sprint info for project
python scripts/sprint_info.py PROJ

# Get specific sprint by ID
python scripts/sprint_info.py PROJ --sprint-id 123

# List all sprints for project
python scripts/sprint_info.py PROJ --list-sprints

# Get sprint with issue details
python scripts/sprint_info.py PROJ --include-issues

Options

OptionDescription
--sprint-id IDGet specific sprint (default: active sprint)
--list-sprintsList all sprints for project
--include-issuesInclude issue list in output
--state STATEFilter sprints: active, closed, future
--format FORMATOutput: compact (default), text, json

Output Examples

Compact (default)

code
SPRINT|Sprint 23|active|2024-01-15|2024-01-29
PROGRESS|12/20 done|60%|8 story points remaining

With Issues

code
SPRINT|Sprint 23|active|2024-01-15|2024-01-29
PROGRESS|12/20 done|60%|8 story points remaining
ISSUES:
PROJ-101|Done|Implement login
PROJ-102|In Progress|Fix validation bug
PROJ-103|To Do|Add dark mode

Sprint States

StateDescription
activeCurrently running sprint
futurePlanned/upcoming sprint
closedCompleted sprint

Environment Setup

Requires three environment variables:

  • JIRA_BASE_URL - e.g., https://yoursite.atlassian.net
  • JIRA_EMAIL - Your Jira account email
  • JIRA_API_TOKEN - API token from Atlassian account settings

Shared Cache

This skill uses the shared Jira cache (~/.jira-tools-cache.json) for:

  • Board information
  • Sprint metadata
  • Issue data

Sprint info is cached for 4 hours. Use --refresh to force update.

Reference

For complete options, see references/options-reference.md.