Skip to content
CommandImported

sync-pr-to-task

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

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 1 · Size: 3 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/commands/

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

  • For your account on the whole machine

    It goes in: ~/.claude/commands/

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

Instructions

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.

Files

  • LICENSE1 KB
  • sync-pr-to-task.md2 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookAllowed tools with no limits

    In file cli-tool/components/commands/sync/sync-pr-to-task.md

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report

Similar items

  • CommandImported

    architecture-review

    Comprehensive architecture review with design patterns analysis and improvement recommendations

    MITFiles: 1

  • CommandImported

    architecture-scenario-explorer

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

    MITFiles: 1

  • CommandImported

    block-no-verify

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

    MITFiles: 1

  • CommandImported

    c4-architecture

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

    MITFiles: 1

  • CommandImported

    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.0Files: 1

  • CommandImported

    clean-branches

    Clean up merged and stale git branches

    MITFiles: 1