当前位置: 首页 > Skill >

Runbook Skill Kit Template Factory

Runbook Skill Kit Template Factory

Runbook Skill Kit Template Factory

Generate a reusable runbook plus self-contained skill kit from a validated workflow. 从一个已验证流程批量生成可复用的 runbook 与自包含 skill 套件。

1.0.1 2026.11.24 346
获取Skill文件查看使用说明
作 者:陆言 许可证: 更新时间:2026.11.24
本文目录收起

Runbook Skill Kit Template Factory

Use this skill when you want a repeatable template that turns a validated workflow into both knowledge docs and a reusable skill bundle. 当你需要一个可重复使用的模板,把已验证流程同时变成知识文档和可复用 skill 套件时,使用这个 skill。

Read First | 先读这些

  • {baseDir}/README.md
  • {baseDir}/WORKFLOW.md
  • {baseDir}/TEMPLATES.md
  • {baseDir}/FAQ.md
  • {baseDir}/CHANGELOG.md

Primary Rule | 核心原则

Treat the template as a production kit generator, not as a place to dump raw notes. 把这个模板当成生产套件的生成器,不要把它当成随手堆原始笔记的地方。

Workflow | 执行流程

  1. identify the validated workflow 确认已经验证过的流程
  2. choose a topic slug and display name 选定 topic slug 和显示名称
  3. instantiate the knowledge doc trio 生成三件套知识文档
  4. instantiate the self-contained skill bundle 生成自包含 skill 包
  5. replace placeholders consistently 一致地替换所有占位符
  6. add or update changelog 增补 changelog
  7. sync memory, publish, and verify 同步 memory、发布并验证

Strong Heuristics | 强判断规则

  • if the process is not stable yet, keep it as draft notes
  • if the package references outside docs, inline or bundle them before publish
  • if operators are mixed-language, keep the kit bilingual
  • if the workflow will be reused often, favor templates over ad hoc copying

中文解释:

  • 流程还不稳定,就先留在草稿,不要直接模板化。
  • 如果包依赖外部文档,发布前先内联或打包进去。
  • 如果使用者语言混合,优先双语。
  • 如果流程会反复复用,优先做模板,不要每次手工复制。

Safe Commands | 安全命令

make sync
clawhub publish /absolute/path/to/skill-folder --slug your-skill --name "Your Skill" --version 1.0.0
clawhub inspect your-skill --version 1.0.0 --files

Constraints | 约束

  • keep knowledge/ as canonical source
  • keep the skill bundle self-contained
  • do not ship secrets or raw transcripts
  • prefer stable naming and consistent file layout

相关文章

更多
Redis Template实现分布式锁的正确方式与代码示例

基于Redis实现分布式锁需满足互斥性、无死锁、容错性及加解锁一致性四个条件。针对传统SETNX在客户端崩溃后引发的竞态问题,本文介绍利用GET和GETSET命令组合判断过期时间并原子获取锁的改进方案。通过Spring Data Redis的RedisTemplate封装工具类,提供完整的加锁、重试及解锁逻辑代码,确保高并发场景下的安全性。

2025.04.22 760
基于PHP模板机制实现静态网页生成

介绍利用PHPlib中的template.inc库将动态内容转换为静态HTML文件的方法。通过修改模板类以支持文件写入和变量重置,可实现单篇、批量及更新场景下的静态化。相比服务器配置或输出缓冲,模板方式更灵活,适用于减轻服务器负担、加速访问及便于备份的CMS系统。

2026.03.22 722
Destoon模板存放规则与核心语法详解

Destoon系统的模板文件统一存放于template目录下,以.htm为扩展名,支持直接放置或嵌套子目录。在PHP代码中可通过include_template函数加载指定模板,系统会自动处理默认套系及别名配置。模板引擎提供了一套类PHP的语法体系,包括使用大括号包裹的变量、常量、函数调用及PHP表达式。条件判断采用{if}...{/if}结构,支持else和elseif分支;循环操作通过{loop}标签实现,可遍历数组并获取键值对。此外,模板内容支持HTML注释过滤,且允许直接在模板文件中嵌入原生PHP代码,与框架语法完全兼容。

2026.07.05 714
ThinkPHP自定义标签库开发详解

本文以实例讲解了ThinkPHP标签的制作方法,对于ThinkPHP的初学者或者开发人员都有一定的借鉴价值。一般来说,ThinkPHP的默认标签解析器在Lib/Template/TagLib/TagLibCx.class(2.1版本位于ThinkPHP/Lib/Think/Template/TagLib/TagLibCx.class.php)中,里面定义了常用的如volist php 等常用ThinkPHP的标签。这里我们就在这个类中添加一个的标签解析。 一、标签格式:

2025.10.19 708
在不引入重型框架的情况下为Laravel添加轻量级工作流

在 Laravel 中实现轻量级工作流,核心思路是利用 Queue 驱动的任务链( Chains )配合自定义的 Job 类。通过定义一组按顺序执行的 Job ,并利用 Bus::chain() 或手动调用 $job->handle() 时传递上下文数据,即可在不引入如 Spatie Workflow 等重型包的情况下

2026.04.20 697
WordPress get_template_part函数详解与钩子机制

WordPress 3.0引入的get_template_part()函数旨在通过slug和name参数灵活加载模板文件,支持子主题覆盖以简化代码重用。该函数在执行时触发动态钩子get_template_part_{$slug},允许开发者通过add_action介入模板加载流程,从而实现比传统include更丰富的主题扩展能力。

2025.08.18 408
Skill 文件
  • SKILL.md
    • Runbook Skill Kit Template Factory
    • Read First | 先读这些
    • Primary Rule | 核心原则
    • Workflow | 执行流程
    • Strong Heuristics | 强判断规则
    • Safe Commands | 安全命令
    • Constraints | 约束
  • 项目或源文件

相关 Skill

更多
Skill Kit Skill Kit Claude Code 技能管理。主题:writer(创建),lint(校验并修复 frontmatter),merge(合并相关),dedup(查重),convert(agent →…)
Perfect Automation Perfect Automation 完美的自动化工作流系统——结合automation‑workflows与n8n‑workflow‑automation的全部优势,具备自动化机会识别、ROI计算、健壮设计、幂等性、错误处理、重试机制、人工审核队列以及可审计输出。触发词:自动化、工作流、自动、减少手动、提效。
OpenClaw Workspace Starter Agent Home Template OpenClaw Workspace Starter Agent Home Template Your agent needs a home. Without these files, your agent wakes up every session with amnesia. This template fixes that in 10 minutes. SOUL.md, MEMORY.md, AGE...
Hug HTML Hug HTML 8种原子组件自由组合 + 3级约束, cell merging, two-level module system (base + composite), 7+ built-in templates, grid-aware visual editor, style presets, post-generation audit, user template save-as, Chinese error handling
Skill Distiller Skill Distiller Distill successful workflows into reusable skills with quality gates. Use after completing multi-step tasks to evaluate if the workflow should be saved. Trig...