workflow-json
Use when adding, replacing, validating, or linking ComfyUI workflow JSON files under src/workflows, including article workflow references and reproducibility checks.
SKILL.md.claude/skills/workflow-json/SKILL.md
GitHubWorkflow JSON
Rules
- Workflow JSON files live under
src/workflows/<section-or-type>/<slug>/. - Keep workflow files reproducible enough for a third party to load and understand the documented result.
- Do not edit unrelated workflow JSONs.
- Remove Windows
Zone.Identifiersidecar files if they appear in the worktree. - Keep article links and workflow file paths in sync.
Workflow
- Identify the owning article slug and section.
- Place JSON files in the matching workflow folder.
- Validate changed JSON files before build.
- Check all article links to the workflow files.
- If workflow behavior changes the article claim, update the article text too.
Checks
npm run check:workflowsnpm run check:contentnpm run build
For a single file during iteration:
node -e "JSON.parse(require('node:fs').readFileSync(process.argv[1], 'utf8'))" path/to/workflow.json
Pipeline
Part of the article pipeline in article-authoring, alongside ia-nav-adr when placement or slug changes.
File naming follows /ops/style-writing.md section 08 — the same rule as media originals. Check sibling folders before inventing a spelling.
Check the result on localhost with preview-site before release-check.