返回 Skill 列表
extension
分类: 开发与工程无需 API Key

Nodes Node Structure

正确地使用ITypeNodeDescription、资源-操作模式以及正确的package.json配置来构建n8n节点。在创建新的*.node.ts文件、定义ITypeNodeDescription属性、实现资源和操作参数、构建触发器节点、将复杂节点组织到actions文件夹中,或配置package.json中的n8n部分时,请运用此技能。当选择声明式与编程式风格之间、设置节点元数据或结构化社区节点包时也应应用此技能。

person作者: jakexiaohubgithub

When to use this skill:

  • When creating new n8n node files (*.node.ts)
  • When defining INodeTypeDescription (displayName, name, icon, group, version)
  • When setting up resource and operation parameters with noDataExpression: true
  • When using displayOptions to conditionally show fields
  • When adding action fields to operations for future compatibility
  • When building trigger nodes (polling or webhook-based)
  • When organizing complex nodes with actions/ folders by resource
  • When defining userOperations and userFields arrays
  • When configuring the "n8n" section in package.json (nodes, credentials paths)
  • When setting subtitle templates for dynamic node labels
  • When specifying inputs, outputs, and credential requirements
  • When deciding between declarative style (REST APIs) and programmatic style (triggers, GraphQL)

Nodes Node Structure

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle nodes node structure.

Instructions

For details, refer to the information provided in this file: nodes node structure