modifying-service-configs

Modify Golem service config structs and regenerate TOML and environment variable files.

1.5k|207|Updated Nov 24, 2023
One-click install
npx skills add https://github.com/golemcloud/golem --skill modifying-service-configs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modifying-service-configs
Source: https://github.com/golemcloud/golem/tree/main/.agents/skills/modifying-service-configs
Command: npx skills add https://github.com/golemcloud/golem --skill modifying-service-configs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of modifying configuration settings for Golem services, ensuring consistency and correctness when updating defaults, adding fields, or changing config structures.

Core Features & Use Cases

  • Configuration Management: Update config structs, add new fields, and modify default values for Golem services.
  • Automated Regeneration: Automatically regenerates TOML and environment variable configuration files after changes.
  • Use Case: When a new feature requires an additional setting in the Golem worker service, use this Skill to safely add the new configuration field and update all related configuration files.

Quick Start

Use the modifying-service-configs skill to update the default value for the 'max_retries' field in the worker service configuration.

Frequently Asked Questions about modifying-service-configs

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

FAQPage Schema
How do I update Golem service configuration defaults?

To update Golem service configuration defaults, modify the relevant config structs and default parameters. This Skill automatically regenerates related TOML and environment variable files to maintain configuration integrity.

What happens to TOML files when adding a new field to a Golem service config?

When adding a new configuration field to a Golem service, the TOML and environment variable files are automatically regenerated and validated to reflect the updated config struct and ensure settings remain synchronized.

How do I add a new configuration field to a Golem worker service?

Add a new configuration field to a Golem worker service by updating the service's config struct. The Skill handles the downstream regeneration and validation of associated TOML and environment variable files.

How does Golem validate changes to service configuration files?

Golem validates service configuration changes by automatically regenerating and checking the TOML and environment variable files after modifications to config structs or default parameters, ensuring structural consistency.

Can I modify environment variable configurations for Golem services?

Yes, you can modify environment variable configurations for Golem services. The Skill updates the underlying config structs and automatically regenerates the associated environment variable files alongside TOML outputs.