Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Creates React Flow custom node components in TypeScript with typed data, handles, and Zustand store integration.
23% 95%+73 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 5 of 22 without it.
3 of 3 safety checks passed
Not used yet
import { Node } from '@xyflow/react';
/**
* {{NodeData}} - Data structure for {{NodeName}}
*
* Extends Record<string, unknown> for React Flow compatibility.
*/
export interface {{NodeData}} extends Record<string, unknown> {
/** Display title for the node */
title: string;
/** Optional description */
description?: string;
// Add additional properties specific to this node type
}
/**
* {{NodeName}} type alias for React Flow
*
* Usage:
* ```typescript
* const node: {{NodeName}} = {
* id: 'unique-id',
* type: '{{nodeType}}',
* position: { x: 0, y: 0 },
* data: { title: 'Example' },
* };
* ```
*/
export type {{NodeName}} = Node<{{NodeData}}, '{{nodeType}}'>;
// Remember to add {{NodeName}} to the AppNode union type in types/index.ts:
// export type AppNode = VideoNode | ImageNode | ... | {{NodeName}};
Published skills whose descriptions closely match this one, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.