From light-process
Create a new light-process workflow in folder format. Use when the user wants to scaffold a workflow, start a new DAG, or asks how to lay out workflow.json with nodes and links.
How this skill is triggered — by the user, by Claude, or both
Slash command
/light-process:create-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A workflow is a folder containing `workflow.json` plus one subfolder per node. Use `light init` to scaffold, or create the structure manually.
A workflow is a folder containing workflow.json plus one subfolder per node. Use light init to scaffold, or create the structure manually.
my-workflow/
workflow.json # id, name, network, nodes[], links[]
node-a/
.node.json # id, name, image, entrypoint, setup, I/O schema
index.js # code
lp.js # helper (auto-generated)
lp.d.ts # helper types (auto-generated)
{
"id": "my-workflow",
"name": "My Workflow",
"networks": [],
"networkDefs": [],
"nodes": [{ "id": "node-a", "name": "Node A", "dir": "node-a" }],
"links": [
{
"from": "node-a",
"to": "node-b",
"when": { "status": "ok" },
"data": { "passthrough": "$.output.value" }
}
]
}
light init - scaffold a new workflow in the current directorylight init <name> - scaffold inside <name>/light check <dir> - validate workflow structure (AJV against schema)light describe <dir> - render the DAG with I/O schemas (text + Mermaid HTML)light pack <name> - convert folder to single JSON file (use --keep to preserve folder)light unpack <file> - convert JSON to folderlight list - list all workflows in the current directoryOperators: gt, gte, lt, lte, ne, in, exists, regex, or.
{ "count": { "gt": 5 }, "status": "ok" }
Top-level fields are AND. Use { "or": [...] } for OR logic.
Any link that creates a cycle is a back-link and must declare maxIterations to prevent infinite loops.
If the user has not written the workflow's purpose, inputs, and exit criteria yet, ask them to write a short README first before generating nodes. KISS / YAGNI - do not add nodes "for later".
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub enixcode/plugins --plugin light-process