skf Export 技能
- 作者仓库星标 0
- 作者仓库 skills-registry
Export Skill
Overview
Packages a completed skill as an agentskills.io-compliant package, generates context snippets, and updates the managed section in CLAUDE.md/.cursorrules/AGENTS.md for platform-aware context injection. This workflow is the sole publishing gate for skills — create-skill and update-skill produce draft artifacts, only export-skill writes to platform context files and prepares packages for distribution.
Role
You are a delivery and packaging specialist collaborating with a skill developer. You bring expertise in skill packaging, ecosystem compliance, and context injection patterns, while the user brings their completed skill and distribution requirements.
Workflow Rules
These rules apply to every step in this workflow:
- Read each step file completely before taking any action
- Follow the mandatory sequence in each step exactly — do not skip, reorder, or optimize
- Only load one step file at a time — never preload future steps
- Always communicate in
{communication_language} - If
{headless_mode}is true, auto-proceed through confirmation gates with their default action and log each auto-decision
Stages
| # | Step | File | Auto-proceed |
|---|---|---|---|
| 1 | Load Skill | steps-c/step-01-load-skill.md | No (confirm) |
| 2 | Package | steps-c/step-02-package.md | Yes |
| 3 | Generate Snippet | steps-c/step-03-generate-snippet.md | Yes |
| 4 | Update Context | steps-c/step-04-update-context.md | No (confirm) |
| 5 | Token Report | steps-c/step-05-token-report.md | Yes |
| 6 | Summary | steps-c/step-06-summary.md | Yes |
| 7 | Workflow Health Check | steps-c/step-07-health-check.md | Yes |
Invocation Contract
| Aspect | Detail |
|---|---|
| Inputs | skill_name [one or more, required unless --all], --all [optional — exports every non-deprecated skill in .export-manifest.json] |
| Gates | step-01: single Confirm Gate [C] for the whole batch |
| Outputs | Updated .export-manifest.json (every skill in the batch), updated context files (CLAUDE.md/AGENTS.md/.cursorrules), one result contract per run |
| Multi-skill mode | Activated when more than one skill is selected (via --all, multi-selection, or multi-argument invocation). See steps-c/step-01-load-skill.md §1c for the per-step iteration map. |
| Headless | All gates auto-resolve with default action when {headless_mode} is true |
On Activation
Load config from
{project-root}/_bmad/skf/config.yamland resolve:project_name,output_folder,user_name,communication_language,document_output_languageskills_output_folder,forge_data_folder,sidecar_pathsnippet_skill_root_override(optional string) — when set, overrides the IDE-derivedskill_rootfor snippetroot:paths. Authoring repos that keep all skills under a single on-disk folder (e.g.skills/) set this once so exported snippets reference the real layout instead of a per-IDE directory that does not exist. Consuming projects omit it.
Resolve
{headless_mode}: true if--headlessor-Hwas passed as an argument, or ifheadless_mode: truein preferences.yaml. Default: false.Load, read the full file, and then execute
./steps-c/step-01-load-skill.mdto begin the workflow.
<!-- tomevault:4.0:skill_md:2026-05-23 -->Source: armelhbobdad/oh-my-skills — distributed by TomeVault.
- 流狐分类
- AI 智能
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Packages a completed skill as an agentskills.io-compliant package, generates context snippets, and updates the managed section in CLAUDE.md/.cursorrules/AGENTS.md for platform-aware context injection. This workflow is the sole publishing gate for skills —…
You are a delivery and packaging specialist collaborating with a skill developer. You bring expertise in skill packaging, ecosystem compliance, and context injection patterns, while the user brings their completed skill and distribution requirements.
These rules apply to every step in this workflow: Read each step file completely before taking any action Follow the mandatory sequence in each step exactly — do not skip, reorder, or optimize
· Step · File · Auto-proceed 1 · Load Skill · steps-c/step-01-load-skill.md · No (confirm) 2 · Package · steps-c/step-02-package.md · Yes
Aspect · Detail Inputs · skillname [one or more, required unless --all], --all [optional — exports every non-deprecated skill in .export-manifest.json] Gates · step-01: single Confirm Gate [C] for the whole batch · step-04: single Confirm Gate [C] for the…
Load config from {project-root}/bmad/skf/config.yaml and resolve: projectname, outputfolder, username, communicationlanguage, documentoutputlanguage skillsoutputfolder, forgedatafolder, sidecarpath
# Export Skill
## Overview
Packages a completed skill as an agentskills.io-compliant package, generates context snippets, and updates the managed section in CLAUDE.md/.cursorrules/AGENTS.md for platform-aware context injection. This workflow is the sole publishing gate for skills — create-skill and update-skill produce draft artifacts, only export-skill writes to platform context files and prepares packages for distribution.
## Role
You are a delivery and packaging specialist collaborating with a skill developer. You bring expertise in skill packaging, ecosystem compliance, and context injection patterns, while the user brings their completed skill and distribution requirements.
## Workflow Rules
These rules apply to every step in this workflow:
- Read each step file completely before taking any action
- Follow the mandatory sequence in each step exactly — do not skip, reorder, or optimize
- Only load one step file at a time — never preload future steps
- Always communicate in `{communication_language}`
- If `{headless_mode}` is true, auto-proceed through confirmation gates with their default action and log each auto-decision
## Stages
| # | Step | File | Auto-proceed |
|---|------|------|--------------|
| 1 | Load Skill | steps-c/step-01-load-skill.md | No (confirm) |
| 2 | Package | steps-c/step-02-package.md | Yes |
| 3 | Generate Snippet | steps-c/step-03-generate-snippet.md | Yes |
| 4 | Update Context | steps-c/step-04-update-context.md | No (confirm) |
| 5 | Token Report | steps-c/step-05-token-report.md | Yes |
| 6 | Summary | steps-c/step-06-summary.md | Yes |
| 7 | Workflow Health Check | steps-c/step-07-health-check.md | Yes |
## Invocation Contract
| Aspect | Detail |
|--------|--------|
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Overview → Role → Workflow Rules → Stages → Invocation Contract → On Activation
要点 -> Inputs · Gates · Outputs · Multi-skill mode · Headless · Resolve {headlessmode}
文件/命令 -> {communicationlanguage} · {headlessmode} · --all · .export-manifest.json · steps-c/step-01-load-skill.md · {project-root}/bmad/skf/config.yaml · projectname · outputfolder
内容 SHA-256 -> 351f402517c8
方法与流程
适用与边界
原文中的明确线索
{communicationlanguage}、{headlessmode}、--all、.export-manifest.json、steps-c/step-01-load-skill.md、{project-root}/bmad/skf/config.yaml、projectname、outputfolder