跳到正文
cccskills
免费在 GitHub 公开中文介绍

migrate-workflows

扫描全局设置和工作区中的旧版工作流文件,将其转换为保留原有指令的标准 `SKILL.md`,并把原文件改名存为备份。迁移时会保留已存在的同名技能文件。

原文查看原文说明

Automatically migrate legacy workflows to modern skills across global and workspace configurations. Scans for existing workflows, creates target SKILL.md files, and safely archives old workflow files.

asgeirtj/system_prompts_leaks星标 70,411(GitHub 70,411 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 将旧工作流迁移为技能
  • 一并整理全局设置中的工作流
  • 检查哪些文件已完成迁移
  • 备份原始工作流文件

中文介绍

功能

此技能会扫描全局设置和工作区中的旧版工作流文件及 workflows.json 清单,并检查目标技能是否已经存在。对于尚未迁移的工作流,它会整理标题和说明,生成标准的 SKILL.md,同时保留原有指令、参数和规范。如果存在同名技能文件,技能会保留该文件,不会覆盖。迁移完成后,旧工作流文件会改名为 .md.bak 作为备份,清单中已迁移的条目也会被移除。最后会汇总新建的技能、因已有文件而跳过的项目,以及备份文件。

适用场景

.agents/workflows 等位置还留有旧版工作流,需要转换为技能时,可以使用此技能。如果文件分散在多个工作区或全局设置中,也可以用它查看迁移状态和文件位置。

使用示例

  • “请将此工作区中的旧工作流迁移为技能。”
  • “请把全局设置也纳入检查,整理仍需迁移的文件。”
  • “请检查迁移状态,并备份原始文件。”

注意事项

此技能会搜索、读取、写入和重命名文件,因此需要能够访问待迁移的设置目录。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
A良好不会覆盖已有技能,也不会删除原文件,而是将其备份。
安装难易度所需工具和 API 密钥是否少且有说明
A良好资料明确要求能够访问目标设置目录。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月30日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md5.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Migrate Workflows to Skills

Use this skill to autonomously migrate legacy workflow files to modern skills.

Workflows (.agents/workflows/*.md or _agents/workflows/*.md) are deprecated.
Skills (.agents/skills/<name>/SKILL.md or _agents/skills/<name>/SKILL.md) provide all the capabilities of workflows, plus:

  • First-class slash command support (typing /<name> in the chat input box).
  • Semantic agent discovery (the agent can automatically invoke the skill when relevant).
  • Multi-file capabilities (supporting helper scripts, templates, and references).

Instructions for the Agent

When this skill is invoked, you must execute the migration automatically by performing the following steps:

Step 1: Discover Existing Workflows

Scan global and workspace (if applicable) configuration directories using filesystem search tools for legacy .md workflow files and workflows.json manifests:

  1. Global Workflows:

    • ~/.gemini/config/global_workflows/*.md
    • ~/.gemini/config/workflows/*.md
    • Manifests: ~/.gemini/config/workflows.json
  2. Workspace Workflows (for each open workspace root and parent
    directories):

    • <workspace_root>/.agents/workflows/*.md
    • <workspace_root>/_agents/workflows/*.md
    • <workspace_root>/.agent/workflows/*.md
    • <workspace_root>/_agent/workflows/*.md
    • Manifests:
      <workspace_root>/{.agents,_agents,.agent,_agent}/workflows.json

[!NOTE]
OS-Specific Path and Output Formatting:

  • Adapt path resolution to the host OS (%USERPROFILE% on Windows vs. $HOME on macOS/Linux).
  • When presenting tables, progress, or summaries to the user, always format paths using the host OS path separators (e.g. \ on Windows such as %USERPROFILE%\.gemini\config\global_workflows\<name>.md, / on macOS/Linux).

Check each discovered workflow against existing skills: For each workflow, check if <target_skill_dir>/<name>/SKILL.md already exists to determine whether it has already been migrated.

Present the discovered workflows, their migration targets, and status:

ScopeWorkflow NameSource PathTarget Skill PathStatus
Global<name>~/.gemini/config/global_workflows/<name>.md~/.gemini/config/skills/<name>/SKILL.mdPending / Already Migrated
Global<name>~/.gemini/config/workflows/<name>.md~/.gemini/config/skills/<name>/SKILL.mdPending / Already Migrated
Workspace<name><workspace>/.agents/workflows/<name>.md<workspace>/.agents/skills/<name>/SKILL.mdPending / Already Migrated
Workspace<name><workspace>/_agents/workflows/<name>.md<workspace>/_agents/skills/<name>/SKILL.mdPending / Already Migrated
  • If no workflow files are found (or all have already been cleaned up), inform the user that their workspace and global configs are already clean.
  • If all workflows are Already Migrated, inform the user that target SKILL.md files already exist and proceed directly to archiving/cleaning up the remaining legacy files without overwriting existing skills.

Step 2: Convert Each Workflow to a Skill (Idempotent Execution)

For each workflow file:

  1. Check existing skill (Overwrite Protection):

    • If <target_dir>/<name>/SKILL.md already exists, do not overwrite
      it
      (preserves any manual edits or improvements made after prior
      migrations). Skip to Step 2.4 (cleanup/archiving).
    • If <target_dir>/<name>/SKILL.md does not exist, proceed with
      conversion.
  2. Read and format the source workflow:

    • Read the source .md file content.

    • Inspect existing frontmatter (if any) and markdown body.

    • Extract the workflow's title, description, or purpose from the content.

    • Ensure standard YAML frontmatter with name and description:

      ---
      name: <name>
      description: <concise one-sentence description of what the skill does and when to use it>
      ---
      
      # <Title>
      
      <Workflow instructions and guidelines>
      
    • Retain all prompt instructions, arguments, and guidelines from the
      original workflow.

  3. Write the target skill file:

    • Create the directory: <target_dir>/<name>/ (e.g.
      <workspace>/.agents/skills/<name>/ or
      ~/.gemini/config/skills/<name>/)
    • Write the file: <target_dir>/<name>/SKILL.md
  4. Archive the legacy workflow safely:

    • Rename the old .md workflow file to <name>.md.bak (e.g. using mv my_workflow.md my_workflow.md.bak on Linux/macOS, or using Move-Item /
      file tools on Windows). Do not permanently delete the file so that the
      original content is safely preserved as a backup.
    • Remove migrated workflow entries from any workflows.json manifests.

Step 3: Verify and Confirm

  1. Confirm all target SKILL.md files exist and legacy workflows have been renamed to .md.bak.
  2. Inform the user of the final summary:
    • Newly migrated skills (SKILL.md).
    • Previously migrated skills skipped (preserved existing SKILL.md
      files).
    • Legacy workflow files safely archived as .md.bak.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

3d-object

免费有简介

使用three.js创建立体模型,在交互式查看器中从各个角度检查形状和材质,并以OBJ + MTL或GLB格式保存,供其他三维制作软件使用。

  • 创建立体模型并从各个角度检查
  • 制作可在Blender中继续编辑的模型
  • 检查模型轮廓和材质效果
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

Audit web accessibility with Chrome DevTools MCP and Lighthouse. Inspect semantic structure, labels, keyboard focus, tap target size, and color contrast, then identify page elements that may need changes based on web.dev guidance.

中文简介正在准备中。当前显示英语简介。

  • Finding missing labels or image alternatives
  • Checking heading structure and reading order
  • Testing keyboard navigation and modal focus
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

action-items

免费有简介

在个人任务清单中记录待办事项、承诺、期限、下一步、待回复对象和阻碍原因,更新进度与依赖关系,合并重复项并归档已结束的任务。

  • 记录有期限的任务与承诺
  • 整理待回复事项及阻碍原因
  • 前置任务完成后更新依赖关系
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

agents

免费

Coordinate a task from a verifiable goal through completion. Handle work directly or split independent tasks across separate agent sessions, track progress, verify results, and arrange pull request merging when included in the goal.

中文简介正在准备中。当前显示英语简介。

  • Split independent tasks across agents
  • Check progress across ongoing tasks
  • Resume a previously started project
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

agy-customizations

免费有简介

了解 Antigravity 如何发现和加载自定义配置,包括配置位置与优先级。借助本指南选择并创建技能、规则、插件、钩子或 MCP 服务器,用于智能体工作流程和外部工具连接。

  • 选择合适的自定义配置类型
  • 查看配置的发现位置和加载顺序
  • 创建技能或规则
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

animated-video

免费有简介

将动画制作成可播放、暂停和定位时间的HTML页面,通过时间轴调整场景时长与速度,并为横屏或竖屏视频导出做好准备。

  • 制作产品操作演示动画
  • 用文字和图形解释内容
  • 制作竖屏动画
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

查看 asgeirtj 的全部技能

报告此技能的问题