AgentSkillsCN

vcs-issue-management

管理问题生命周期:在GitHub与GitLab中,对评论、状态变更、任务分配以及专业状态更新进行精细化管理。

SKILL.md
--- frontmatter
name: vcs-issue-management
description: 'Manage issue lifecycle: comments, state changes, assignments, and professional status updates for GitHub and GitLab.'

VCS Issue Management (Agnostic)

Workflow

  1. Information Gathering: Read the latest comments and current state of the issue.
  2. Action Definition: Determine if you need to comment, assign, change state, or update the description.
  3. Drafting:
    • Write in English only.
    • Use Markdown (Titles, Subtitles, Code Snippets, Items).
    • Use Emojis for clarity and tone.
    • Follow patterns from references/communication.md.
  4. MITM Confirmation: Stop and present the drafted text to the USER for approval.
  5. Execution: After approval, map to the correct platform tool (GitHub/GitLab).

Tool Mapping

ActionGitHub Tool (mcp__github__)GitLab Tool (mcp__gitlab__)
Commentadd_issue_comment(owner, repo, issue_number, body)create_issue_note(project_id, issue_iid, body)
Change Stateupdate_issue(..., state: 'open'|'closed')edit_issue(..., state_event: 'reopen'|'close')
Assignupdate_issue(..., assignees: [u1])edit_issue(..., assignee_ids: [id])
Edit Bodyupdate_issue(..., body: '...')edit_issue(..., description: '...')

Strategic Updates

  • Blockers: Post an immediate update using the Blocker template if progress stops.
  • Delays: Notify stakeholders as soon as a delay is detected with a revised ETA.
  • Planning: Propose an approach before starting complex work to get early feedback.
  • Professionalism: Always maintain a solution-oriented tone.

Guidelines

  • Be Concise: Avoid repetitive or redundant comments.
  • Context Awareness: Link relevant commits, PRs, or other issues.
  • State Hygiene: Close issues promptly when work is completed and verified.