n8n Quick Reference 📚 Full Documentation: General: /AGENTS.md - Architecture, commands, workflows Frontend: /packages/frontend/AGENTS.md - CSS variables, timing Use this skill when you need quick reminders on critical patterns. Critical Rules (Must Follow) TypeScript: Never any → use unknown Prefer satisfies over as (except tests) Shared types in @n8n/api-types Error Handling: import { UnexpectedError } from 'n8n-workflow' ; throw new UnexpectedError ( 'message' , { extra : { context } } ) ; // DON'T use deprecated ApplicationError Frontend: Vue 3 Composition API (
Service: import { Service } from '@n8n/di' ; import { Config } from '@n8n/config' ; @ Service ( ) export class MyService { constructor ( private readonly config : Config ) { } } 📖 Need more details? Read /AGENTS.md and /packages/frontend/AGENTS.md