add-setting-env

Merge validated server-side environment variables into user settings defaults.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/kissMyApps-tlm/kissmychat --skill add-setting-env
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-setting-env
Source: https://github.com/kissMyApps-tlm/kissmychat/tree/main/.agents/skills/add-setting-env
Command: npx skills add https://github.com/kissMyApps-tlm/kissmychat --skill add-setting-env

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Teams need a reliable method to configure default values for user settings across environments. This Skill standardizes wiring server-side environment variables into user settings, ensuring consistent defaults and safe overrides.

Core Features & Use Cases

  • Define and validate environment variables per domain to control user settings.
  • Merge env-based defaults into the user settings store at startup or during deployment.
  • Use Case: When deploying a new domain, set a default value via an environment variable to ensure all users have a sane baseline.

Quick Start

Define your domain-specific environment variable in src/envs/<domain>.ts and wire it into the global server config so it becomes part of the user settings default values.

Frequently Asked Questions about add-setting-env

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set default user settings from environment variables during deployment?

Environment variables control default user settings by wiring server-side config into the user settings store at startup or deployment. Define domain-specific env vars in src/envs/<domain>.ts, merge them into defaults, and all users inherit the baseline configuration automatically.

Can I validate environment variables before merging them into user settings?

Yes, this Skill enforces schemas for environment variables to validate structure and type before merging into the user store. Schema validation ensures safe overrides and prevents misconfigured defaults from reaching users.

What's the best way to configure TypeScript server settings across different environments?

Wire environment variables into user settings defaults via domain-specific configuration files. This approach standardizes TypeScript server config across dev, staging, and production environments while maintaining consistent user defaults.

When should I use environment variables to set user configuration defaults?

Use environment variables for user setting defaults during environment provisioning, new domain deployments, and when you need consistent baseline settings across all users without manual per-user configuration.

Do I need to manually update documentation when changing environment variable defaults?

No, this Skill automates documentation and example updates alongside env var merging. Changes to environment-based defaults propagate automatically to docs and examples, keeping them synchronized with actual configuration.

How do environment variable overrides work with existing user settings?

Environment variables merge into user settings as defaults, allowing safe overrides without replacing existing user configuration. New users receive env-based defaults; existing settings remain intact unless explicitly updated.