Skip to main content

env-setup

Environment configuration and secrets management. Use when setting up .env files, managing secrets, or configuring environments.

Datos de origen

Repositorio
Tibsfox/gsd-skill-creator
Última actividad en el origen
7 de julio de 2026 a las 04:19
Idioma detectado de SKILL.md
inglés
Estrellas
70
Forks
10

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
env-setup
description
Environment configuration and secrets management. Use when setting up .env files, managing secrets, or configuring environments.
version
1.0.0
format
2025-10-02T00:00:00.000Z
triggers
["setting up environment variables"]
updated
2026-04-25T00:00:00.000Z
status
ACTIVE
# Environment Configuration ## Non-Negotiable Rules | Rule | Why | |------|-----| | NEVER commit .env to git | Secrets persist in history forever | | NEVER log secret values | Logs stored in plain text, forwarded | | NEVER hardcode secrets | Source code is widely shared | | ALWAYS use .env.example | Documents vars without exposing values | | ALWAYS add .env* to .gitignore FIRST | Prevents accidental commit | | ALWAYS validate config at startup | Fail fast, not hours into production | ## .gitignore (add before creating .env) ```gitignore .env .env.* !.env.example *.pem *.key credentials.json ``` ## Naming Conventions - UPPER_SNAKE_CASE: `DATABASE_URL`, `JWT_SECRET` - Prefix by service: `DB_`, `REDIS_`, `AWS_` - Booleans: `ENABLE_CACHE=true` (not 1/yes) - Feature flags: `FEATURE_*` ## Key Patterns - **No defaults for secrets** — force explicit configuration - **Validate at startup** with Zod/Joi/Pydantic, not at first use - **Unique secrets per environment** — one leak shouldn't compromise all - **Rotate leaked secrets immediately** — check git history, audit access logs - **Process env always wins** — CI/CD overrides file-based config
Ver en GitHub