Files
davila7__claude-code-templates/cli-tool/components/commands/sync/cross-reference-manager.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: [action] | audit | repair | map | validate | export description: Manage cross-platform reference links between GitHub and Linear with integrity checking

Cross-Reference Manager

Manage comprehensive cross-platform reference links with integrity validation: $ARGUMENTS

Current Reference State

  • GitHub CLI: !gh --version 2>/dev/null && echo "✓ Available" || echo "⚠ Not available"
  • Linear MCP: Check Linear MCP server connectivity and authentication
  • Reference database: @.reference-mappings.json or reference state files
  • Link integrity: !find . -name "*sync*" -o -name "*reference*" | wc -l mapping files found

Task

Implement comprehensive cross-reference management for GitHub-Linear integration:

Management Action: Use $ARGUMENTS to specify audit, repair, mapping, validation, or export operations

Reference Management Framework:

  1. Reference Database - Initialize mapping storage, track bidirectional links, maintain sync history
  2. Integrity Auditing - Scan cross-references, identify orphaned links, detect mismatches, validate consistency
  3. Smart Repair - Fix broken references, update outdated links, consolidate duplicates, remove invalid entries
  4. Mapping Visualization - Display reference networks, show connection health, highlight problems, provide statistics
  5. Deep Validation - Verify link functionality, test bidirectional navigation, check field consistency, ensure data integrity
  6. Export & Documentation - Generate mapping reports, create backup files, provide import instructions, maintain audit trails

Advanced Features: Automated orphan detection, intelligent reference reconstruction, duplicate consolidation, comprehensive validation.

Data Protection: Backup before modifications, transaction-based operations, rollback capabilities, comprehensive logging.

Output: Complete reference management system with integrity reports, repair summaries, mapping visualizations, and comprehensive cross-platform link maintenance.