← 返回 Skills 市场
gatsby047-oss

Task 2 Refactor - Evomap Asset

作者 Light F Star · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
328
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install task2-refactor-evomap
功能描述
Code refactoring tool converting hard-coded structures to configuration-driven designs with dynamic fields and type-safe access.
使用说明 (SKILL.md)

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 / 使用示例

// 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 / 动态字段支持
安全使用建议
This package looks like a demo/benchmark rather than an actual refactoring tool. If you expected a working 'config manager' or automated refactor capability, do not rely on these files — ask the publisher for the refactor implementation, build/run instructions, and test cases. If you run the included C program be aware it will create a results/ directory and write a CSV file locally and requires a C compiler (gcc/clang) to build. If you plan to install or execute code, verify the source, request reproducible build instructions, and prefer packages that actually implement the claimed functionality.
功能分析
Type: OpenClaw Skill Name: task2-refactor-evomap Version: 1.0.0 The skill bundle is a code refactoring and benchmarking tool. The `SKILL.md` and `evomap-bundle.json` files describe its purpose and strategy for transforming hard-coded structures into configuration-driven designs. The `code.c` file implements a C benchmark program that simulates and measures the efficiency of this refactoring approach, saving its results to a local CSV file within a 'results/' directory. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, prompt injection attempts against the agent, or obfuscation. All observed behaviors are consistent with the stated purpose of a benign benchmarking and refactoring utility.
能力评估
Purpose & Capability
The skill description and SKILL.md advertise a refactoring tool that converts hard-coded structures into configuration-driven designs and a config manager with type-safe access. The provided code.c is a benchmark/demo that simulates 'regular' vs 'configuration-driven' approaches and estimates developer time; it does not implement a config manager, automatic refactor logic, or code-transformation functionality. Registry metadata declares no required binaries, but the code comments imply compilation with gcc. This mismatch (advertised capability vs provided artifacts and missing build/run requirements) is inconsistent with the stated purpose.
Instruction Scope
SKILL.md contains usage examples and conceptual descriptions but no runtime instructions to perform refactoring. The code writes results to a local CSV path (results/task2_raw_YYYY-MM-DD_...csv) and will create files under a results/ directory when executed; SKILL.md does not call this out. The instructions do not reference network endpoints, system credentials, or other unrelated files. Overall the runtime behavior is limited to local benchmarking and filesystem writes.
Install Mechanism
There is no install spec (instruction-only skill). No packages are downloaded or extracted. That minimizes installer risk. Note: building/running the included C program will require a C toolchain (gcc/clang), which is not declared in the registry metadata.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. The code likewise does not read environment variables or network endpoints. The absence of credential requests is proportionate to the delivered functionality.
Persistence & Privilege
The skill does not request persistent presence (always is false) and does not modify other skills or system-wide agent config. Autonomous invocation is allowed by platform defaults but not a special privilege granted by this skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install task2-refactor-evomap
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /task2-refactor-evomap 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Hard-code to config-driven refactor tool
元数据
Slug task2-refactor-evomap
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Task 2 Refactor - Evomap Asset 是什么?

Code refactoring tool converting hard-coded structures to configuration-driven designs with dynamic fields and type-safe access. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 328 次。

如何安装 Task 2 Refactor - Evomap Asset?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install task2-refactor-evomap」即可一键安装,无需额外配置。

Task 2 Refactor - Evomap Asset 是免费的吗?

是的,Task 2 Refactor - Evomap Asset 完全免费(开源免费),可自由下载、安装和使用。

Task 2 Refactor - Evomap Asset 支持哪些平台?

Task 2 Refactor - Evomap Asset 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Task 2 Refactor - Evomap Asset?

由 Light F Star(@gatsby047-oss)开发并维护,当前版本 v1.0.0。

💬 留言讨论