# Convex Suggest > Sugiere el componente Convex adecuado cuando el código del usuario reinventa algo que ya resuelve (crons, sharded-counter, rate-limiter, storage, search, presence, workflow, RAG, prosemirror-sync). Pasivo, nunca instala sin consentimiento. Fuente: https://skillsagentes.com/skills/get-convex/agent-skills/convex-suggest Markdown: https://skillsagentes.com/skills/get-convex/agent-skills/convex-suggest.md Repositorio: https://github.com/get-convex/agent-skills Autor: get-convex Licencia: Apache-2.0 Actualizado: el mes pasado Coste de contexto: 69 tok instalada, 635 tok al activarse, 635 tok con todos los archivos del bundle Bundle: 1 archivo, 2 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add get-convex/agent-skills --skill convex-suggest --agent claude-code # Cursor npx -y skills add get-convex/agent-skills --skill convex-suggest --agent cursor # Codex npx -y skills add get-convex/agent-skills --skill convex-suggest --agent codex # Gemini CLI npx -y skills add get-convex/agent-skills --skill convex-suggest --agent gemini # Windsurf npx -y skills add get-convex/agent-skills --skill convex-suggest --agent windsurf # Cline npx -y skills add get-convex/agent-skills --skill convex-suggest --agent cline ``` ## Qué hace - Detecta código o peticiones que duplican lo que un componente de Convex ya resuelve - Sugiere UN solo componente, cita el código o frase que lo activó y explica por qué encaja mejor - Espera consentimiento explícito antes de ejecutar `/add ` - Descarta la sugerencia si el usuario dice que no y no la repite ## Cuándo usarla - El usuario escribe patrones como setInterval/cron, contadores compartidos, .collect().length, rate-limiting en DB, presence/typing, o sube archivos a S3 - Se detecta uso de Elasticsearch/Algolia, Pinecone/vector DB externo, o edición colaborativa que un componente Convex ya cubre ## Cuándo no - Preguntas de programación genéricas sin relación con Convex (ordenar arrays, escribir CSS) - El usuario ya tiene instalado el componente en cuestión ## Qué la activa - "Aquí tienes mi mutation que incrementa post.likes cada vez que alguien da like" - "Necesito subir archivos a S3 desde una action de Convex" - "Quiero implementar un cron con setInterval en mi backend" ## Archivos - SKILL.md — 2 KB ## SKILL.md Reproducido tal cual desde get-convex/agent-skills bajo Apache-2.0. Esta sección es el documento original y está en inglés. # Proactively suggest the right Convex component When you see code or intent that duplicates what a Convex component already does, surface a targeted suggestion: ONE component, WHY (anchored in the user's own code or ask), and a concrete install hint. Never install without explicit consent. Never suggest more than one component at a time unless the user asks. ## Workflow 1. Observe the codeSnippets and userAsk passively — never block the current task to suggest. 2. Match against the detector rules (see generators/suggest-detector.mjs): email/SMTP → resend; push notifications → expo-push; setInterval/cron → @convex-dev/crons; shared counter increments → @convex-dev/sharded-counter; .collect().length scans → @convex-dev/aggregate; multi-step/long-running actions → @convex-dev/workflow; bounded concurrency → @convex-dev/workpool; rate-limit counters in DB → @convex-dev/rate-limiter; fs.write/S3 uploads → Convex Storage; Elasticsearch/Algolia → built-in full-text search; presence/typing → @convex-dev/presence; Pinecone/external vector DB → @convex-dev/rag; collaborative editing → @convex-dev/prosemirror-sync. 3. After finishing the current task, offer ONE suggestion: name the component, quote the specific code or phrase that triggered it, explain why the component fits better. 4. If the user says yes: run `/add ` or follow the installHint from the detector. 5. If the user says no or ignores it: drop it. Do not repeat the same suggestion. ## Rules - Passive — never interrupt the current task; surface the suggestion AFTER completing what the user asked. - One at a time — pick the highest-priority match; do not dump a list of five components. - Cite WHY from the user's own code or ask — 'I noticed you wrote `post.likes + 1` in a mutation that many users call concurrently; that causes OCC conflicts at scale.' - Never install without explicit consent — suggest, explain, wait for a yes. - Do not suggest a component the user has already installed. - Do not fire on generic coding questions unrelated to Convex (sorting arrays, writing CSS, etc.). ## Dónde encaja - Categoría: [Bases de datos](https://skillsagentes.com/categorias/bases-de-datos.md) — Diseño de esquemas, migraciones y optimización de consultas. - Creador: [get-convex](https://skillsagentes.com/creators/get-convex.md) — 33 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Otras skills del mismo repositorio - [Convex Quickstart](https://skillsagentes.com/skills/get-convex/agent-skills/convex-quickstart.md): Levanta un template Next.js + Convex barebones a partir de una idea en una frase. - [Convex Design](https://skillsagentes.com/skills/get-convex/agent-skills/convex-design.md): Diseña y construye backends reactivos y type-safe de nivel producción en Convex: schema, queries/mutations/actions, índices, auth, storage, scheduling, multiplayer en tiempo real y workflows LLM/agentes. - [Convex Authz](https://skillsagentes.com/skills/get-convex/agent-skills/convex-authz.md): Audita y refuerza la autorización de una app Convex: impersonación por identity-from-arg, checks de ownership por documento faltantes, queries públicas que filtran datos por un id del cliente y escrituras en un contenedor ajeno. - [Convex Expert](https://skillsagentes.com/skills/get-convex/agent-skills/convex-expert.md): Especialista en el backend de Convex: código dentro de convex/ (funciones, schemas, índices, queries, mutations, actions, endpoints HTTP, cron jobs, storage, auth y componentes). - [Convex Agent](https://skillsagentes.com/skills/get-convex/agent-skills/convex-agent.md): Añade un backend de agente de IA / RAG (@convex-dev/agent) a la app Convex. --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)