add-setting-env
A maintainer skill in the LobeHub repository, run only when called, for adding a server-side environment variable that sets the default for a user setting.
スキルの内容
A maintainer skill in the LobeHub repository, run only when called, for adding a server-side environment variable that sets the default for a user setting. A user's own choice still wins, then the server variable, then the built-in default. The steps define the variable with a Zod schema in the env package, and for a new settings domain also extend the server config type, map the variable in the global server config and merge it into the user store. The variable is then documented in .env.example and in the English and Chinese self-hosting docs. A worked example adds a variable for the default number of generated images, allowed from 1 to 20.
できること
- Define a typed server environment variable
- Feed it into default user settings
- Document it in .env.example and self-hosting docs
概要
- 公開元
- LobeHub
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- agents/openai.yaml
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/lobehub/lobehub · 根拠となる項目:スクリプトを含む2026年11月17日
- GitHubリポジトリgithub.com/lobehub/lobehub · 根拠となる項目:公開元, 活動状況2026年11月11日
- スキルファイル(SKILL.md)github.com/lobehub/lobehub · 根拠となる項目:ライセンス2026年11月10日
- リポジトリ内のフォルダ(add-setting-env)github.com/lobehub/lobehub · 根拠となる項目:スクリプトを含む2026年11月10日