Communityコーディング&開発github.com

waynesutton/convex-functions

クエリ、ミューテーション、アクション、HTTPアクションを、適切な引数検証、エラーハンドリング、内部関数、ランタイムの考慮事項とともに記述します

convex-functions とは?

このスキルは、Convexプラットフォーム上でサーバーサイド関数(クエリ、ミューテーション、アクション、HTTPアクション)を適切に設計・実装するための包括的なガイドです。主な目的は、引数検証(バリデーション)、エラーハンドリング、内部関数の活用、そしてランタイム制約の考慮を通じて、堅牢で保守しやすいバックエンドコードを書くことを支援します。ConvexはTypeScriptベースのリアクティブなバックエンドを提供し、このスキルはその上で安全で効率的な関数を実装する際のベストプラクティスを示します。開発者はここで学んだパターンを用いて、データ操作におけるエラーを未然に防ぎ、パフォーマンスを最適化し、コードの再利用性を高めることができます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/waynesutton/convexskills/tree/main/skills/convex-functions

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

convex-functions は何をしますか?

クエリ、ミューテーション、アクション、HTTPアクションを、適切な引数検証、エラーハンドリング、内部関数、ランタイムの考慮事項とともに記述します。

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

waynesutton/avoid-feature-creep

Prevent feature creep when building software, apps, and AI-powered products. Use this skill when planning features, reviewing scope, building MVPs, managing backlogs, or when a user says "just one more feature." Helps developers and AI agents stay focused, ship faster, and avoid bloated products.

waynesutton/convex

Umbrella skill for all Convex development patterns. Routes to specific skills like convex-functions, convex-realtime, convex-agents, etc.

waynesutton/convex-agents

Building AI agents with the Convex Agent component including thread management, tool integration, streaming responses, RAG patterns, and workflow orchestration

waynesutton/convex-best-practices

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

waynesutton/convex-component-authoring

How to create, structure, and publish self-contained Convex components with proper isolation, exports, and dependency management

waynesutton/convex-cron-jobs

Scheduled function patterns for background tasks including interval scheduling, cron expressions, job monitoring, retry strategies, and best practices for long-running tasks

waynesutton/convex-file-storage

Complete file handling including upload flows, serving files via URL, storing generated files from actions, deletion, and accessing file metadata from system tables

waynesutton/convex-http-actions

External API integration and webhook handling including HTTP endpoint routing, request/response handling, authentication, CORS configuration, and webhook signature validation

waynesutton/convex-migrations

Schema migration strategies for evolving applications including adding new fields, backfilling data, removing deprecated fields, index migrations, and zero-downtime migration patterns

waynesutton/convex-realtime

Patterns for building reactive apps including subscription management, optimistic updates, cache behavior, and paginated queries with cursor-based loading

waynesutton/convex-schema-validator

Defining and validating database schemas with proper typing, index configuration, optional fields, unions, and migration strategies for schema changes

waynesutton/convex-security-audit

Deep security review patterns for authorization logic, data access boundaries, action isolation, rate limiting, and protecting sensitive operations

waynesutton/convex-security-check

Quick security audit checklist covering authentication, function exposure, argument validation, row-level access control, and environment variable handling

関連スキル