davenov:cc:expert-convex-nextjs
1
总安装量
1
周安装量
#54918
全站排名
安装命令
npx skills add https://github.com/kaladivo/davenov-cc-collection --skill davenov:cc:expert-convex-nextjs
Agent 安装分布
amp
1
opencode
1
cursor
1
codex
1
github-copilot
1
Skill 文档
<quick_start> Route based on user’s stated need:
- Schema/database work: Apply validator patterns and index design from references/schema-design.md
- Function authoring: Use new syntax with args/returns validators from references/function-patterns.md
- Authentication: Implement proxy.ts routing pattern from references/ssr-auth.md
- Server rendering: Use preloadQuery + usePreloadedQuery from references/ssr-auth.md
- Debugging: Check error table and verification checklist from references/debugging.md
If user’s need is ambiguous, present intake menu to clarify scope. </quick_start>
<core_workflow>
- Set up a new Convex + Next.js project
- Add/modify Convex functions (queries, mutations, actions)
- Design or update the database schema
- Implement authentication with Convex Auth
- Add server rendering with preloadQuery
- Debug an issue
- Something else
Wait for response before proceeding.
</core_workflow>
<success_criteria> Task is complete when:
- Schema compiles without errors (
npx convex devshows no TypeScript errors) - All functions have explicit
argsandreturnsvalidators - All queries use
.withIndex()with corresponding schema indexes (no.filter()) - Document IDs use
Id<"tableName">type, not string - Authentication flow works correctly (proxy.ts routing, ConvexAuthNextjsProvider setup)
- preloadQuery successfully eliminates loading spinners on server-rendered pages
- User can run verification checklist without failures </success_criteria>