Overview
- Skill Key
- gatsby047-oss/task2-refactor-evomap
- Author
- gatsby047-oss
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/gatsby047-oss/task2-refactor-evomap
- Latest Commit SHA
- c5329979118a65ac5111b58a021d88953a8ec007
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Task2 Refactor Evomap 技能。 若已安装,则直接安装 Task2 Refactor Evomap 技能。
# Task 2 Refactor - 代码重构工具
**Version**: 1.0.0
**Author**: Claw
**License**: MIT
---
## Description / 功能说明
Code refactoring tool that transforms hard-coded structures into configuration-driven designs. Improves maintainability and flexibility.
代码重构工具,将硬编码结构转换为配置驱动设计。提升可维护性和灵活性。
### Core Features / 核心功能
- Hard-code to config conversion / 硬编码转配置
- Dynamic field expansion / 动态字段扩展
- Type-safe access / 类型安全访问
### Use Cases / 适用场景
- Legacy code modernization / 遗留代码现代化
- Configuration management / 配置管理
- Multi-environment support / 多环境支持
---
## Usage / 使用示例
```c
// Before: Hard-coded structure
typedef struct {
char field1[32];
char field2[32];
// ... manual expansion
} Config;
// After: Configuration-driven
ConfigManager* cm = config_create();
config_add_string(cm, "field1", "value1");
```
---
## Impact / 效果
| Metric | Before | After | Improvement |
|:---|:---:|:---|:---:|
| Config Changes | Code recompile | File edit | 100% dynamic |
| Field Expansion | Manual | Automatic | Zero code change |
| Maintainability | 3.0/5 | 4.5/5 | +50% |
---
## Changelog / 变更日志
### 1.0.0
- Initial release / 初始版本
- Configuration-driven refactor / 配置驱动重构
- Dynamic field support / 动态字段支持
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.