Files
davila7__claude-code-templates/cli-tool/components/commands/sync/issue-to-linear-task.md
Dani 054c0e56e9 fix(commands): Remove deprecated 'model: sonnet' field from 142 command files
Removed the deprecated 'model: sonnet' field from command frontmatter to fix
compatibility issues with Claude Code. Commands will now inherit the model from
the active conversation instead of using a hardcoded deprecated model identifier.

Changes:
- Removed 'model: sonnet' from 142 command files across all categories
- Commands now use default model inheritance behavior
- Preserved 'model: claude-sonnet-4-5-20250929' in gemini-review.md (valid model)
- 67 commands without model field remain unchanged

This resolves the "model: sonnet not found" error reported in GitHub issues
and aligns with Claude Code's recommended practice of letting commands inherit
the conversation model.

Affected categories:
- Database/Supabase commands (8 files)
- Documentation commands (8 files)
- Deployment commands (11 files)
- Setup commands (14 files)
- Performance commands (8 files)
- Team commands (14 files)
- Security commands (6 files)
- NextJS/Vercel commands (10 files)
- Sync commands (14 files)
- And more across other categories

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 10:08:58 -04:00

2.0 KiB

allowed-tools: Read, Write, Edit, Bash argument-hint: [issue-number] | --team | --project | --close-github | --skip-comments description: Convert individual GitHub issues to Linear tasks with comprehensive data preservation

Issue to Linear Task

Convert GitHub issues to Linear tasks with comprehensive field mapping: $ARGUMENTS

Current Conversion Context

  • Repository: !gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || echo "No repo context"
  • Issue details: Based on $ARGUMENTS issue number or selection criteria
  • Linear teams: Available Linear teams and project assignments
  • User mappings: @user-mappings.json or GitHub-Linear user correspondence

Task

Execute precise conversion of individual GitHub issues to Linear tasks:

Issue Target: Use $ARGUMENTS to specify issue number, conversion options, team assignment, or processing preferences

Conversion Framework:

  1. Issue Analysis - Fetch complete issue data, extract metadata, analyze content structure, infer priorities
  2. Data Transformation - Map fields accurately, convert formats, preserve relationships, enhance descriptions
  3. Linear Integration - Create task with proper formatting, assign team/project, set priorities, manage labels
  4. Content Migration - Import comments with attribution, handle attachments, preserve formatting, maintain threading
  5. Reference Management - Create bidirectional links, update sync database, maintain cross-references, enable navigation
  6. Validation & Confirmation - Verify conversion accuracy, confirm field mappings, validate relationships, provide preview

Advanced Features: Smart priority inference, intelligent user mapping, attachment handling, comment threading, comprehensive validation.

Data Fidelity: Preserve original formatting, maintain all metadata, keep comment attribution, ensure relationship integrity.

Output: Successfully converted Linear task with complete data preservation, accurate field mappings, bidirectional references, and comprehensive conversion summary.