Agent Skills
› DotHarness/dotcraft
› workflow-authoring
workflow-authoring
GitHub用于编写、编辑、审查和调试 DotCraft 动态工作流 JavaScript 脚本。指导在创建或修改工作流时遵循特定契约,确保数据格式正确及 Agent 协作稳定,适用于工作流编排与开发任务。
Trigger Scenarios
创建工作流脚本
编辑现有工作流逻辑
审查工作流代码正确性
诊断工作流运行时错误
Install
npx skills add DotHarness/dotcraft --skill workflow-authoring -g -y
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
- For every script-writing or editing task, read references/runtime.md first.
- For topology selection or a new orchestration design, also read references/patterns.md.
- For review, diagnosis, repair, or resume-sensitive edits, also read references/review-debug.md.
Preserve these invariants
- Start with a literal
export const metaand 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
nullas 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


