name: convex-development-general description: Applies general rules for Convex development, emphasizing schema design, validator usage, and correct handling of system fields. version: 1.0.0 model: sonnet invoked_by: both user_invocable: true tools: [Read, Write, Edit] globs: /convex//. best_practices: - Follow the guidelines consistently - Apply rules during code review - Use as reference when writing new code error_handling: graceful streaming: supported
Convex Development General Skill
- When working with Convex, prioritize correct schema definition using the
vvalidator. - Be aware of the automatically-generated system fields
_idand_creationTime. - See https://docs.convex.dev/database/types for available types.
Memory Protocol (MANDATORY)
Before starting:
cat .claude/context/memory/learnings.md
After completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.