ashish7802/awesome-api-skills/convex
Claude Code and agent skill by ashish7802/awesome-api-skills
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install ashish7802/awesome-api-skills/convexSKILL.md
The same SKILL.md was published earlier as ashish7802/awesome-api-skills/convex.
Convex API Skill
Quick Start
Convex manages your database, server functions, and client state. You write server functions in TypeScript, and Convex automatically syncs the results to your React frontend via WebSockets.
Common Workflows
Realtime Queries
Write a query function in your convex/ folder. In your React component, use useQuery(api.messages.list). Convex handles the WebSocket subscription; if the database changes, the React component automatically re-renders.
Production Patterns
Mutations and Actions
Use mutation functions for deterministic database writes. Use action functions (which can call third-party APIs like OpenAI or Stripe) for non-deterministic side effects. Actions can subsequently call mutations to update the database.
Error Recovery
Convex automatically retries deterministic queries and mutations if they fail due to transient database locks. Actions are NOT retried automatically; handle HTTP failures explicitly within your action code.
Security Notes
Enforce authorization directly within your Convex query and mutation functions by verifying the ctx.auth object before reading or writing data.
Performance Considerations
Because queries are strictly deterministic, Convex caches their results transparently. Avoid fetching massive data sets; utilize pagination patterns or explicit limit clauses.
Testing Guidance
Use the convex-test library to write unit tests for your backend functions, passing in mock authentication states to verify your row-level security logic.
Troubleshooting
If a mutation throws a non-deterministic error (e.g., Math.random() or fetch()), Convex will reject it. Move side-effects into action functions.
References
Related Skills
Why use this skill
Use this when your agent works with convex — structured patterns beat pasted docs and prevent common hallucinations.
AI pitfalls
- Inventing column names or schema fields
- Using deprecated driver methods or wrong connection strings
- Omitting connection pooling or transaction boundaries
Production checklist
- [ ] Migrations version-controlled and applied via CI
- [ ] Connection limits and pooling configured
- [ ] Backups and restore procedure documented
Related skills
Last Verified: 2026-07-02
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/convex/SKILL.md
Popularity
- Repository stars
- 13
- Repository forks
- 6
- 7-day trend score
- 13
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ashish7802/awesome-api-skills/convex)