Agent SkillsDotHarness/dotcraft › workflow-authoring

workflow-authoring

GitHub

用于编写、编辑、审查和调试 DotCraft 动态工作流 JavaScript 脚本。指导在创建或修改工作流时遵循特定契约,确保数据格式正确及 Agent 协作稳定,适用于工作流编排与开发任务。

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

Trigger Scenarios

创建工作流脚本 编辑现有工作流逻辑 审查工作流代码正确性 诊断工作流运行时错误

Install

npx skills add DotHarness/dotcraft --skill workflow-authoring -g -y
More Options

Non-standard path

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

Use without installing

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.

Version History

  • 2020ce0 Current 2026-08-13 10:44

Same Skill Collection

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

Metadata

Files
0
Version
739f652
Hash
48997b3c
Indexed
2026-08-13 10:44

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-17 16:27
浙ICP备14020137号-1 $Map of visitor$