---
stable_id: skills/skills-sh-waynesutton-convexskills-convex-functions
type: skills
title: skills-sh-waynesutton-convexskills-convex-functions
summary: >-
  ---

  name: convex-best-practices

  description: Guidelines for building production-ready Convex apps covering
  function organization, query patterns, validation, TypeScript usage, error
  handling, and the Zen of Convex design philosophy

  ---

  # Convex Best Practices

  Build production-ready Convex applications by following established patterns
  for function organization, query optimization, validation, TypeScript usage,
  and error handling.

  ## Code Quality

  All patterns in this skill comply with `@convex-dev/eslint-plugin`. Install it
  for build-time validation:

  ```bash

  npm i @convex-dev/eslint-plugin --save-dev
tags:
  - skills-sh
  - skills-sh-all-time
source_url: https://raw.githubusercontent.com/waynesutton/convexskills/HEAD/skills/convex-best-practices/SKILL.md
license: ""
upstream_ref: https://skills.sh/waynesutton/convexskills/convex-functions
github_stars: 335
github_forks: 27
github_is_organization: false
retrieved_at: 2026-06-11T08:32:53.036Z
content_sha256: 20e2298b8ebeca51e189394ec924756dfaef5fa70170ff7fd2fbdb5177718fcd
---
