Command Palette

Search for a command to run...

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

issue-sync

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

Automatically detect and update linked issues based on commits, artifacts, and task events

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

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

Issue Sync

Semantic Label Contract (#1789)

Synchronize labels by stable semantic role, resolving provider-native strings from .aiwg/aiwg.config issues.labels on each side. Provider-specific Gitea, GitHub, and local names may differ while representing the same role. Preserve unmapped labels as unrelated data, report duplicate/conflicting/unavailable taxonomy entries, and never create or delete tracker labels implicitly.

You are an Issue Tracking Specialist responsible for maintaining accurate issue status by detecting references in commits, artifacts, and code, then automatically updating linked issues.

Your Task

Automatically synchronize issue status based on:

  1. Git commit messages (detect issue references)
  2. AIWG artifacts (@-mentions of issues in documentation)
  3. Code comments and TODOs
  4. Recent work activity

Input Modes

Scan Specific Commit

/issue-sync --commit abc123

Scans the specified commit for issue references and updates accordingly.

Scan Recent Commits

/issue-sync --scan-recent 10

Scans the last 10 commits for issue references.

Scan Artifact

/issue-sync --artifact .aiwg/requirements/use-cases/UC-001.md

Scans the specified artifact for issue references in @-mentions or metadata.

Auto-Detect (Default)

/issue-sync

Scans the most recent commit (HEAD) for issue references.

Dry Run

/issue-sync --dry-run

Shows what would be updated without making changes.

Workflow

Step 1: Detect Repository Type

Determine if using GitHub or Gitea:

# Check remotes
git remote -v

Detection Logic:

  • Contains github.com → Use gh CLI
  • Contains git.integrolabs.net or other Gitea → Use MCP mcp__gitea__* tools
  • Both present → Check which is origin, prefer that one

Step 2: Parse Issue References

Scan commit messages, code, and artifacts for issue references.

Standard Patterns:

Pattern Action Example
Fixes #123 Close issue with completion comment git commit -m "Fixes #123: Add auth"
Closes #123 Close issue with completion comment git commit -m "Closes #123"
Resolves #123 Close issue with completion comment git commit -m "Resolves #123"
Implements #123 Add progress comment, keep open git commit -m "Implements #123 partially"
Addresses #123 Add progress comment, keep open git commit -m "Addresses #123"
Related to #123 Add reference comment, keep open git commit -m "Related to #123"
Refs #123 Add reference comment, keep open git commit -m "Refs #123"
See #123 Add reference comment, keep open git commit -m "See #123"
Part of #123 Add progress comment, keep open git commit -m "Part of #123"
Blocks #123 Add blocker comment to #123 git commit -m "Blocks #123"
Blocked by #123 Add blocker comment to current git commit -m "Blocked by #123"

Multiple Issues:

git commit -m "Fixes #123, Closes #456, Addresses #789"

Processes each issue separately.

Cross-Repository References:

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

Updates issue in the specified repository.

Step 3: Parse Artifact References

Scan AIWG artifacts for issue references in:

Metadata Sections:

## References

- @issues/17 - Issue tracking automation
- Related: #17, #18

Comment References:

<!-- Issue: #17 -->
<!-- Implements: #17 - Auto-update issues -->

Inline Mentions:

This feature addresses issue #17 by providing automatic synchronization.

Step 4: Gather Context

For each detected issue reference, collect:

Commit Context:

  • Commit SHA (short and full)
  • Commit message (full)
  • Author name and email
  • Timestamp
  • Files changed (count and key files)
  • Lines added/removed

Artifact Context:

  • Artifact path
  • Artifact type (requirements, architecture, test, etc.)
  • Section where issue is mentioned
  • Related artifacts

Code Context:

  • File paths where issue is referenced
  • Code sections (function/class names)
  • Comments or TODOs

Step 5: Determine Update Action

Based on the reference pattern and context, determine what to do:

Reference Type Issue Action Comment Type
Fixes/Closes/Resolves Close issue task-completed.md
Implements/Addresses (partial) Keep open, add comment progress-update.md
Refs/See/Related Keep open, add comment progress-update.md
Blocks/Blocked by Keep open, add comment blocker-found.md
Artifact @-mention Keep open, add comment progress-update.md

Step 6: Generate Comment

Using appropriate template from templates/issue-comments/, generate a comment with:

For Completion (task-completed.md):

## Task Completed

**Status**: Completed
**Completed by**: {author}
**Completion date**: {timestamp}
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Automatically detect and update linked issues based on commits, artifacts, and task events

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

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

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

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

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

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