n8n Development Conventions
Standardizes development workflows and architectural patterns for n8n codebase contributions and extensions.
This skill provides a comprehensive quick-reference guide for developers working on the n8n platform, ensuring strict adherence to project-specific coding standards across both frontend and backend environments. It encapsulates critical TypeScript rules, Vue 3 Composition API patterns, dependency injection practices, and error-handling protocols, while providing immediate access to package structures and testing commands. By using this skill, developers can maintain consistency with the n8n core architecture and avoid common pitfalls like deprecated error classes, hardcoded styling, or improper type usage.
Key Features
01Enforces TypeScript best practices using unknown types and shared api-types.
02Guides backend architecture using Controller-Service-Repository patterns and DI.
03Streamlines testing workflows for Vitest and Playwright within the n8n ecosystem.
04192,046 GitHub stars
05Standardizes frontend development with Vue 3 Composition API and i18n patterns.
06Provides standardized error handling using the UnexpectedError class and Zod validation.
Use Cases
01Implementing new backend services using n8n's internal dependency injection and configuration systems.
02Refactoring existing code to align with latest Vue 3, Pinia, and TypeScript standards.
03Onboarding new contributors to the n8n repository with consistent architectural patterns.