Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

1 line
2.1 KiB
JSON

{"content": "---\nallowed-tools: Read, Write, Edit, Bash\nargument-hint: [task-id] | --repo | --milestone | --close-linear | --skip-attachments\ndescription: Convert Linear tasks to GitHub issues with relationship preservation and metadata mapping\n---\n\n# Linear Task to Issue\n\nConvert Linear tasks to GitHub issues with comprehensive relationship mapping: **$ARGUMENTS**\n\n## Current Task Context\n\n- Task details: Based on $ARGUMENTS task identifier or selection criteria\n- Target repository: !`gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || echo \"No repo context\"`\n- User mappings: Linear email to GitHub username correspondence\n- Attachment handling: Linear attachment access and GitHub upload capabilities\n\n## Task\n\nExecute precise conversion of Linear tasks to GitHub issues:\n\n**Task Target**: Use $ARGUMENTS to specify task identifier, target repository, milestone mapping, or processing preferences\n\n**Conversion Framework**:\n1. **Task Analysis** - Fetch complete Linear task data, extract relationships, analyze content structure, identify priorities\n2. **Content Transformation** - Build GitHub issue body, map Linear fields, preserve formatting, handle rich content\n3. **GitHub Integration** - Create issue with proper structure, apply labels, assign users, set milestones, manage relationships\n4. **Attachment Migration** - Download Linear attachments, upload to GitHub, update references, maintain accessibility\n5. **Comment Import** - Transfer comments with attribution, preserve timestamps, maintain context, handle mentions\n6. **Cross-Reference Setup** - Create bidirectional links, update Linear task, maintain sync database, enable navigation\n\n**Advanced Features**: Rich content conversion, attachment handling, relationship mapping, user mention translation, comprehensive validation.\n\n**Relationship Management**: Preserve parent-child relationships, maintain team context, map project associations, handle dependencies.\n\n**Output**: Successfully created GitHub issue with complete data migration, accurate field mappings, preserved relationships, and comprehensive conversion report."}