koanf
CommunityManage Go app configuration effortlessly.
Authorrigerc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill simplifies the complex task of managing configuration for Go applications, offering a flexible and robust solution for loading, merging, and accessing settings from various sources.
Core Features & Use Cases
- Multi-Source Configuration: Load settings from files (YAML, TOML, JSON, HCL, dotenv), environment variables, command-line flags, and remote stores (Vault, Consul, etcd, S3, AWS Parameter Store).
- Provider Chaining & Merging: Seamlessly merge configurations from multiple sources, with later sources overriding earlier ones.
- Type-Safe Access: Retrieve configuration values as specific Go types (string, int, bool, etc.) with helpful getter methods.
- Use Case: When developing a microservice, use this Skill to load default configurations from a file, override them with environment variables for production deployment, and finally allow command-line flags for runtime adjustments.
Quick Start
Use the koanf skill to load configuration from a file named 'config.yaml' and retrieve the 'server.port' setting.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: koanf Download link: https://github.com/rigerc/bubbletea-v2-scaffold/archive/main.zip#koanf Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.