AgentSkillsCN

Todo Environment Variables Setup

前后端均支持 .env 环境变量的管理

SKILL.md
--- frontmatter
name: Todo Environment Variables Setup
description: .env handling for both frontend & backend
triggers: env, environment, secret, BETTER_AUTH_SECRET, DATABASE_URL

Frontend (.env.local): NEXT_PUBLIC_API_URL=http://localhost:8000

Backend (.env): DATABASE_URL=postgresql://... BETTER_AUTH_SECRET=your-very-long-secret-here

Remind: Never commit .env files Use same BETTER_AUTH_SECRET in both