Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds production-ready ReactFlow (@xyflow/react v12) apps with hierarchical navigation, performance tuning, and state management.
46% 88%+42 ptsof test cases passed
Passed 21 of 24 test cases with the skill, and 11 of 24 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
This file contains the detailed procedure and reference material extracted from
SKILL.mdfor focused loading. The root skill defines activation, examples, safety constraints, and limitations.
Examples target @xyflow/react v12. Fragments need host React imports/types and measured node sizes; they are not one complete application. Import the stylesheet and give the graph container a nonzero size as in the root. Validate node IDs, endpoints and hierarchy from external data; render labels as text and never trust imported HTML/URLs.
Create basic interactive graph:
import { ReactFlow, type Node, type Edge } from "@xyflow/react";
const nodes: Node[] = [
{ id: "1", position: { x: 0, y: 0 }, data: { label: "Node 1" } },
{ id: "2", position: { x: 100, y: 100 }, data: { label: "Node 2" } },
];
const edges: Edge[] = [{ id: "e1-2", source: "1", target: "2" }];
export default function Graph() {
return <ReactFlow nodes={nodes} edges={edges} />;
}
Build expandable/collapsible tree structures with parent-child relationships.
interface TreeNode extends Node {
data: {
label: string;
level: number;
hasChildren: boolean;
Next to this one in the catalogue, plus more from the same author.