본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

env-setup

fratua 제작

Coding Agents & IDEs
429clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Scan codebase for environment variables, generate .env.example, validate .env, and ensure .gitignore safety.

설명

이 스킬이 하는 일

Scans a codebase for all referenced environment variables across JavaScript, TypeScript, Python, Go, Rust, and Docker files. Generates a .env.example with categorized placeholders, validates an existing .env against discovered variables, and checks .gitignore for secret safety.

Replaces manual grep sessions and guesswork by scanning all common env patterns across multiple languages in one pass and cross-referencing them against your actual .env.

사용 시점

  • Finding missing env vars before a deployment fails
  • Onboarding a new developer with a complete .env.example
  • Auditing which secrets are exposed in git history
  • Cleaning up stale variables left in .env after refactoring
  • Verifying .gitignore protects all environment files

예시 워크플로

입력

User asks: scan my project and generate a .env.example

에이전트
  1. 1

    Grep codebase across .js, .ts, .py, .go, .rs, and docker-compose files for env var references

  2. 2

    Extract and deduplicate variable names, noting source file and line number for each

  3. 3

    Classify variables into secrets, service URLs, and configuration groups

  4. 4

    Generate .env.example with placeholder values and category comment headers

  5. 5

    Check .gitignore for .env entries and scan git history for accidentally committed env files

출력

A .env.example file with 15 categorized variables, a validation report showing 2 missing and 1 unused variable in the current .env, and a .gitignore safety confirmation

설치

clawhub install fratua/env-setup

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크