/ Каталог / Песочница / convexskills
● Сообщество waynesutton ⚡ Сразу

convexskills

автор waynesutton · waynesutton/convexskills

12 Convex-specific skills covering functions, schema, realtime, cron, HTTP actions, file storage, agents, security audits, and migrations.

A focused skill collection for building on Convex. Each SKILL.md (valid Agent Skill frontmatter + examples + best practices) teaches Claude idiomatic Convex patterns: queries vs mutations vs actions, reactive realtime, cron jobs, HTTP webhooks, schema validators, migrations, and security auditing. Claude stops inventing Convex APIs.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

convexskills-skill.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "convexskills-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/waynesutton/convexskills",
        "~/.claude/skills/convexskills"
      ],
      "_inferred": true
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "convexskills-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/waynesutton/convexskills",
        "~/.claude/skills/convexskills"
      ],
      "_inferred": true
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "convexskills-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/waynesutton/convexskills",
        "~/.claude/skills/convexskills"
      ],
      "_inferred": true
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "convexskills-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/waynesutton/convexskills",
        "~/.claude/skills/convexskills"
      ],
      "_inferred": true
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "convexskills-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/waynesutton/convexskills",
        "~/.claude/skills/convexskills"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "convexskills-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/waynesutton/convexskills",
          "~/.claude/skills/convexskills"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add convexskills-skill -- git clone https://github.com/waynesutton/convexskills ~/.claude/skills/convexskills

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: convexskills

Scaffold a new Convex app with realtime + auth + file uploads

👤 Full-stack devs starting a new Convex project ⏱ ~90 min intermediate

Когда использовать: You're starting fresh and want correct Convex patterns from file one.

Предварительные требования
  • Convex CLI — npm create convex
Поток
  1. Design the schema
    Use the convex-schema-validator skill. Design tables for users, projects, and files with proper indices.✓ Скопировано
    → Schema uses v.id(), indices declared, relationships correct
  2. Wire queries and mutations
    Use the convex-functions skill. Implement CRUD for projects.✓ Скопировано
    → Query for reads, mutation for writes, no action misuse
  3. Add realtime + file uploads
    Use convex-realtime and convex-file-storage to make projects live-update with file attachments.✓ Скопировано
    → React subscribes via useQuery, files stored via storage.generateUploadUrl

Итог: A correctly-structured Convex app you can build on.

Подводные камни
  • Using actions where mutations suffice — Skill enforces: mutations for DB writes, actions for external I/O

Add a daily cron job that cleans up stale rows

👤 Convex devs adding background maintenance ⏱ ~20 min beginner

Когда использовать: You need a scheduled task without spinning up a worker.

Поток
  1. Use the cron skill
    Use convex-cron-jobs. Add a daily job that deletes rows older than 30 days from table sessions.✓ Скопировано
    → crons.ts entry + internal mutation for the cleanup
  2. Test
    Give me a way to trigger this manually for testing.✓ Скопировано
    → Dev-only HTTP action or CLI recipe

Итог: A cron running on Convex's managed scheduler.

Подводные камни
  • Cron runs a query instead of internal mutation — Skill enforces internal mutation for deletes

Audit a Convex app for authorization holes

👤 Devs before a production launch ⏱ ~45 min advanced

Когда использовать: Your app is ready but you haven't pressure-tested auth.

Поток
  1. Run the audit
    Use convex-security-audit on this repo. Check every public mutation for proper auth.✓ Скопировано
    → Per-function auth posture with severity
  2. Fix
    Apply the fixes with identity checks and fallback to return null for unauthorized reads.✓ Скопировано
    → Functions updated with ctx.auth checks

Итог: Auth tightened before production.

Подводные камни
  • Relying on 'public=unauthenticated' mental model — Convex public functions are INTERNET-reachable; skill insists on auth checks
Сочетать с: github

Комбинации

Сочетайте с другими MCP — эффект x10

convexskills-skill + github

Skill designs + implements; GitHub MCP opens the PR

Use convexskills to build the feature, then open a PR with the changes.✓ Скопировано
convexskills-skill + playwright-skill

Build Convex backend, then Playwright tests the UI end-to-end

Implement the Convex backend, then write a playwright-skill test that hits the UI and verifies realtime updates.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
convex-functions function need Any function work 0
convex-schema-validator data model Designing or changing tables 0
convex-realtime UI use case Adding reactive UI 0
convex-cron-jobs scheduled task Periodic background work 0
convex-migrations schema change Evolving an existing schema 0
convex-security-audit repo Pre-production review 0

Стоимость и лимиты

Во что обходится

Квота API
None for the skill; Convex has its own free + paid tiers
Токенов на вызов
2-6k per skill loaded
Деньги
Free — skill is local. Convex has a generous free tier.
Совет
Name the specific skill (e.g. convex-cron-jobs) to avoid loading the full set.

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: No credentials in the skill. Convex deploy keys stay in your .env.
Исходящий трафик: None from the skill itself

Устранение неполадок

Частые ошибки и исправления

Claude writes an action when a mutation suffices

Rule of thumb the skill enforces: DB-only → mutation; external I/O → action.

Schema change breaks existing data

Use convex-migrations skill — it plans safe transitions with backfill.

useQuery doesn't update in realtime

Check reactivity: the query must read the data that changed, not a stale index.

Альтернативы

convexskills в сравнении

АльтернативаКогда использоватьКомпромисс
Manual Convex docs + examplesYou're already an experienced Convex devSlower onboarding without the skill
Framework-specific fullstack skillsYou're not on ConvexDifferent stack

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills