global-coding-style
为n8n节点编写TypeScript代码,遵循适当的命名约定、文件组织、导入排序和类型安全模式。在创建或编辑.node.ts文件、.credentials.ts文件、辅助文件或n8n社区节点包中的任何TypeScript文件时使用此技能。在命名类、定义节点属性、组织导入、确保类型安全或构建n8n节点包结构时应用。
📖 中文导读:为n8n节点编写TypeScript代码,遵循适当的命名约定、文件组织、导入排序和类型安全模式。在创建或编辑.node.ts文件、.credentials.ts文件、辅助文件或n8n社区节点包中的任何TypeScript文件时使用此技能。在命名类、定义节点属性、组织导入、确保类型安全或构建n8n节点包结构时应用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: Global Coding Style description: Write TypeScript code for n8n nodes following proper naming conventions, file organization, import ordering, and type safety patterns. Use this skill when creating or editing .node.ts files, .credentials.ts files, helper files, or any TypeScript files in an n8n community node package. Apply when naming classes, defining node properties, organizing imports, ensuring type safety, or structuring n8n node packages.
When to use this skill:
- When creating new n8n node files (*.node.ts)
- When creating or editing credential files (*.credentials.ts)
- When naming classes, files, or packages in an n8n node project
- When organizing imports in TypeScript files
- When defining INodeProperties arrays
- When ensuring type safety with n8n-workflow types
- When structuring an n8n community node package directory
- When writing JSDoc comments for exported functions
- When refactoring existing n8n node code
Global Coding Style
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle global coding style.
Instructions
For details, refer to the information provided in this file: global coding style