Skip to main content

env

Set + wire deployment env vars / secrets (API keys) for a Convex app — stored in Convex env, read in actions, never hardcoded. TRIGGER when the user needs an API key/secret/env var ('add my OpenAI key', 'set an env var').

インストールへ移動

ソース情報

リポジトリ
get-convex/convex-backend-skill
ソースの最終更新活動
2026年7月7日 16:41
検出された SKILL.md の言語
英語
スター
6
フォーク
8

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
env
description
Set + wire deployment env vars / secrets (API keys) for a Convex app — stored in Convex env, read in actions, never hardcoded. TRIGGER when the user needs an API key/secret/env var ('add my OpenAI key', 'set an env var').
# Manage env vars + secrets Store secrets as Convex deployment env vars (npx convex env set), read them with process.env in actions, never commit them. ## Steps 1. `npx convex env set KEY value` (per deployment). 2. Read via process.env.KEY inside actions (not queries/mutations). 3. Never hardcode or commit secrets; add to .env.local only for local. 4. Confirm with `npx convex env list`. ## Rules - Secrets live in Convex env vars, never in code or git. - process.env only in actions ('use node' if needed), not queries/mutations. - Different deployments need their own values.
GitHubで見る