Files
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: [import-scope] | --state | --label | --milestone | --batch-size description: Bulk import GitHub issues to Linear with comprehensive progress tracking and error handling

Bulk Import Issues

Bulk import GitHub issues to Linear with advanced processing capabilities: $ARGUMENTS

Current Import Context

  • Repository: !gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || echo "No repo context"
  • Issue count: !gh api repos/{owner}/{repo}/issues?state=all --paginate | jq length 2>/dev/null || echo "Check manually"
  • Linear teams: Check available Linear teams and projects for import mapping
  • Rate limits: !gh api rate_limit -q '.rate | "GitHub: \(.remaining)/\(.limit)"' 2>/dev/null || echo "Check GitHub rate limit"

Task

Execute efficient bulk import of GitHub issues to Linear with comprehensive management:

Import Scope: Use $ARGUMENTS to filter by state, labels, milestones, or configure batch processing parameters

Import Pipeline:

  1. Pre-Import Analysis - Issue discovery, duplicate detection, import estimation, resource planning
  2. Batch Configuration - Dynamic batch sizing, rate limit management, progress tracking, error handling
  3. Data Transformation - Field mapping, priority inference, user mapping, content enhancement
  4. Import Execution - Parallel processing, retry logic, transaction management, progress reporting
  5. Error Recovery - Failed item handling, retry mechanisms, partial import recovery, validation
  6. Post-Import Actions - Cross-reference creation, GitHub updates, mapping files, notifications

Advanced Features: Dynamic batch adjustment, intelligent rate limiting, duplicate detection, comprehensive error recovery, progress visualization.

Quality Assurance: Pre-import validation, post-import verification, data integrity checks, comprehensive audit trails.

Output: Complete import results with success metrics, failed item reports, mapping documentation, and performance analytics for large-scale issue migration.