mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
41cbbea00c
- 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>
1 line
2.1 KiB
JSON
1 line
2.1 KiB
JSON
{"content": "---\nallowed-tools: Read, Write, Edit, Bash\nargument-hint: [pr-number] | --team | --estimate | --batch-process | --auto-create\ndescription: Create Linear tasks from GitHub pull requests with intelligent content extraction and task sizing\n---\n\n# Task from PR\n\nCreate Linear tasks from GitHub pull requests with intelligent analysis: **$ARGUMENTS**\n\n## Current PR Environment\n\n- Repository: !`gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || echo \"No repo context\"`\n- PR status: Based on $ARGUMENTS PR number or batch processing criteria\n- Linear teams: Available teams for task assignment\n- User mappings: GitHub username to Linear user correspondence\n\n## Task\n\nGenerate Linear tasks from GitHub pull requests with comprehensive content analysis:\n\n**PR Source**: Use $ARGUMENTS to specify PR number, team assignment, size estimation, or batch processing mode\n\n**Task Generation Framework**:\n1. **PR Analysis** - Extract comprehensive PR data, parse description structure, identify key components, analyze changes\n2. **Content Extraction** - Parse structured sections, extract checklists, identify technical details, capture requirements\n3. **Intelligent Sizing** - Estimate task complexity from code changes, file count, review comments, testing requirements\n4. **Task Construction** - Build Linear task with proper formatting, preserve PR context, maintain references, structure content\n5. **Team Assignment** - Map to appropriate Linear team, assign based on code areas, set priorities from labels\n6. **Validation & Creation** - Check for duplicates, validate task structure, create in Linear, establish bidirectional links\n\n**Advanced Features**: Smart content parsing, automated size estimation, intelligent team mapping, comprehensive validation, batch processing.\n\n**Quality Assurance**: Duplicate detection, content validation, proper formatting, relationship maintenance, comprehensive error handling.\n\n**Output**: Successfully created Linear tasks with comprehensive PR context, accurate sizing estimates, proper team assignments, and complete bidirectional linking."} |