Files
daniel 41cbbea00c perf(dashboard): reducir payload del home 87% y restaurar caching en Cloudflare
- Split components.json: índice sin content (1.9 MB / 249 KB br vs 15.6 MB / 4.15 MB br).
  Generador produce component-content/{type}/{slug}.json por componente y auto-copia
  a dashboard/public/. Página de detalle carga contenido on-demand via fetchComponentContent().
- Restaurar cabeceras de caché y seguridad perdidas en la migración Vercel→Cloudflare:
  _headers con Cache-Control max-age=86400 para JSONs, immutable para _astro/*,
  y HSTS, X-Frame-Options, Referrer-Policy, Permissions-Policy en todas las rutas.
- Eliminar dashboard/vercel.json (config muerta desde migración a Cloudflare Pages).
- Diferir hidratación: ClerkIsland y AuthButton client:load → client:idle;
  SaveToCollectionButton → client:visible.
- Eliminar gpt-tokenizer del bundle del navegador: reemplazado por estimación chars/4.
- Actualizar .claude/rules/dashboard.md para reflejar hosting en Cloudflare Pages.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 16:58:13 -04:00

1 line
2.0 KiB
JSON

{"content": "---\nallowed-tools: Read, Write, Edit, Bash\nargument-hint: [sync-scope] | --team | --project | --priority | --states\ndescription: Sync Linear tasks to GitHub issues with state mapping and attachment handling\n---\n\n# Sync Linear to Issues\n\nSync Linear tasks to GitHub issues with comprehensive state and field mapping: **$ARGUMENTS**\n\n## Current Linear Context\n\n- Linear teams: Available teams and project assignments\n- Task count: Linear task query to determine scope\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\n## Task\n\nExecute comprehensive synchronization of Linear tasks to GitHub issues:\n\n**Sync Scope**: Use $ARGUMENTS to filter by Linear team, project, priority levels, or task states\n\n**Synchronization Framework**:\n1. **Task Discovery** - Query Linear tasks with filters, extract metadata, validate requirements, prioritize sync\n2. **State Mapping** - Transform Linear states to GitHub equivalents, handle priority conversion, map project assignments\n3. **Content Transformation** - Build GitHub issue body, preserve formatting, handle attachments, maintain structure\n4. **GitHub Integration** - Create issues with proper labels, assign users, set milestones, manage relationships\n5. **Attachment Migration** - Download Linear attachments, upload to GitHub, update references, maintain accessibility\n6. **Comment Synchronization** - Transfer comments with attribution, preserve context, handle mentions, maintain threading\n\n**Advanced Features**: Intelligent state mapping, attachment handling, comment threading, user mention translation, comprehensive validation.\n\n**Data Fidelity**: Preserve Linear formatting, maintain task relationships, keep timestamps, ensure reference integrity.\n\n**Output**: Complete synchronization results with created issues, attachment migrations, comment transfers, and comprehensive sync reporting."}