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.1 KiB
JSON

{"content": "---\nallowed-tools: Read, Write, Edit, Bash\nargument-hint: [issue-number] | --team | --project | --close-github | --skip-comments\ndescription: Convert individual GitHub issues to Linear tasks with comprehensive data preservation\n---\n\n# Issue to Linear Task\n\nConvert GitHub issues to Linear tasks with comprehensive field mapping: **$ARGUMENTS**\n\n## Current Conversion Context\n\n- Repository: !`gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || echo \"No repo context\"`\n- Issue details: Based on $ARGUMENTS issue number or selection criteria\n- Linear teams: Available Linear teams and project assignments\n- User mappings: @user-mappings.json or GitHub-Linear user correspondence\n\n## Task\n\nExecute precise conversion of individual GitHub issues to Linear tasks:\n\n**Issue Target**: Use $ARGUMENTS to specify issue number, conversion options, team assignment, or processing preferences\n\n**Conversion Framework**:\n1. **Issue Analysis** - Fetch complete issue data, extract metadata, analyze content structure, infer priorities\n2. **Data Transformation** - Map fields accurately, convert formats, preserve relationships, enhance descriptions\n3. **Linear Integration** - Create task with proper formatting, assign team/project, set priorities, manage labels\n4. **Content Migration** - Import comments with attribution, handle attachments, preserve formatting, maintain threading\n5. **Reference Management** - Create bidirectional links, update sync database, maintain cross-references, enable navigation\n6. **Validation & Confirmation** - Verify conversion accuracy, confirm field mappings, validate relationships, provide preview\n\n**Advanced Features**: Smart priority inference, intelligent user mapping, attachment handling, comment threading, comprehensive validation.\n\n**Data Fidelity**: Preserve original formatting, maintain all metadata, keep comment attribution, ensure relationship integrity.\n\n**Output**: Successfully converted Linear task with complete data preservation, accurate field mappings, bidirectional references, and comprehensive conversion summary."}