with one click
skill-lifecycle-manager
Skills 生命周期管理器 - 版本管理、依赖检查、使用统计和健康报告
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Skills 生命周期管理器 - 版本管理、依赖检查、使用统计和健康报告
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
从数据源自动生成月度运营数据 HTML 报告,支持 ECharts 图表、规则驱动结论、可折叠侧栏导航
Skills 库治理规范 - 新增、更新、删除 skill 的强制性守门流程。当 CC session 操作 skills/ 目录时自动触发。
Security-first vetting for OpenClaw skills. Use before installing any skill from ClawHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.
HTML 报告生成通用框架 - CSS 变量设计系统、专业组件库、ECharts 图表、Mermaid 流程图、动态居中布局、可折叠侧栏、规则驱动结论。当用户需要生成 HTML 报告、数据看板、SOP 文档、KPI dashboard 或任何自包含网页报告时使用。
Execute Jupyter notebooks end-to-end with SQL pre-validation, error diagnosis, and auto-fix loops. Use when "run notebook", "execute notebook", "test notebook", or "validate notebook execution".
Standardize Jupyter notebooks (.ipynb) for interactive data analysis workflows. Enforces a mandatory cell manifest (M1-M8 + archetype chapters) with tags ([CONFIG]/[SETUP]/[FUNC]/[RUN]/[VIZ]/[EXPORT]), structured markdown sections, and output prefixes ([OK]/[WARN]/[SKIP]). Use when the user wants to standardize, clean up, or create a notebook from scratch. Two archetypes: problem-driven (question-answer analysis) and monitoring (dimension-based periodic reporting).
| name | skill-lifecycle-manager |
| description | Skills 生命周期管理器 - 版本管理、依赖检查、使用统计和健康报告 |
| triggers | ["skill管理","版本管理","lifecycle"] |
| argument-hint | <command> [args] |
| version | 1.0.0 |
Skills 生命周期管理器,提供版本管理、依赖检查、使用统计和健康报告功能。
# 查看所有 skills 版本
/skill-lifecycle-manager version list
# 查看特定 skill 版本信息
/skill-lifecycle-manager version info <skill-name>
# 升级版本
/skill-lifecycle-manager version bump <skill-name> <major|minor|patch>
# 检查所有依赖
/skill-lifecycle-manager deps check
# 查看特定 skill 的依赖
/skill-lifecycle-manager deps show <skill-name>
# 检测依赖冲突
/skill-lifecycle-manager deps conflicts
# 查看统计摘要
/skill-lifecycle-manager stats summary
# 查看特定 skill 统计
/skill-lifecycle-manager stats show <skill-name>
# 导出统计数据
/skill-lifecycle-manager stats export <output-file>
# 生成完整健康报告
/skill-lifecycle-manager health report
# 查看 skill 健康评分
/skill-lifecycle-manager health score <skill-name>
# 获取改进建议
/skill-lifecycle-manager health suggest
# 1. 检查所有依赖
/skill-lifecycle-manager deps check
# 2. 如果发现问题,查看详情
/skill-lifecycle-manager deps show <problematic-skill>
# 3. 生成依赖报告
/skill-lifecycle-manager deps conflicts
# 1. 查看当前版本
/skill-lifecycle-manager version info my-skill
# 2. 升级补丁版本
/skill-lifecycle-manager version bump my-skill patch
# 3. 验证版本已更新
/skill-lifecycle-manager version info my-skill
# 生成完整报告
/skill-lifecycle-manager health report
# 查看输出的 Markdown 文件
# 报告位置: data/health-report-YYYYMMDD.md
所有数据存储在 skills/skill-lifecycle-manager/data/ 目录下:
usage_stats.db - SQLite 数据库(使用统计)health-report-*.md - 健康报告(Markdown 格式)dependency-report.json - 依赖分析结果可以通过配置文件自定义行为(可选):
{
"stats_retention_days": 90,
"health_score_threshold": 70,
"auto_backup": true
}
配置文件位置:data/config.json
# 删除并重新初始化数据库
rm data/usage_stats.db
/skill-lifecycle-manager stats summary
# 清理缓存并重新扫描
/skill-lifecycle-manager version list --refresh
# 运行单元测试
cd skills/skill-lifecycle-manager
pytest tests/
# 运行特定测试
pytest tests/test_version_manager.py
# 查看覆盖率
pytest --cov=scripts tests/
/skill - 基础 skill 管理/learner - 从对话中提取新 skill/skill-auto-evolver - Skills 自动进化器