📚 Data — 数据

v1.0.0

组织重构 当诊断出数据结构设计中的代码异味时,应用正确的数据组织重构 —— Primitive Obsession、Data Clumps、Data Class 或 ra...

0· 23·0 当前·0 累计
quochungto 头像by @quochungto (Hung Quoc To)·This
下载技能包 项目主页
License
This
最后更新
2026/4/20
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
An instruction-only refactoring skill whose requested actions (read/grep/write in a project directory) and lack of installs or credentials are coherent with the described data-organization refactorings.
评估建议
This skill is coherent with its description, but it will read and modify your codebase. Before using it: ensure your project is under version control, run it on a feature branch, and review the generated diffs or pull requests. If you allow the agent to run Bash commands, restrict that ability or review commands before execution. Also confirm the companion dependency (code-smell-diagnosis) is trustworthy if you rely on it.
详细分析 ▾
用途与能力
The skill's name and description match the actions it requires: reading source files, locating data-structure smells, selecting and performing refactorings, and verifying callers. It does not request unrelated binaries, cloud credentials, or system access beyond the project.
指令范围
SKILL.md instructs the agent to read source files, grep for patterns, apply refactorings in small compilable steps, and verify callers. This stays within the refactoring purpose. Callout: the skill requires Write capability and optionally Bash, so it will modify repo files — users should ensure version control/branching and review diffs before merge.
安装机制
No install spec or code files are provided (instruction-only), so nothing is downloaded or written to disk by an installer. This is low-risk and appropriate for the described functionality.
凭证需求
The skill declares no environment variables, credentials, or config paths. That is proportionate for a local code-refactoring assistant which only needs repository read/write access.
持久化与权限
always:false and model invocation allowed (the platform default). The skill will modify files in the working project (requires Write permission), but it does not request persistent platform-wide privileges or alter other skills' configs.
安全有层次,运行前请审查代码。

License

This

请查看许可证条款了解详情。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/4/20

- Initial release of the skill for data organization refactoring, focused on diagnosing and resolving data structure code smells following Fowler’s Chapter 8 catalog. - Supports identifying and refactoring Primitive Obsession, Data Clumps, Data Class, exposed collections, positional arrays, magic numbers, and legacy records. - Guides users step-by-step through selecting and performing the appropriate data-related refactoring, including interface updates and validation. - Excludes type code refactorings (covered by a sibling skill) and class responsibility issues. - Designed for software developers and reviewers with intermediate OO experience, handling real-world code needing structural improvement.

无害

安装命令

点击复制
官方npx clawhub@latest install bookforge-data-organization-refactoring
镜像加速npx clawhub@latest install bookforge-data-organization-refactoring --registry https://cn.longxiaskill.com
数据来源ClawHub ↗ · 中文优化:龙虾技能库