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: [action] | detect | resolve | analyze | configure | report\ndescription: Resolve synchronization conflicts with intelligent strategies and automated resolution\n---\n\n# Sync Conflict Resolver\n\nResolve synchronization conflicts with intelligent automation: **$ARGUMENTS**\n\n## Current Conflict State\n\n- Sync database: @.sync-state.json or sync state files with potential conflicts\n- Conflict history: !`find . -name \"*conflict*\" -o -name \"*sync-errors*\" | wc -l` conflict logs\n- Resolution rules: @conflict-rules.json or existing resolution configuration\n- Active conflicts: Current unresolved synchronization conflicts requiring attention\n\n## Task\n\nImplement comprehensive conflict resolution with intelligent automation:\n\n**Resolution Action**: Use $ARGUMENTS to specify detect conflicts, resolve using strategies, analyze patterns, configure rules, or generate reports\n\n**Conflict Resolution Framework**:\n1. **Conflict Detection** - Scan synchronized items, compare field versions, identify timing conflicts, flag structural issues\n2. **Intelligent Resolution** - Apply resolution strategies, handle field merging, preserve critical data, maintain relationships\n3. **Pattern Analysis** - Study conflict trends, identify frequent issues, suggest process improvements, optimize strategies\n4. **Configuration Management** - Set resolution preferences, define field priorities, configure merge rules, save automation settings\n5. **Reporting & Analytics** - Generate conflict reports, track resolution success, analyze team patterns, provide insights\n6. **Automated Prevention** - Implement locking mechanisms, optimize sync timing, enable change notifications, reduce conflicts\n\n**Resolution Strategies**: Latest-wins, smart field-level merging, manual interactive resolution, system-priority resolution, custom rule-based resolution.\n\n**Quality Assurance**: Backup before resolution, validation after changes, rollback capabilities, comprehensive audit trails.\n\n**Output**: Resolved conflicts with detailed resolution reports, updated sync state, pattern analysis insights, and optimized conflict prevention strategies."} |