corezoid-node-layout

Solid

Auto-arrange the nodes of a Corezoid process into a clean, readable layout — a vertical top-to-bottom business flow with error handling railed off to the right and no overlapping nodes. Use it AUTOMATICALLY on every process YOU built or assembled, as the last step before push-process — never hand-place coordinates by eye (eyeballed grids overlap the moment nodes are taller than the step). Also reach for it whenever the user says a process is unreadable, tangled, ugly, a mess, or that nodes sit on top of each other, or asks to "arrange", "lay out", "tidy up", "make readable", "fix positions", "clean the diagram", "remove the overlaps" — or their equivalents in any language the user speaks. Do NOT silently re-arrange a process the user already positioned — see the "When you MAY re-layout" rules in the body. It only changes x/y coordinates and collapses IF/Delay/error nodes — never edges, logic, conv_id, aliases or node types.

AI & Automation 71 stars 23 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
62
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Auto-Layout Corezoid Process Nodes You make a process **readable**: business logic as a clear vertical spine, error handling collected in a tidy right-hand rail, nothing overlapping. This is the mechanical companion to the positioning rules in `${CLAUDE_PLUGIN_ROOT}/docs/process/node-positioning-best-practices.md` — that doc is the source of truth for *why*; this skill *does it* deterministically. ## When you MAY re-layout — and when you MUST NOT A process's layout is part of how its author reads it. Re-flowing someone's diagram without asking is destructive even though the logic is untouched — it throws away a mental map they are used to. So the rule is about **authorship**, not just readability: - **A process YOU built this session, from scratch → always lay it out.** You own its positions; arrange it cleanly before `push-process`. No need to ask. - **An existing / pulled / user-authored process → do NOT re-layout by default.** Preserve the author's `x`/`y`. This holds even if you just edited it — a user who is used to their arrangement must not find it rearranged. - **When you add nodes to someone else's process** (an edit, not a rebuild): leave the new nodes at `x: 0, y: 0` — `push-process` auto-places them next to their graph neighbours while keeping every existing node where it was (preserve mode; see node-positioning-best-practices.md § Automatic Placement on Push). Do **not** run the whole-process auto-layout — that repositions everything. Full...

Details

Author
corezoid
Repository
corezoid/corezoid-ai-plugin
Created
2 months ago
Last Updated
today
Language
Go
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category