Reflection-first problem solving methodology for Convex development. Use before implementing any solution to ensure proper root cause analysis, 98% code confidence, and minimal change scope.
Installation
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Reflection-first problem solving methodology for Convex development. Use before implementing any solution to ensure proper root cause analysis, 98% code confidence, and minimal change scope.
Core Development Guidelines Skill
Deep reflection and problem-solving methodology for full-stack Convex development.
1. Reflect deeply before acting
Before implementing any solution, follow this process:
Reflect: Carefully consider why the current implementation may not be working
Identify: What's missing, incomplete, or incorrect based on the request
Theorize: Different possible sources of the problem or areas requiring updates
Distill: Narrow down to 1-2 most probable root causes or solutions
Proceed: Only move forward after clear understanding
Never assume. If anything is unclear, ask questions and clarify.
2. Convex implementation guidelines
Core principles
Direct mutation pattern:
Use direct mutation calls with plain objects
Create dedicated mutation functions that map form fields to database fields
Form field names should exactly match database field names when applicable
Best practices:
Patch directly without reading first
Use indexed queries for ownership checks (not ctx.db.get())
Make mutations idempotent with early returns
Use timestamp-based ordering for new items
Use Promise.all() for parallel independent operations to avoid write conflicts