secrets
星标13
分支0
更新时间2026年5月23日 14:10
Secrets
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Secrets
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Dev In Browser
Fastapi_Stripe
Fix Tests
Implement Fastapi Routes
Plan Only
Python Command
基于 SOC 职业分类
| name | secrets |
| description | Secrets |
Here's how environment variables are managed in this application:
.envrc entry point to load the correct env stack. Should not contain secrets and should be simple some shell logic and direnv stdlib calls.env/all.sh common configuration for all systems. No secrets. No dotenv/custom scripts. Just exports to modify core configuration settings like export TZ=UTC.env/all.local.sh overrides across all environments (dev and test). Useful for things like 1Password service account token and database hosts which mutate the logic followed in env/not_production.sh. Not committed to source control.env/host.sh host-specific configuration overrides. Empty for main repo, contains port offsets and host prefixes for git worktrees. Auto-generated by just dev_generate_hosts. Not committed to source control.env/not_production.sh This contains the bulk of your system configuration. Shared across test, CI, dev, etc but not production.env/dev.local.sh configuration overrides for non-test environments. PYTHONBREAKPOINT, LOG_LEVEL, etc. Most of your environment changes end up happening here.env/test.sh test-only environment variables (PYTHON_ENV=test). This file should generally be short.env/production.{backend,frontend}.sh for most medium-sized projects you'll have separate frontend and backend systems (even if your frontend is SPA, which I'm a fan of). These two files enable you to document the variables required to build (in the case of a SPA frontend) or run (in the case of a python backend) your system in production.env/*local.* files have a -example variant which is committed to version control. These document helpful environment variables for local development.requireEnv("THE_ENV_VAR_NAME") to read an environment variable. import {requireEnv} from '~/utils/environment'