Skip to main content

document-an-environment-variable

Document an environment variable as a configuration contract with purpose, type, default, scope, secrecy, validation, and failure behavior. Use when software behavior depends on deploy-time configuration.

소스 정보

저장소
protosphinx/sphinxstack
최근 소스 활동
2026년 7월 29일 13:55
감지된 SKILL.md 언어
영어
스타
3
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
document-an-environment-variable
category
code
description
Document an environment variable as a configuration contract with purpose, type, default, scope, secrecy, validation, and failure behavior. Use when software behavior depends on deploy-time configuration.
# document-an-environment-variable Describe behavior without publishing secret values. ## When to use - Use for required, optional, feature, endpoint, credential, limit, or compatibility configuration. - Never place real secrets, tokens, personal data, or production-only values in documentation or example files. ## Procedure 1. Record exact name, owner, consuming component, purpose, environments, and lifecycle. 2. Define type, format, unit, allowed values, default, empty behavior, and precedence. 3. State required versus optional and distinguish build-time, startup, and runtime reading. 4. Mark secret classification, injection source, rotation, logging, and redaction rules. 5. Document validation and observable behavior for missing, invalid, stale, or unreachable values. 6. Provide safe example placeholders and related variables or feature flags. 7. Add startup or configuration tests and ensure error messages do not expose values. 8. Update deployment, local setup, and removal documentation together. ## Done - A configuration document records name, purpose, type, scope, precedence, secrecy, validation, and failure behavior - Safe examples and tests verify valid, missing, invalid, and redacted handling without exposing a real value
GitHub에서 보기