/ Verzeichnis / Playground / convexskills
● Community waynesutton ⚡ Sofort

convexskills

von 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.

Warum nutzen

Hauptfunktionen

Live-Demo

In der Praxis

convexskills-skill.replay ▶ bereit
0/0

Installieren

Wählen Sie Ihren Client

~/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
    }
  }
}

Öffne Claude Desktop → Settings → Developer → Edit Config. Nach dem Speichern neu starten.

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

Cursor nutzt das gleiche mcpServers-Schema wie Claude Desktop. Projektkonfiguration schlägt die globale.

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

Klicken Sie auf das MCP-Servers-Symbol in der Cline-Seitenleiste, dann "Edit Configuration".

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

Gleiche Struktur wie Claude Desktop. Windsurf neu starten zum Übernehmen.

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

Continue nutzt ein Array von Serverobjekten statt einer Map.

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

In context_servers hinzufügen. Zed lädt beim Speichern neu.

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

Einzeiler. Prüfen mit claude mcp list. Entfernen mit claude mcp remove.

Anwendungsfälle

Praxisnahe Nutzung: convexskills

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

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

Wann einsetzen: You're starting fresh and want correct Convex patterns from file one.

Voraussetzungen
  • Convex CLI — npm create convex
Ablauf
  1. Design the schema
    Use the convex-schema-validator skill. Design tables for users, projects, and files with proper indices.✓ Kopiert
    → Schema uses v.id(), indices declared, relationships correct
  2. Wire queries and mutations
    Use the convex-functions skill. Implement CRUD for projects.✓ Kopiert
    → 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.✓ Kopiert
    → React subscribes via useQuery, files stored via storage.generateUploadUrl

Ergebnis: A correctly-structured Convex app you can build on.

Fallstricke
  • 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

Wann einsetzen: You need a scheduled task without spinning up a worker.

Ablauf
  1. Use the cron skill
    Use convex-cron-jobs. Add a daily job that deletes rows older than 30 days from table sessions.✓ Kopiert
    → crons.ts entry + internal mutation for the cleanup
  2. Test
    Give me a way to trigger this manually for testing.✓ Kopiert
    → Dev-only HTTP action or CLI recipe

Ergebnis: A cron running on Convex's managed scheduler.

Fallstricke
  • 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

Wann einsetzen: Your app is ready but you haven't pressure-tested auth.

Ablauf
  1. Run the audit
    Use convex-security-audit on this repo. Check every public mutation for proper auth.✓ Kopiert
    → Per-function auth posture with severity
  2. Fix
    Apply the fixes with identity checks and fallback to return null for unauthorized reads.✓ Kopiert
    → Functions updated with ctx.auth checks

Ergebnis: Auth tightened before production.

Fallstricke
  • Relying on 'public=unauthenticated' mental model — Convex public functions are INTERNET-reachable; skill insists on auth checks
Kombinieren mit: github

Kombinationen

Mit anderen MCPs für 10-fache Wirkung

convexskills-skill + github

Skill designs + implements; GitHub MCP opens the PR

Use convexskills to build the feature, then open a PR with the changes.✓ Kopiert
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.✓ Kopiert

Werkzeuge

Was dieses MCP bereitstellt

WerkzeugEingabenWann aufrufenKosten
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

Kosten & Limits

Was der Betrieb kostet

API-Kontingent
None for the skill; Convex has its own free + paid tiers
Tokens pro Aufruf
2-6k per skill loaded
Kosten in €
Free — skill is local. Convex has a generous free tier.
Tipp
Name the specific skill (e.g. convex-cron-jobs) to avoid loading the full set.

Sicherheit

Rechte, Secrets, Reichweite

Credential-Speicherung: No credentials in the skill. Convex deploy keys stay in your .env.
Datenabfluss: None from the skill itself

Fehlerbehebung

Häufige Fehler und Lösungen

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.

Alternativen

convexskills vs. andere

AlternativeWann stattdessenKompromiss
Manual Convex docs + examplesYou're already an experienced Convex devSlower onboarding without the skill
Framework-specific fullstack skillsYou're not on ConvexDifferent stack

Mehr

Ressourcen

📖 Offizielle README auf GitHub lesen

🐙 Offene Issues ansehen

🔍 Alle 400+ MCP-Server und Skills durchsuchen