π¦ ClawHub
better-skill-creator
by @zzzanezhou0829
Advanced skill creation and management tool with automated version control, intelligent diff, risk assessment, rollback, semantic versioning, and test automa...
TERMINAL
clawhub install better-skill-creatorπ About This Skill
name: better-skill-creator description: Enhanced skill creation and management tool with built-in end-to-end version control capabilities. Supports skill creation, editing, packaging, automatic version backup, intelligent diff comparison, risk assessment, requirement plan confirmation, interactive rollback, semantic version management. Applicable to: (1) Create new skills; (2) Optimize/modify existing skills; (3) Skill version management and rollback; (4) Standardize skill modification processes to ensure version stability.
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:init_skill.py)package_skill.py)π‘οΈ 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
Installation Instructions
Automatic Conflict Detection
Automatically detect the following old versions during installation, support intelligent migration:Installation Command
python scripts/install.pyCore Usage Process
1. Create a New Skill
python scripts/init_skill.py> 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.py4. Roll Back to Historical Versions
Interactive rollback (Recommended)
python scripts/interactive-rollback.pyDirect rollback
python scripts/rollback.py5. Compare Version Differences
python scripts/diff.py6. Generate Optimization Plan
Generate plan
python scripts/proposal.py generateView all plans
python scripts/proposal.py list7. Package Skills
python scripts/package_skill.pyScript Descriptions
Native Function Scripts
init_skill.py: Initialize new skill templatespackage_skill.py: Package skills into .skill filesVersion Management Scripts
backup.py: Version backuplist.py: Version list querydiff.py: Intelligent diff comparison + risk assessmentrollback.py: Version rollbackinteractive-rollback.py: Interactive version rollbackproposal.py: Optimization plan generation and managementinstall.py: Installation script + conflict detectionmigrate.py: Historical data migration scriptConfiguration Instructions
Refer toreferences/config.md, support custom backup directories, number of retained versions, etc.