Task From Pr
Create Linear tasks from GitHub pull requests with intelligent content extraction and task sizing
$ npx claude-code-templates@latest --command="sync/task-from-pr" --yesRequires Claude Code. The command adds this command to your project's .claudedirectory — nothing runs on ToolZip's servers.
What's inside this command
Component source
Task from PR
Create Linear tasks from GitHub pull requests with intelligent analysis: $ARGUMENTS
Current PR Environment
- Repository: !
gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || echo "No repo context" - PR status: Based on $ARGUMENTS PR number or batch processing criteria
- Linear teams: Available teams for task assignment
- User mappings: GitHub username to Linear user correspondence
Task
Generate Linear tasks from GitHub pull requests with comprehensive content analysis:
PR Source: Use $ARGUMENTS to specify PR number, team assignment, size estimation, or batch processing mode Task Generation Framework:- PR Analysis - Extract comprehensive PR data, parse description structure, identify key components, analyze changes
- Content Extraction - Parse structured sections, extract checklists, identify technical details, capture requirements
- Intelligent Sizing - Estimate task complexity from code changes, file count, review comments, testing requirements
- Task Construction - Build Linear task with proper formatting, preserve PR context, maintain references, structure content
- Team Assignment - Map to appropriate Linear team, assign based on code areas, set priorities from labels
- Validation & Creation - Check for duplicates, validate task structure, create in Linear, establish bidirectional links
Related Claude Code Commands
Sync Automation Setup
Setup comprehensive automated synchronization workflows with monitoring and CI/CD integration
Linear Task To Issue
Convert Linear tasks to GitHub issues with relationship preservation and metadata mapping
Bidirectional Sync
Enable comprehensive bidirectional GitHub-Linear synchronization with conflict resolution
Bulk Import Issues
Bulk import GitHub issues to Linear with comprehensive progress tracking and error handling
Cross Reference Manager
Manage cross-platform reference links between GitHub and Linear with integrity checking
Issue To Linear Task
Convert individual GitHub issues to Linear tasks with comprehensive data preservation
Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.