跳到正文
Skillpedia
自动化48k · #6203

workflow-yylo

它能做什么

这个系统帮助你安全地组织和管理“工作流”(即一系列任务)。它确保工作流定义被正确存储,执行过程单独处理,并保留运行记录,且不会与原始定义混在一起。

适用场景

  • ✓当你需要安全地创建或更新工作流时。
  • ✓为了确保工作流的定义、执行过程和结果始终清晰分离。
  • ✓当你查找已有工作流,想了解它们的作用时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/workflow-yylo/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/workflow-yylo/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“搜索“发布验证”相关的工作流。”

每周 5 个新技能,1 分钟读完。

工作原理

系统使用“账本”(一种安全记录)来存储和校验工作流定义。独立的“运行器”负责执行这些工作流,执行结果则以“证据”的形式保存在别处。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Use YYLO workflow Records

Treat Ledger as the source of truth for workflow identity, validated definition, and revision history. Use yy ledger in a YYLO controller or yylo-ledger standalone. Inspect COMMAND workflow --help; if the namespace is absent, do not invent it or edit Ledger storage directly.

Keep three boundaries distinct

  1. Ledger stores and validates workflow data. It does not execute workflows.
  2. A separately selected YYLO runner executes reviewed workflow data. Storage does not grant execution, network, mutation, release, or deployment authority.
  3. Artifact Records retain run evidence. Do not overwrite the workflow definition with stdout, logs, model output, reports, or receipts.

The read-only Ledger host also has no workflow execution endpoint.

Discover and inspect

yy ledger workflow search --text "release verification" --projection summary --limit 20 -f json
yy ledger workflow get RECORD_ID -f json
yy ledger workflow get RECORD_ID --raw
yy ledger workflow get RECORD_ID --validated

Prefer immutable IDs after discovery. Use bounded projections and explicit archive scope. --validated emits normalized YAML only after schema validation.

Author safe workflow data

A workflow v1 document requires a mapping with schema_version: v1, a non-empty workflow_id, and a steps list whose step IDs are non-empty and unique.

schema_version: v1
workflow_id: focused-validation
steps:
  - id: test
    command: ["npm", "test"]

Create through file/stdin transport:

yy ledger workflow create --title "Focused validation" --file workflow.yaml

Ledger rejects unsafe or non-portable YAML, including duplicate keys, aliases, anchors, explicit tags, recursive structures, non-string mapping keys, implicit date/time values, non-finite numbers, CRLF input, and unsupported values. Never weaken validation by storing executable shell as an unvalidated substitute.

Revise safely

Read the current revision and history, then follow the installed workflow update --help compare-and-replace contract. Bind updates to the expected revision and preimage/digests, validate the result, and read it back. On drift, stop and reconcile instead of forcing. Archive is non-destructive.

Before execution, freeze the exact workflow Record ID, revision, payload digest, runner identity, inputs, and granted authorities. After execution, store bounded outputs under artifact-yylo with workflow/run provenance. An execution request never implies merge, release, publication, deployment, or production authority.

Complete request

$ARGUMENTS

When to Use

  • You need to find, create, or revision-safe update validated YYLO Ledger workflow Records.
  • You must keep storage, execution, and run-evidence boundaries explicit.

Limitations

  • Ledger stores and validates workflow data; it never executes workflows and grants no execution, network, mutation, release, or deployment authority.
  • Run evidence belongs in artifact-yylo records with workflow/run provenance - never overwrite the workflow definition with outputs.
  • An execution request never implies merge, release, publication, deployment, or production authority. On revision drift, stop and reconcile instead of forcing.

Example

yy ledger workflow search --text "release verification" --projection summary --limit 20 -f json
yy ledger workflow get RECORD_ID --validated

Adapted from yylo-dev/yylo-skills (MIT) - v2.0.1; frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance.

常见问题

在这里,什么是“工作流”?

它是为完成某项特定任务(比如测试或校验)而定义的一系列步骤或命令。

为什么要把定义、执行和证据分开?

为了保证安全和清晰。定义不应因执行结果而改变;执行过程也不应在未经明确授权的情况下修改定义或访问敏感数据。

如果工作流定义在执行过程中发生变化会怎样?

系统会暂停,并要求你先处理这一差异(即“漂移”),然后才会继续执行,确保你清楚知道正在运行的是哪个版本。

详情

作者的原始描述

Create and maintain validated YYLO Ledger workflow Records while keeping storage, execution, and run evidence as separate explicit boundaries.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6203
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能