← 返回 Skills 市场
zzzanezhou0829

better-skill-creator

作者 zane iris zhou · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
121
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install better-skill-creator
功能描述
Advanced skill creation and management tool with automated version control, intelligent diff, risk assessment, rollback, semantic versioning, and test automa...
使用说明 (SKILL.md)

Better Skill Creator - Enhanced Skill Creation and Management Tool

Core Features

🎯 100% Compatible with native skill-creator

All native functions are fully retained with zero switching of usage habits:

  • Skill initialization template generation (init_skill.py)
  • Skill directory structure specification verification
  • Skill packaging and export (package_skill.py)
  • Skill design best practice guidance
  • Full compatibility with all original parameters and commands

🛡️ Built-in end-to-end version control (New capabilities)

No additional version management tools required, ready to use out of the box:

  1. Automatic Backup: Automatically triggers version backup before creating/modifying skills, no manual operation required
  2. Intelligent Diff Comparison: Compare content differences of any versions, automatically identify change types and assess risk levels (High/Medium/Low)
  3. Interactive Rollback: Automatically list version records, roll back by selection, support difference preview
  4. Requirement Plan Control: Built-in optimization plan generation + approval process, enforce "confirm the plan before modification"
  5. Semantic Version Number: Automatically manage version numbers, with complete and traceable version records
  6. Automatic CHANGELOG Generation: Automatically generate version change records for each modification

✨ New Enhanced Capabilities

  • 📊 Automatic assessment of the impact scope of skill modifications
  • 🧪 Built-in automatic test case execution, automatic function verification after modification
  • 🔒 Stable version marking function, marked versions are permanently retained and will not be automatically cleaned up
  • 📝 Automatic generation of version change reports, clearly recording every modification

Installation Instructions

Automatic Conflict Detection

Automatically detect the following old versions during installation, support intelligent migration:

  • Native skill-creator built into the system
  • Installed old versions of skill-creator
  • Installed skill-version-control
  • Automatically migrate all historical backups, version records, and optimization plan data

Installation Command

python scripts/install.py

Core Usage Process

1. Create a New Skill

python scripts/init_skill.py \x3Cskill-name> --path \x3Coutput-directory>

Automatically create version records, initial version number v1.0.0

2. Optimize Existing Skills

graph TD A[User submits optimization requirements] --> B[Generate optimization plan] B --> C[User confirms the plan] C --> D[Automatically back up the current version] D --> E[Modify skills according to the plan] E --> F[Automatic diff comparison + risk assessment] F --> G[Automatically run test cases] G --> H[Generate new version records + CHANGELOG]

3. View Version List

python scripts/list.py \x3Cskill-name>

4. Roll Back to Historical Versions

Interactive rollback (Recommended)

python scripts/interactive-rollback.py \x3Cskill-name>

Direct rollback

python scripts/rollback.py \x3Cskill-name> \x3Cversion-ID>

5. Compare Version Differences

python scripts/diff.py \x3Cskill-name> \x3Cversion-ID1> [version-ID2]

6. Generate Optimization Plan

Generate plan

python scripts/proposal.py generate \x3Cskill-name> "Requirement description" --version v1.1.0

View all plans

python scripts/proposal.py list

7. Package Skills

python scripts/package_skill.py \x3Cskill-path>

Script Descriptions

Native Function Scripts

  • init_skill.py: Initialize new skill templates
  • package_skill.py: Package skills into .skill files

Version Management Scripts

  • backup.py: Version backup
  • list.py: Version list query
  • diff.py: Intelligent diff comparison + risk assessment
  • rollback.py: Version rollback
  • interactive-rollback.py: Interactive version rollback
  • proposal.py: Optimization plan generation and management
  • install.py: Installation script + conflict detection
  • migrate.py: Historical data migration script

Configuration Instructions

Refer to references/config.md, support custom backup directories, number of retained versions, etc.

安全使用建议
This package appears to do what it says: create, package, back up, compare, and roll back skills using local files under ~/.openclaw. Before installing or running: (1) Review the bundled scripts yourself—rollback.py and backup.py will remove and overwrite directories and write to ~/.openclaw; ensure you point them at test copies or confirm paths. (2) Be aware rollback uses shutil.rmtree on the target path (destructive) and runs backup via subprocess; keep important data backed up elsewhere. (3) There is no network/exfiltration code found in the provided files, but always inspect any install.py/migrate.py referenced by SKILL.md—SKILL.md mentions migrate.py though that file was not present in the manifest (minor inconsistency to check). (4) Consider running first in a sandbox or VM and ensure you have filesystem backups for any real skill directories you care about.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The name/description match the included scripts (init_skill.py, package_skill.py, backup.py, diff.py, rollback.py, proposal.py, validate-modify.py, mark-stable.py, etc.). No unrelated environment variables, binaries, or external services are requested. The feature set is proportional to the files provided.
Instruction Scope
SKILL.md and the scripts keep scope to skill creation/management. However, the runtime instructions and scripts perform local filesystem operations (copying skill directories to ~/.openclaw/skill-backups, removing/overwriting target directories during rollback, writing proposal metadata) and will prompt for confirmation in some flows. These filesystem changes are coherent with purpose but are potentially destructive if used accidentally.
Install Mechanism
No install spec is provided (instruction-only skill) and all support code is bundled with the skill. There are no downloads from remote URLs or package manager installs that would increase risk.
Credentials
No credentials or environment variables are required. Scripts use user-local paths under the home directory (~/.openclaw/...) to store backups and proposals which is consistent with a versioning tool and does not request unrelated secrets.
Persistence & Privilege
The skill does not require always:true and does not request extra privileges, but it writes and deletes files in the user's filesystem (backups and rollbacks). This is expected for its purpose but is an important operational privilege—rollback will remove the current target directory and replace it with backed-up content.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install better-skill-creator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /better-skill-creator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of better-skill-creator: an enhanced tool for skill creation, editing, and version management. - Adds built-in end-to-end version control with automatic backups, intelligent diff comparison, risk assessment, and semantic versioning. - Supports interactive rollback to previous versions with difference previews. - Automates requirement plan confirmation, change reporting, and includes built-in test verification. - Fully compatible with native skill-creator, retaining all original functions and usage. - Provides migration support for existing installations and historical data.
元数据
Slug better-skill-creator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

better-skill-creator 是什么?

Advanced skill creation and management tool with automated version control, intelligent diff, risk assessment, rollback, semantic versioning, and test automa... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 121 次。

如何安装 better-skill-creator?

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

better-skill-creator 是免费的吗?

是的,better-skill-creator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

better-skill-creator 支持哪些平台?

better-skill-creator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 better-skill-creator?

由 zane iris zhou(@zzzanezhou0829)开发并维护,当前版本 v1.0.0。

💬 留言讨论