تخطَّ إلى المحتوى
أمرمستورد

sync-pr-to-task

Link GitHub pull requests to Linear tasks with automated state synchronization and workflow integration

وصف مستورد لم يراجعه محرر بعد

جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.

التنزيل

الملفات: 1 · الحجم: 3 ك.ب

نزّل ملف ZIP

يحمل الملف ترخيص المصدر الأصلي.

التثبيت

بعد التنزيل، شغّل الأمر في الطرفية. يسأل unzip قبل أن يستبدل أي ملف موجود.

  • لهذا المشروع

    يوضع في: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/sync-pr-to-task.zip -d .claude/commands

  • لحسابك على الجهاز كله

    يوضع في: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/sync-pr-to-task.zip -d ~/.claude/commands

التعليمات

Sync PR to Task

Link GitHub pull requests to Linear tasks with comprehensive workflow integration: $ARGUMENTS

Current PR Context

  • Repository: !gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || echo "No repo context"
  • PR details: Based on $ARGUMENTS PR number or auto-detection criteria
  • Linear references: Detection of task IDs in PR content and branch names
  • Webhook status: Current automation configuration for PR-task synchronization

Task

Implement comprehensive pull request to Linear task linking with automated workflow integration:

PR Target: Use $ARGUMENTS to specify PR number, task assignment, auto-detection mode, or automation configuration

Integration Framework:

  1. Reference Detection - Extract Linear task IDs from PR title, body, branch names, commit messages
  2. PR Analysis - Fetch complete PR data, analyze state, review status, change metrics, timeline
  3. State Synchronization - Map PR states to Linear equivalents, handle review cycles, merge events
  4. Task Updates - Update Linear task status, add PR references, create comments, sync metadata
  5. GitHub Enhancement - Add Linear context to PR, create labels, post task summaries, maintain links
  6. Workflow Automation - Configure webhooks, enable real-time sync, implement event handlers, maintain consistency

Advanced Features: Smart branch detection, automated state mapping, review integration, commit analysis, comprehensive validation.

Workflow Integration: Real-time updates, bidirectional sync, event-driven automation, comprehensive monitoring.

Output: Complete PR-task integration with automated synchronization, workflow enhancement, state management, and comprehensive relationship tracking.

الملفات

  • LICENSE1 ك.ب
  • sync-pr-to-task.md2 ك.ب

ما وجده الفحص الآلي

فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.

  • يحتاج مراجعةأدوات مسموحة بلا حدود

    في الملف cli-tool/components/commands/sync/sync-pr-to-task.md

التعليقات (0)

لا تعليقات بعد. كن أول من يعلّق.

سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).

أبلغ

عناصر مشابهة

  • أمرمستورد

    architecture-review

    Comprehensive architecture review with design patterns analysis and improvement recommendations

    MITالملفات: 1

  • أمرمستورد

    architecture-scenario-explorer

    Explore architectural decisions through systematic scenario analysis with trade-off evaluation and future-proofing assessment.

    MITالملفات: 1

  • أمرمستورد

    block-no-verify

    Set up PreToolUse hook to block --no-verify and other git bypass flags in Claude Code projects

    MITالملفات: 1

  • أمرمستورد

    c4-architecture

    Generate comprehensive C4 architecture documentation (Context, Container, Component, Code) for a codebase using bottom-up analysis and four coordinated C4 agents.

    MITالملفات: 1

  • أمرمستورد

    clean_gone

    Cleans up all git branches marked as [gone] (branches that have been deleted on the remote but still exist locally), including removing associated worktrees.

    Apache-2.0الملفات: 1

  • أمرمستورد

    clean-branches

    Clean up merged and stale git branches

    MITالملفات: 1