/ Annuaire / Playground / convexskills
● Communauté waynesutton ⚡ Instantané

convexskills

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

Pourquoi l'utiliser

Fonctionnalités clés

Démo en direct

Aperçu en pratique

convexskills-skill.replay ▶ prêt
0/0

Installer

Choisissez votre 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
    }
  }
}

Ouvrez Claude Desktop → Settings → Developer → Edit Config. Redémarrez après avoir enregistré.

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

Cursor utilise le même schéma mcpServers que Claude Desktop. La config projet l'emporte sur la globale.

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

Cliquez sur l'icône MCP Servers dans la barre latérale Cline, puis "Edit Configuration".

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

Même format que Claude Desktop. Redémarrez Windsurf pour appliquer.

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

Continue utilise un tableau d'objets serveur plutôt qu'une map.

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

Ajoutez dans context_servers. Zed recharge à chaud à la sauvegarde.

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

Une seule ligne. Vérifiez avec claude mcp list. Supprimez avec claude mcp remove.

Cas d'usage

Usages concrets : convexskills

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

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

Quand l'utiliser : You're starting fresh and want correct Convex patterns from file one.

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

Résultat : A correctly-structured Convex app you can build on.

Pièges
  • 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

Quand l'utiliser : You need a scheduled task without spinning up a worker.

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

Résultat : A cron running on Convex's managed scheduler.

Pièges
  • 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

Quand l'utiliser : Your app is ready but you haven't pressure-tested auth.

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

Résultat : Auth tightened before production.

Pièges
  • Relying on 'public=unauthenticated' mental model — Convex public functions are INTERNET-reachable; skill insists on auth checks
Combiner avec : github

Combinaisons

Associez-le à d'autres MCPs pour un effet 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.✓ Copié
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.✓ Copié

Outils

Ce que ce MCP expose

OutilEntréesQuand appelerCoût
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

Coût et limites

Coût d'exécution

Quota d'API
None for the skill; Convex has its own free + paid tiers
Tokens par appel
2-6k per skill loaded
Monétaire
Free — skill is local. Convex has a generous free tier.
Astuce
Name the specific skill (e.g. convex-cron-jobs) to avoid loading the full set.

Sécurité

Permissions, secrets, portée

Stockage des identifiants : No credentials in the skill. Convex deploy keys stay in your .env.
Sortie de données : None from the skill itself

Dépannage

Erreurs courantes et correctifs

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.

Alternatives

convexskills vs autres

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

Plus

Ressources

📖 Lire le README officiel sur GitHub

🐙 Voir les issues ouvertes

🔍 Parcourir les 400+ serveurs MCP et Skills