ワンクリックで
env
Set up, validate, and manage environment variables.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Set up, validate, and manage environment variables.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Write a structured handoff at session end. Preserves context so the next agent can resume without human briefing. Invoke before ending any feature session longer than 30 minutes.
Multi-perspective code review against project standards with P1/P2/P3 severity classification. Works in Claude Code (Agent + optional GitHub MCP) and Cursor (Task subagents + gh/git). Use when the user invokes /review, asks for a PR or diff review, or wants a standards-aligned review with severity tags.
Multi-perspective code review (P1/P2/P3) for Cursor: inline checklists plus three parallel Task subagents (perf-auditor, security-reviewer, simplicity-reviewer with combined data-integrity prompt). Use when the user invokes /review, asks for a PR review, or wants repo-standard findings with severity.
Create well-formatted git commits following conventional commit standards.
Red→green→refactor discipline for new behavior — forces a failing test before implementation and a passing test before any claim of done.
Create or manage a git worktree for isolated parallel development — lets multiple agents work in the repo simultaneously without branch collisions.
| name | env |
| description | Set up, validate, and manage environment variables. |
Set up, validate, and manage environment variables.
/env [action] [--check] [--generate] [--sync]
action: check, generate, sync, add, remove (default: check)--check: Validate all required vars are set--generate: Create .env from .env.example--sync: Sync .env.example with actual usage in codeWhen this skill is invoked:
Autonomy:
Safety:
.env files.env.example/env check)Validate environment is properly configured:
.env.example to get required variables.env exists — if not, offer to generate# Check for missing vars
diff <(grep -oP '^[A-Z_]+' .env.example | sort) <(grep -oP '^[A-Z_]+' .env | sort)
/env generate)Create .env from template:
.env.example to .env:
cp .env.example .env
.env is in .gitignore:
grep -q "^\.env$" .gitignore || echo ".env" >> .gitignore
/env sync)Ensure .env.example matches actual usage:
# Find all env var usage patterns
grep -rn "process\.env\.\|os\.environ\|os\.getenv\|env\(" src/ --include="*.{ts,tsx,py,go}"
.env.example.env.example.env.example but unused in code.env.example with missing entries (placeholder values only)/env add <VAR_NAME>)Add a new environment variable:
.env.example with placeholder and comment.env (prompt for actual value)prd/00_technology.md environment variables table/env remove <VAR_NAME>)Remove an environment variable:
.env.example## Environment Check Report
**Status:** PASS / FAIL
**File:** .env (exists / missing)
**Gitignored:** Yes / No
### Variables
| Variable | Status | Format |
|----------|--------|--------|
| DATABASE_URL | Set | Valid URL |
| API_KEY | Set | Valid prefix |
| LOG_LEVEL | Missing | — |
| PORT | Set | Valid (3000) |
### Issues
- LOG_LEVEL: Not set (default: INFO)
- SECRET_KEY: In .env.example but not used in code
### Recommendations
1. Set LOG_LEVEL in .env
2. Remove unused SECRET_KEY from .env.example
$ /env check
Checking environment configuration...
.env file: Found
.gitignore: .env is excluded
Variable Check:
DATABASE_URL ......... Set (valid PostgreSQL URL)
LOG_LEVEL ............ Set (INFO)
ENVIRONMENT .......... Set (development)
API_KEY .............. MISSING
JWT_SECRET ........... Set (32 chars)
Issues Found:
API_KEY is required but not set in .env
Copy from your provider dashboard and add to .env
Status: 1 issue found — fix before running the app.