AgentSkillsCN

monitor-jira-comments

每日监测 Sprint 问题下的 Jira 评论。自动识别团队成员提出的问题,并以自然的方式作出回应(不使用机器人语言)。通过 Slack 向用户发出通知。每周工作日上午 9 点通过 Cron 定时执行。

SKILL.md
--- frontmatter
name: monitor-jira-comments
description: Daily monitoring of Jira comments on sprint issues. Detects questions from team members and responds naturally (no bot language). Notifies user via Slack. Scheduled at 9 AM weekdays via cron.

Monitor Jira Comments

Scheduled skill that checks active sprint issues for new comments, detects questions, responds naturally, notifies via Slack.

Inputs

InputTypeDefaultPurpose
jira_projectstring"AAP"Jira project key
hours_lookbackint24Hours to check for new comments
notify_userbooltrueNotify via Slack
slack_channelstring""Channel (default: team-automation-analytics)
dry_runboolfalseReport only, don't post responses

Workflow

1. Load Persona

  • persona_load("developer")

2. Search Sprint Issues

  • jira_search(jql="project = AAP AND Sprint in openSprints() AND assignee = currentUser() ORDER BY updated DESC", max_results=50)
  • Parse issue keys from result

3. For Each Issue

  • jira_view_issue(issue_key) — get issue details and comments
  • Parse comments from issue text
  • Detect questions: ?, "can you", "could you", "please clarify", "what about", "status on", "feedback", etc.
  • Skip own comments ("merge request ready", "working on", etc.)

4. Generate Response

  • Status/update → "Thanks for checking in! I'm actively working..."
  • Clarify/explain → "Good question - let me clarify..."
  • When/timeline → "I'm targeting to have this ready soon..."
  • Feedback/thoughts → "Thanks for the input! I'll review..."
  • Default → "Thanks for reaching out! I've seen your message..."

5. Post Response (unless dry_run)

  • jira_add_comment(issue_key, comment)

6. Notify User

  • notify_team(message="New question on AAP-XXX - responded", channel=..., type="info")

7. Log

  • memory_session_log("jira_comment_monitoring", "Checked X issues, found Y questions")

Output

issues_checked, questions_found, responses_sent, notifications_sent.