Agent SkillsDotHarness/dotcraft › workflow-authoring

workflow-authoring

GitHub

用于编写、编辑、审查和调试 DotCraft Dynamic Workflow JavaScript 脚本。指导如何遵循运行时契约,保持元数据不变性,并正确引用参考文档以完成工作流创建与故障诊断。

src/DotCraft.Core/Skills/BuiltIn/workflow-authoring/SKILL.md DotHarness/dotcraft

触发场景

创建或修改工作流脚本 检查工作流正确性 诊断工作流运行合同失败

安装

npx skills add DotHarness/dotcraft --skill workflow-authoring -g -y
更多选项

非标准路径

npx skills add https://github.com/DotHarness/dotcraft/tree/main/src/DotCraft.Core/Skills/BuiltIn/workflow-authoring -g -y

不安装直接使用

npx skills use DotHarness/dotcraft@workflow-authoring

指定 Agent (Claude Code)

npx skills add DotHarness/dotcraft --skill workflow-authoring -a claude-code -g -y

安装 repo 全部 skill

npx skills add DotHarness/dotcraft --all -g -y

预览 repo 内 skill

npx skills add DotHarness/dotcraft --list

SKILL.md

Frontmatter
{
    "name": "workflow-authoring",
    "description": "Write, edit, review, or debug DotCraft Dynamic Workflow JavaScript. Use when creating or changing an inline or saved Workflow script, checking it for correctness, or diagnosing authoring and runtime-contract failures; do not use merely to run an existing saved Workflow unchanged."
}

Workflow Authoring

Use DotCraft's current Workflow contract as the authority. Do not copy APIs or metadata shapes from other workflow runtimes.

Read the matching reference

Preserve these invariants

  • Start with a literal export const meta and explicitly return plain JSON data.
  • Keep enumeration, identity, ordering, deduplication, bounds, and failure accounting in JavaScript; delegate semantic work to Agents.
  • Give every intended Agent operation a stable, unique label and preserve its work ID before filtering results.
  • Treat null as missing coverage, not as a negative finding or successful check.
  • Bound fan-out and loops to the task. Do not invent token or time limits the user did not request.
  • Use only APIs documented by this skill and names supplied by the current DotCraft context.

版本历史

  • 2020ce0 当前 2026-08-13 10:44

同 Skill 集合

src/DotCraft.Core/Skills/BuiltIn/create-hooks/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/cron/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/heartbeat/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/memory/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/plugin-creator/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/skill-authoring/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/skill-installer/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/visualize/SKILL.md
src/DotCraft.TraceViewer/Skills/BuiltIn/trace-review/SKILL.md

元信息

文件数
0
版本
a9fd064
Hash
48997b3c
收录时间
2026-08-13 10:44

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-18 16:36
浙ICP备14020137号-1