360 Secure SkillHub
360 安全技能中心

Convex Deploy Env Doctor

面向 Convex 项目的部署与环境配置诊断:读取 .env、源码默认值和文档,核对 .cloud/.site 与回调 URL 一致性、必需环境变量及后端连通性,返回通过/失败检查、文件级修复补丁、验证命令和端点披露。

okikesolutions
okikesolutions
热度 42.53
最近更新 2026-05-11 17:39:43
分类:开发依赖:读写文件 / 代码执行 / 第三方 API应用场景:调试排错 / DevOps / API 集成 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add convex-deploy-env-doctor
Metadata
name
convex-deploy-env-doctor
description
Validate and fix Convex deployment configuration for skills/apps. Use when debugging Convex URL/callback/env issues, OAuth callback mismatches, .site vs .cloud confusion, or backend connectivity problems before publish/deploy. Do not use for non-Convex stacks. Success = clear pass/fail checks, exact fixes, and verified runtime URL consistency.

Convex Deploy + Env Doctor

Workflow

  1. Detect project config surface
  • Check .env, .env.example, runtime defaults in source, README/SKILL docs.
  • Extract all Convex URLs and callback URLs.
  1. Validate URL consistency
  • Ensure one canonical backend URL intent (.cloud for API by default).
  • Flag mixed .site/.cloud usage and explain where each is appropriate.
  • Ensure callback URLs match provider/app configuration.
  1. Validate required env vars
  • Check required/optional env keys and whether docs match runtime usage.
  • Flag hidden defaults that route data unexpectedly.
  1. Connectivity sanity check
  • Run lightweight checks (lint/build and safe HTTP reachability if possible).
  • Confirm configured backend is HTTPS and syntactically valid.
  1. Output
  • Return:
    • ✅ Passing checks
    • ❌ Failing checks
    • exact file-level patches required
    • post-fix verification commands
    • explicit data-routing disclosure (what endpoints/services were touched)

Output format

Use references/output-template.md.

Guardrails

  • Never print secrets.
  • Prefer minimal patch release changes.
  • Keep docs and runtime behavior aligned.
  • Include file+line evidence for each failing check.