Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

issue-auto-sync

БесплатноБез исполняемых скриптовНе проверен

Detect issue references in commits and artifacts and automatically update or close linked tracker issues

jmaglyот jmagly★ 233 звезды на GitHub

Об этом скилле

issue-auto-sync

Automatically detect and update linked issues after commits or artifact changes.

Triggers

Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):

  • "link commits to issues" → commit-to-issue tracing
  • "auto-close issues" → issue auto-closure on commit

Purpose

This skill maintains issue tracker synchronization by:

  • Detecting issue references in commit messages
  • Scanning AIWG artifacts for issue mentions
  • Automatically updating issues with progress
  • Closing issues when work is completed
  • Notifying blocked/dependent issues

Behavior

When triggered, this skill:

  1. Detects issue references:

    • Parse recent commit messages for patterns like "Fixes #123", "Addresses #45"
    • Scan AIWG artifacts for issue mentions in metadata or references sections
    • Check code comments for TODO(#123) or @issue #123 patterns
  2. Classifies reference type:

    • Completion: Fixes, Closes, Resolves → Close issue
    • Progress: Implements, Addresses, Part of → Add progress comment
    • Reference: Refs, See, Related to → Add reference comment
    • Blocker: Blocks, Blocked by → Add blocker notification
  3. Gathers context:

    • Extract commit SHA, message, author, timestamp
    • List changed files and line counts
    • Find related artifacts and test files
    • Check CI/CD status if available
  4. Generates appropriate comment:

    • Use task-completed.md template for closure
    • Use progress-update.md template for progress
    • Use blocker-found.md template for blockers
    • Include commit details, file changes, and context
  5. Updates issues via API:

    • Post comment to GitHub (using gh CLI) or Gitea (using MCP tools)
    • Close issue if completion pattern detected
    • Add appropriate labels (in-progress, blocked, completed)
    • Update dependent/blocking issues
  6. Reports results:

    • List issues detected and updated
    • Show actions taken (commented, closed, labeled)
    • Highlight any errors or skipped updates

Reference Detection Patterns

Commit Message Patterns

Pattern Action Example
Fixes #N Close issue git commit -m "Fixes #17: Add auth"
Closes #N Close issue git commit -m "Closes #17"
Resolves #N Close issue git commit -m "Resolves #17"
Implements #N Progress update git commit -m "Implements #17 partially"
Addresses #N Progress update git commit -m "Addresses #17"
Part of #N Progress update git commit -m "Part of #17"
Related to #N Reference comment git commit -m "Related to #17"
Refs #N Reference comment git commit -m "Refs #17"
See #N Reference comment git commit -m "See #17"
Blocks #N Blocker notification git commit -m "Blocks #17"
Blocked by #N Blocker notification git commit -m "Blocked by #17"

Multi-issue support:

git commit -m "Fixes #17, Closes #18, Addresses #19"

Each issue is processed separately.

Cross-repository:

git commit -m "Fixes owner/repo#123"

Updates issue in the specified repository.

Artifact Reference Patterns

Metadata section:

## References

- Primary issue: #17
- Related: #18, #19
- Blocks: #20

Frontmatter:

---
issue: 17
related_issues: [18, 19]
blocked_by: 16
---

Inline mentions:

This feature addresses issue #17 by implementing automatic synchronization.

Code Reference Patterns

TODO comments:

// TODO(#17): Add retry logic
// FIXME(#17): Handle edge case

Documentation comments:

/**
 * @issue #17
 * @implements @.aiwg/requirements/UC-017.md
 */
export class IssueSync {}

Test descriptions:

describe('Issue #17: Auto-sync', () => {
  it('should detect issue references', () => {});
});

Context Gathering

For each detected issue, collect:

Commit Information:

  • SHA (short and full)
  • Message (full text)
  • Author name and email
  • Timestamp
  • Branch name
  • Parent commit(s)

Change Statistics:

  • Files changed (count)
  • Lines added
  • Lines removed
  • Key files (categorize as code, test, docs, config)

Artifact Context:

  • Path to artifact
  • Artifact type (requirements, architecture, test plan, etc.)
  • Section where issue is mentioned
  • Related artifacts

Build/Test Context:

  • CI/CD pipeline status (if available)
  • Test results (passing/failing)
  • Code coverage changes

Comment Generation

Completion Comment (Fixes/Closes/Resolves)

## Task Completed

**Status**: Completed
**Completed by**: {author_name}
**Completion date**: {commit_timestamp}

## Summary of Work

{commit_message}

## Changes Made

### Files Modified
{list_of_changed_files_with_categorization}

**Code Changes**:
- `{file_path}` (+{lines} -{lines})

**Tests Added**:
- `{test_file_path}`
Полный SKILL.md на GitHub

Установить issue-auto-sync в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл issue-auto-sync?

Detect issue references in commits and artifacts and automatically update or close linked tracker issues

Как установить скилл issue-auto-sync?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл issue-auto-sync запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить issue-auto-sync с