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.2 KiB
JSON
1 line
2.2 KiB
JSON
{"content": "---\nallowed-tools: Read, Write, Edit, Bash\nargument-hint: [setup-mode] | --full | --webhooks-only | --monitoring | --deploy-target\ndescription: Setup comprehensive automated synchronization workflows with monitoring and CI/CD integration\n---\n\n# Sync Automation Setup\n\nSetup comprehensive automated synchronization workflows: **$ARGUMENTS**\n\n## Current Infrastructure State\n\n- GitHub CLI: !`gh --version 2>/dev/null && echo \"✓ Available\" || echo \"⚠ Not available\"`\n- Linear MCP: Check Linear MCP server availability and configuration\n- Infrastructure: Docker, webhook endpoints, database connectivity, queue services\n- CI/CD: !`find . -name \".github\" -o -name \".gitlab-ci.yml\" -o -name \"azure-pipelines.yml\" | wc -l` existing workflows\n\n## Task\n\nConfigure production-ready automated synchronization with comprehensive infrastructure:\n\n**Setup Mode**: Use $ARGUMENTS to specify full automation, webhooks-only, monitoring setup, or deployment target\n\n**Automation Framework**:\n1. **Prerequisites Setup** - Validate GitHub/Linear access, check infrastructure requirements, configure authentication, test connectivity\n2. **Webhook Configuration** - Setup GitHub/Linear webhooks, configure endpoints, implement security, test delivery\n3. **CI/CD Integration** - Create GitHub Actions workflows, setup scheduled syncs, implement event handling, configure deployments\n4. **Sync Server Deployment** - Configure sync engine, setup queue management, implement error handling, enable monitoring\n5. **Database & State Management** - Initialize sync databases, setup schema, configure backups, implement state tracking\n6. **Monitoring & Alerting** - Configure dashboards, setup alerts, implement health checks, enable notifications\n\n**Advanced Features**: Real-time webhook processing, intelligent conflict resolution, comprehensive monitoring, scalable infrastructure.\n\n**Production Ready**: High availability setup, comprehensive error handling, performance monitoring, security implementation, automated backups.\n\n**Output**: Complete automation infrastructure with webhook integration, CI/CD workflows, monitoring dashboards, and production deployment capabilities."} |