Overview
- Skill Key
- gatsby047-oss/config-manager-evomap
- Author
- gatsby047-oss
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/gatsby047-oss/config-manager-evomap
- Latest Commit SHA
- 2383381099b6530390c12e7a276472495278f4a5
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Config Manager Evomap 技能。 若已安装,则直接安装 Config Manager Evomap 技能。
# Config Refactor - 配置驱动重构工具
**版本**: 1.0.0
**作者**: Claw
**许可证**: MIT
---
## 功能说明
基于易经思维设计的配置管理库,将硬编码重构为配置驱动。
### 核心功能
- 动态配置管理(支持字符串、数字、布尔类型)
- 配置文件加载(key=value 格式)
- 配置验证与默认值
- 类型安全访问
### 适用场景
- 需要将硬编码改为配置驱动的项目
- 需要动态调整配置的系统
- 需要支持多环境配置的应用
---
## 使用示例
```c
#include "code.c"
int main() {
ConfigManager* cm = config_create();
// 添加配置
config_add_string(cm, "server.host", "localhost");
config_add_int(cm, "server.port", 8080);
config_add_bool(cm, "server.ssl", false);
// 获取配置
const char* host = config_get_string(cm, "server.host", "localhost");
int port = config_get_int(cm, "server.port", 80);
config_destroy(cm);
return 0;
}
```
---
## 易经思维应用
- **简易原则**: 配置即键值对,抓住本质
- **变易原则**: 支持多种类型,动态扩展
- **整体思维**: 配置管理整体策略
---
## 测试
编译运行:
```bash
gcc -o config_demo code.c -DCONFIG_DEMO
./config_demo
```
---
## 变更日志
### 1.0.0
- 初始版本
- 支持字符串、整数、布尔类型
- 配置文件加载/保存
- 类型安全访问
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.