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
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/commandsFor 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:
- Reference Detection - Extract Linear task IDs from PR title, body, branch names, commit messages
- PR Analysis - Fetch complete PR data, analyze state, review status, change metrics, timeline
- State Synchronization - Map PR states to Linear equivalents, handle review cycles, merge events
- Task Updates - Update Linear task status, add PR references, create comments, sync metadata
- GitHub Enhancement - Add Linear context to PR, create labels, post task summaries, maintain links
- 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).