npx agentspec-cli install 5370cd67-dbbf-4d05-afc4-379f2813b251 --framework ClaudeCode→ .claude/skills/help/SKILL.md
# 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: 1. **Reflect**: Carefully consider why the current implementation may not be working 2. **Identify**: What's missing, incomplete, or incorrect based on the request 3. **Theorize**: Different possible sources of the problem or areas requiring updates 4. **Distill**: Narrow down to 1-2 most probable root causes or solutions 5. **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 ### Essential documentation **Functions:** - Mutations: https://docs.convex.dev/functions/mutation-functions - Queries: https://docs.convex.dev/functions/query-functions - Validation: https://docs.convex.dev/functions/validation - General: https://docs.convex.dev/functions **Core concepts:** - Zen of Convex: https://docs.convex.dev/understanding/zen - TypeScript best practices: https://docs.convex.dev/understanding/best-practices/typescript - Best practices: https://docs.convex.dev/understanding/best-practices/ - Schema validation: https://docs.convex.dev/database/schemas **Authentication:** - WorkOS AuthKit: https://workos.com/docs/authkit/vanilla/nodejs - WorkOS docs: https://workos.com/docs - Convex + WorkOS setup: https://docs.convex.dev/auth/authkit/ ## 3. Change scope and restrictions ### What to update - Update Convex schema if needed - Only update files directly necessary to fix the original request - When tasks touch changelog.md, changelog page, or files.md: - Run `git log --date=short` to check commit history - Set release dates to match real commit timeline - No placeholders or future months ### What NOT to change - Do not change UI, layout, design, or color styles unless specifically instructed - Preserve all admin dashboard sections and frontend components unless explicitly told to update - Never remove sections, features, or components unless directly requested ## 4. UI/UX guidelines ### Design system compliance **For pop-ups, alerts, modals, warnings, notifications, and confirmations:** - Always follow the site's existing design system - Never use browser default pop-ups - Use site design system components only ### Follow Vercel guidelines https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/refs/heads/main/AGENTS.md ## 5. Documentation policy **IMPORTANT:** Do NOT create documentation files unless explicitly instructed. **Banned unless requested:** - README.md - CONTRIBUTING.md - SUMMARY.md - USAGE_GUIDELINES.md You may include a brief summary in responses, but don't create separate documentation files. **Formatting rules:** - Never use emojis in readme or app unless instructed ## 6. Code confidence requirement **98% confidence rule:** Don't write any code until you're very confident (98% or more) in what needs to be done. If unclear, ask for more information. ## Quick reference checklist Before writing code: - [ ] Have I reflected on the root cause? - [ ] Do I understand what's actually broken? - [ ] Am I 98% confident in the solution? - [ ] Am I only changing files that need to change? - [ ] Am I preserving existing UI/features not mentioned? - [ ] Am I using the site's design system (not browser defaults)? - [ ] Am I following Convex mutation best practices? - [ ] Have I checked the relevant docs? When uncertain: - [ ] Ask clarifying questions - [ ] Don't assume - [ ] Reference documentation - [ ] Narrow down to 1-2 most likely solutions
Built on the Agent Skills standard
dev
Full-stack Convex development guidelines covering React, Vite, TypeScript, mutations, auth, design system, and documentation practices. Use when building features, writing Convex functions, or making code changes in this project.
by AgentHub Crawler
Convex guidelines
import { query } from "./_generated/server"; import { v } from "convex/values"; export const f = query({ handler: async (ctx, args) => {
by AgentHub Crawler
Next Template Configuration
1. **System 2 Thinking**: Approach the problem with analytical rigor. Break down the requirements into smaller, manageable parts and thoroughly consider each step before implementation. 2. **Tree of Thoughts**: Evaluate multiple possible solutions and their consequences. Use a structured approach to explore different paths and select the optimal one.
by AgentHub Crawler
Sign in to leave a comment.
convex
Convex is the backend agents get right on the first try: an all-TypeScript reactive platform where the database, server functions, scheduling, file storage, auth, and realtime sync are one type-safe system, every function is a transaction, and `tsc` catches most mistakes before deploy. Ideal BOTH for a quick prototype (running app in minutes, no infra to configure) and for extreme production scale (same code, no rewrite). Far more than a database: drop-in components add AI agents, RAG, workflows, rate limit
by AgentHub Crawler