Agent skill

convex-best-practices

General Convex implementation guidance for this repo. Use before or during schema, function, realtime, auth, or migration work.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/convex-best-practices-agentic-engineering--agentforge

Metadata

Additional technical details for this skill

author
agentforge
source
waynesutton/convexskills and get-convex/convex-agent-plugins

SKILL.md

Convex Best Practices

Use this skill as the default baseline for Convex work before switching to a narrower Convex skill.

Default guidance

  • Treat functions as the API surface.
  • Keep schema explicit and indexes intentional.
  • Validate public inputs and outputs.
  • Prefer typed helpers over repeated inline logic.
  • Use npx convex dev during development.

AgentForge-specific constraints

  • Convex is the data layer for this repo.
  • Mastra runtime logic belongs in packages/runtime/, not in Convex actions.
  • Avoid patterns that assume a standalone all-in-one Convex agent app.

References

  • Read best-practices-checklist.md.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results