waynesutton

Convex — Development skill for Claude Code

Development community

Convex patterns and conventions for this markdown-blog project.

How to install Convex

Installs to ~/.claude/skills/waynesutton-markdown-site-convex/SKILL.md

Terminal
mkdir -p ~/.claude/skills/waynesutton-markdown-site-convex && curl -fsSL https://raw.githubusercontent.com/waynesutton/markdown-site/HEAD/.claude/skills/convex.md -o ~/.claude/skills/waynesutton-markdown-site-convex/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Convex does

Convex skill

Convex patterns and conventions for this markdown-blog project.

Function structure

Every Convex function needs argument and return validators:

import { query } from "./_generated/server";
import { v } from "convex/values";

export const myQuery = query({
  args: { slug: v.string() },
  returns: v.union(v.object({...}), v.null()),
  handler: async (ctx, args) => {
    // implementation
  },
});

If a function returns nothing, use `returns: v.null()` and `re

Alternatives in Development

Full documentation available on GitHub

View Source Repository