global-coding-style
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 & Why to Use This Skill
This Claude skill streamlines the development of n8n nodes by enforcing standardized TypeScript coding practices. It ensures that custom integrations and community nodes adhere to official naming conventions, file structures, and type safety patterns, significantly improving code maintainability and reducing deployment errors within the n8n ecosystem.
Use Cases
- Creating new n8n node files (*.node.ts) with standardized class definitions and property arrays.
- Developing and editing credential files (*.credentials.ts) to ensure secure and consistent authentication handling.
- Implementing robust type safety across node packages using specific n8n-workflow types.
- Organizing TypeScript imports and directory structures for n8n community node packages to meet distribution standards.
- Refactoring legacy n8n code to align with modern global coding styles and JSDoc documentation requirements.
| 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