getartisanflow/wireflow/alpineflow-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 interactive flow diagrams with AlpineFlow. Covers core directives, the $flow API, animation/timeline, theming, layout addons, the schema (ER/table) addon, the workflow (run/condition/replay) addon, and whiteboard tools. Activates when working with x-flow-* directives, x-schema-* inspectors, flowCanvas(), $flow or $workflowRun magic, or flow diagram features.
Install
npx vskill@latest install getartisanflow/wireflow/alpineflow-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/alpineflow-development.
AlpineFlow Development
When to Apply
Activate this skill when:
- Creating or modifying flow diagrams with
x-flow-*directives - Working with
flowCanvas()configuration - Using
$flowmagic methods - Styling flows with
--flow-*CSS variables - Implementing whiteboard drawing tools
- Adding animation, timeline, or particle effects
- Configuring auto-layout algorithms (dagre/force/hierarchy/elk)
- Building schema / ER / table diagrams (
x-flow-schema, the schema addon) - Building workflow / execution diagrams (
x-flow-condition,x-flow-wait, the workflow addon's run/replay API)
Documentation
Use search-docs for detailed API reference. The docs at https://artisanflow.dev/docs/alpineflow are the source of truth for configuration options, directive props, event payloads, and CSS variables.
Critical Rules
1. Always use flow-container class
The container element MUST have class="flow-container". Without it, CSS variables don't apply and positioning breaks:
2. Never set position: relative on custom node classes
The .flow-node class sets position: absolute. Any custom class that sets position: relative will override it, causing nodes to stack in document flow instead of being absolutely positioned:
If child elements need a positioning context, .flow-node itself is already position: absolute which serves as a positioned ancestor.
3. Alpine scope isolation on x-data elements
Directives and expressions on the SAME element as x-data evaluate in THAT element's scope only. They do NOT see parent x-data scopes:
4. toolSettings must be a scope property, not config
Drawing directives read toolSettings from Alpine.$data(el), not from the config object:
5. Freehand paths use fill, not stroke
The flow-freehand-end event produces a filled outline path via perfect-freehand. Render with fill, not stroke:
6. SVG annotations need overflow:visible
Annotation SVGs render at flow coordinates from a 1x1 container:
7. Panel CSS class selector
When checking if a click target is inside a panel, use .flow-panel class, not [x-flow-panel] attribute:
8. viewportCulling defaults to 'auto'
Culling turns on automatically once the node count reaches cullingAutoThreshold (150) — off-screen nodes and edges get display:none. It is no longer opt-in. Set false to always render everything, or true to cull at any count:
9. update() vs animate()
update() is the core method (instant by default). animate() is a wrapper with 300ms default:
10. Size the container via containerHeight, not Tailwind h-full
.flow-container height comes from height: var(--flow-container-height, 400px) — an unlayered rule. Tailwind v4 puts utilities like h-full in @layer utilities (lower cascade priority), so h-full silently loses and the container stays stuck at the 400px default (whitespace gap below the canvas). Set the height the canonical way:
Common Patterns
Minimal flow
Whiteboard with all tools
The drawing directives below require the whiteboard addon — they are NOT in core. Register it or every x-flow-*-draw/-freehand/-eraser attribute is a no-op: import AlpineFlowWhiteboard from '@getartisanflow/alpineflow/whiteboard'; Alpine.plugin(AlpineFlowWhiteboard).
Event listeners needed for ALL tools: flow-freehand-end, flow-highlight-end, flow-rectangle-draw, flow-arrow-draw, flow-circle-draw, flow-text-draw. Each creates an annotation node with class: 'flow-node-annotation'. See whiteboard addon docs for complete event handler and node template code for every tool type.
Timeline animation
Path motion
Move nodes along curves with followPath on animate() or in timeline steps:
Built-in path functions: orbit(), wave(), along(), pendulum(), drift(), stagger(). Search docs for full options.
Edge with draw-in animation
Whole-graph replace
Swap the entire graph atomically. Both methods return Promise<void> that resolves once the new nodes are measured — so an immediate fitView() actually fits (no manual nextFrame):
This is the first-class replacement for the old $clear() + addNodes() workaround. Server-callable via the flow:replaceNodes / flow:setNodes wire commands.
React only to user intent (change origin)
nodes-change / edges-change carry an origin so you can tell a user drop from your own API write:
Config callbacks receive the canvas context
Every config callback gets the canvas context (the same object as $flow) as an optional second argument — no global reference needed:
The context is passed as an argument only; it is never added to the event detail, which stays a plain serializable object for the DOM CustomEvent.
v0.2.1-alpha surface
Reference for the newer canvas surface — verify signatures against the docs, don't guess:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingresources/boost/skills/alpineflow-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/alpineflow-development)