add-setting-env

Add server-side environment variables to configure default user settings.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of setting default values for user configurations by leveraging server-side environment variables, ensuring consistency and simplifying management.

Core Features & Use Cases

  • Environment Variable Configuration: Define and manage server-side environment variables that dictate default settings.
  • Priority-Based Merging: Automatically prioritizes user custom settings over server environment variables, and server variables over hardcoded defaults.
  • Use Case: When deploying your application, you can set a default image generation limit for all users via an environment variable, which can then be overridden by individual users if they choose.

Quick Start

Add a new environment variable to control the default number of images generated by the AI.

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 using environment variables on the server side?

You can set default user settings by defining server-side environment variables that integrate into the application's configuration system, establishing a clear hierarchy of settings for consistent default values across deployments.

How does priority-based merging work for server-side environment variables and user settings?

Priority-based merging automatically prioritizes individual user custom settings over server environment variables, and server variables over hardcoded defaults, ensuring user configurations override server-side defaults when specified.

What is the best way to configure a default image generation limit for all users during deployment?

The best way is to define a server-side environment variable as a default value, which allows you to set a global image generation limit that individual users can subsequently override with their own custom settings.

Can I define and type new server-side configurations for user-facing defaults?

Yes, you can define, type, and document new server-side configurations to manage user-facing defaults, ensuring environment variables are properly integrated into the application's configuration system with clear hierarchy.

When do I need to add environment variables for server-side configuration management?

You need to add environment variables when streamlining the process of setting default values for user configurations, ensuring consistency and simplifying management across different deployment environments.