getartisanflow/wireflow/wireflow-development
Claude Code and agent skill by getartisanflow/wireflow
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Build flow diagrams with WireFlow Blade components and Livewire integration. Covers the <x-flow> canvas plus schema-designer and workflow Blade components, the WithWireFlow and WithSchemaDesigner traits, server-side flow control, and WireFlow-specific patterns. Activates when working with <x-flow>, <x-flow-schema-node> / <x-schema-*-inspector>, workflow run/replay components, WithWireFlow or WithSchemaDesigner methods, or Livewire flow diagrams.
Install
npx vskill@latest install getartisanflow/wireflow/wireflow-developmentSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as getartisanflow/wireflow/wireflow-development.
WireFlow Development
When to Apply
Activate this skill when:
- Using
<x-flow>or any<x-flow-*>Blade components - Using the
WithWireFlowtrait in Livewire components - Handling flow events on the server (onConnect, onNodeClick, etc.)
- Configuring WireFlow (theme, asset injection)
- Using convenience methods (flowConnect, flowHighlightNode, etc.)
- Combining whiteboard tools with WireFlow's
<x-flow>component - Building a schema/ER designer (
<x-flow-schema-node>,<x-schema-*-inspector>, theWithSchemaDesignertrait) - Building a workflow runner (
<x-flow-run-button>,<x-flow-execution-log>,<x-flow-condition-node>,flowRun/flowSetNodeState)
Also activate the alpineflow-development skill — WireFlow wraps AlpineFlow, and the AlpineFlow rules apply.
Documentation
Use search-docs for detailed API reference. The docs at https://artisanflow.dev/docs/wireflow cover components, trait methods, configuration, and events. For AlpineFlow-specific features (directives, CSS variables, animation API), search https://artisanflow.dev/docs/alpineflow.
Critical Rules
1. Don't import Alpine separately
Livewire bundles Alpine. Never import or start Alpine yourself:
2. <x-flow> creates an isolated Alpine scope
The <x-flow> component renders x-data="flowCanvas({...})". Attributes on <x-flow> evaluate in the flowCanvas scope, NOT in parent scopes.
To add custom properties (like tool for whiteboard), use x-init with Object.assign($data, ...):
3. Never use @@event on <x-flow> for custom events
Livewire 4 crashes when parsing custom event names with hyphens via @@. Use $el.addEventListener in x-init instead:
4. toolSettings via config prop does NOT work
Drawing directives read toolSettings from the Alpine scope, not from config:
5. fitViewOnInit not initialFitView
The config option was renamed:
6. Event listeners inside node templates use Alpine @, not Blade @@
Content inside <x-slot:node> is regular Blade, not a component attribute. Use single @:
Blade Components
<x-flow> — Main canvas
Available components
| Component | Purpose | |
|---|---|---|
<x-flow> | Main canvas. Renders wire:ignore by default (wireIgnore=true) so Livewire morphs don't clobber the Alpine-managed canvas — pass :wire-ignore="false" to opt out. Extra props: containerHeight ('fill'/px/CSS length), fullscreenTarget (selector) | |
<x-flow-handle> | Connection handle (type, position, id) | |
<x-flow-panel> | Floating overlay panel (position, resizable). Invalid position throws InvalidArgumentException | |
<x-flow-toolbar> | Node toolbar — position top/bottom/left/right, align start/center/end (flow-relative, NOT left/right), offset, show selected/always. Invalid enum values throw InvalidArgumentException | |
<x-flow-drag-handle> | Restrict drag to element | |
<x-flow-resizer> | Resize handles (min-width, min-height) | |
<x-flow-action> | Action button (type: undo, redo, fit-view, etc.). target = canvas CSS selector when the button lives outside <x-flow> (renders data-flow-target) | |
<x-flow-context-menu> | Right-click menu (scope: node, edge, pane, selection) | |
<x-flow-collapse> | Collapse toggle (instant, all, expand, children) | |
<x-flow-condense> | Condense toggle | |
<x-flow-edge-toolbar> | Edge toolbar — position float 0–1 (point along edge), below bool, show selected/always (invalid show throws), target = canvas selector for out-of-canvas placement | |
<x-flow-loading> | Loading overlay (fade) |
Toolbar/EdgeToolbar enum props are validated by the ValidatesEnumProps trait against src/Enums/* and throw InvalidArgumentException on bad values — so align="left" is an error, not a silent center. Search docs for full prop reference per component.
Schema-designer components
Registered by the provider but separate from the table above (note the prefix split: the node is flow-schema-*, the rest are schema-*):
| Component | Purpose | |
|---|---|---|
<x-flow-schema-node> | Schema/table node renderer (label, fields) — drop into <x-slot:node> | |
<x-schema-designer> | Full schema canvas variant (~30 props; schema-tuned defaults like default-edge-type="avoidant", prevent-cycles, keyboard-connect) | |
<x-schema-field> | Single field row | |
<x-schema-node-inspector> | Selected-node inspector (default-ui) → injects selectedNode + inspector | |
<x-schema-row-inspector> | Selected-field inspector → selectedRow {nodeId, fieldName} + inspector | |
<x-schema-edge-inspector> | Selected-relationship inspector → selectedEdge + inspector |
Workflow components
| Component | Purpose | |
|---|---|---|
<x-flow-condition-node> | Condition/branch node (label, condition, direction, evaluate-label) | |
<x-flow-wait> | Timed wait node (label, duration-ms, icon) | |
<x-flow-run-button> | Start a run (required start-id, options, handlers-key="runHandlers", target) | |
<x-flow-stop-button> / <x-flow-reset-button> | Stop / reset the run (target) | |
<x-flow-replay-controls> | Replay the execution log (handle, target, speeds=[0.5,1,2,4]) | |
<x-flow-execution-log> | Live execution log (source, filter="all", max-events=500) |
Search docs for full prop reference per component.
WithWireFlow Trait
Server-to-client convenience methods
Available convenience methods
| Method | Description | |
|---|---|---|
flowUpdate(targets, options) | Update nodes/edges/viewport (instant) | |
flowAnimate(targets, options) | Animate (300ms smooth default) | |
flowMoveNode(id, x, y, duration?) | Move single node | |
flowUpdateNode(id, changes, duration?) | Update node properties | |
flowFocusNode(id, duration?, padding?) | Pan+zoom to center on node | |
flowConnect(source, target, duration?) | Create edge with optional draw animation | |
flowDisconnect(source, target, duration?) | Remove edge(s) with optional fade | |
flowHighlightNode(id, style, duration?) | Flash preset: success/error/warning/info | |
flowHighlightPath(nodeIds, options) | Fire particles along node sequence | |
flowLockNode(id) / flowUnlockNode(id) | Lock/unlock node | |
flowHideNode(id) / flowShowNode(id) | Hide/show node | |
flowSelectNodes(ids) / flowSelectEdges(ids) | Select specific items |
Available base methods
| Method | Description | |
|---|---|---|
flowFitView() | Fit all nodes | |
flowZoomIn() / flowZoomOut() | Zoom | |
flowSetCenter(x, y, zoom?) | Center viewport | |
flowAddNodes(nodes) / flowRemoveNodes(ids) | Add/remove nodes. Now mutate server-side `$this->nodes` too (when it's a public array) — flowRemoveNodes cascades to descendants (parentId chain) and connected edges, mirroring the client. Delete your manual $nodes filters. | |
flowAddEdges(edges) / flowRemoveEdges(ids) | Add/remove edges. Also mutate server-side $this->edges when present. | |
flowLayout(options) | Apply auto-layout | |
flowUndo() / flowRedo() | History (requires history: true) | |
flowClear() | Destructive — empties nodes/edges and resets the viewport to the origin (dispatches flow:clear; applied immediately). | |
flowSetLoading(bool) | Loading overlay | |
flowPatchConfig(changes) | Update config at runtime | |
flowCollapseNode(id) / flowExpandNode(id) | Collapse/expand |
Run-state, particles & lifecycle (also on WithWireFlow)
| Method | Description | |
|---|---|---|
flowRun(startId, options) | Drive a workflow run from the server (pairs with <x-flow-run-button> / <x-flow-execution-log>) | |
flowSetNodeState(ids, state) / flowResetStates() | Set/clear per-node run state — 'pending' / 'running' / 'completed' / 'failed' / 'skipped' (drives .flow-node-* classes). Distinct from the workflow run state (idle/running/paused/stopped) that flowRun drives. | |
flowSendParticle / flowSendParticleAlongPath / flowSendParticleBetween / flowSendParticleBurst / flowSendConverging | Particle effects | |
flowCancelAll() / flowPauseAll() / flowResumeAll() | Animation lifecycle | |
flowFollow(id) / flowUnfollow() | Camera follow a node | |
flowSetViewport / flowPanBy / flowFitBounds | Viewport control | |
flowFromObject(obj) / flowDeselectAll() / flowToggleInteractive() | Misc |
Event handlers
Declare on <x-flow> as @event-name="methodName":
Use #[Renderless] (Livewire 3.3+ / 4) on methods that only dispatch client-side commands (no re-render needed). On older Livewire 3.x, call $this->skipRender() at the end of the method instead.
onNodesChange / onEdgesChange receive array $changes that now carries an `origin` key — filter on it to persist only user intent:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingresources/boost/skills/wireflow-development/SKILL.md
Popularity
- Repository stars
- 93
- Repository forks
- 3
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/getartisanflow/wireflow/wireflow-development)