Agent Skills
› ajanraj/OpenChat
› convex-env
convex-env
GitHub管理Convex部署环境变量和密钥,通过CLI设置、在Actions中读取,确保不硬编码或提交敏感信息。
触发场景
配置应用环境变量
处理API密钥或敏感数据
安装
npx skills add ajanraj/OpenChat --skill convex-env -g -y
SKILL.md
Frontmatter
{
"name": "convex-env",
"description": "Set and wire Convex deployment env vars \/ secrets for the app."
}
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.
Workflow
npx convex env set KEY value(per deployment).- Read via process.env.KEY inside actions (not queries/mutations).
- Never hardcode or commit secrets; add to .env.local only for local.
- 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.
版本历史
- 55de5cd 当前 2026-10-19 22:53


