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で見る