N8

n8n-conventions

A quick reference guide for using n8n, covering standard patterns, best practices, and project structure.

Install

mkdir -p .claude/skills/n8n-conventions && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/935" && unzip -o skill.zip -d .claude/skills/n8n-conventions && rm skill.zip

Installs to .claude/skills/n8n-conventions

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Quick reference for n8n patterns. Full docs /AGENTS.md
54 charsno explicit “when” trigger
Beginner

Key capabilities

  • Reference n8n TypeScript conventions
  • Identify n8n error handling patterns
  • Consult n8n frontend development guidelines
  • Review n8n backend architecture patterns
  • Understand n8n testing frameworks and practices
  • Examine n8n database usage policies

How it works

The skill provides a quick reference to critical n8n development patterns and rules across TypeScript, error handling, frontend, backend, testing, and database usage.

Inputs & outputs

You give it
Query about n8n development patterns or conventions
You get back
Specific n8n convention, code example, or best practice

When to use n8n-conventions

  • Identify best practices for workflow design
  • Review naming conventions for nodes and triggers
  • Consult configuration patterns for n8n projects

About this skill

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 (<script setup lang="ts">)
  • CSS variables (never hardcode px) - see /packages/frontend/AGENTS.md
  • All text via i18n ($t('key'))
  • data-testid for E2E (single value, no spaces)

Backend:

  • Controller → Service → Repository
  • Dependency injection via @n8n/di
  • Config via @n8n/config
  • Zod schemas for validation

Testing:

  • Vitest (unit), Playwright (E2E)
  • Mock external dependencies
  • Work from package directory: pushd packages/cli && pnpm test

Database:

  • SQLite/PostgreSQL only (app DB)
  • Exception: DB nodes (MySQL Node, etc.) can use DB-specific features

GitHub Workflows:

  • Every workflow declares a least-privilege top-level permissions: block (usually contents: read); jobs needing more override at job level

Commands:

pnpm build > build.log 2>&1  # Always redirect
pnpm typecheck               # Before commit
pnpm lint                    # Before commit

Secrets: pnpm command lines may be recorded verbatim (opt-in dev metrics) — pass sensitive values via env vars, never inline on the command line.

Key Packages

PackagePurpose
packages/cliBackend API
packages/frontend/editor-uiVue 3 frontend
packages/@n8n/api-typesShared types
packages/@n8n/dbTypeORM entities
packages/workflowCore interfaces

Common Patterns

Pinia Store:

import { STORES } from '@n8n/stores';
export const useMyStore = defineStore(STORES.MY_STORE, () => {
  const state = shallowRef([]);
  return { state };
});

Vue Component:

<script setup lang="ts">
type Props = { title: string };
const props = defineProps<Props>();
</script>

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

How it compares

This skill offers a centralized, quick reference for n8n development standards, contrasting with searching through full documentation or inferring from existing codebases.

Compared to similar skills

n8n-conventions side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
n8n-conventions (this skill)327dReviewBeginner
n8n-node-configuration72moNo flagsIntermediate
n8n-mcp-orchestrator78moNo flagsAdvanced
superpowers-rest-automation16moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

n8n-node-configuration

czlonkowski

Operation-aware node configuration guidance. Use when configuring nodes, understanding property dependencies, determining required fields, choosing between get_node_essentials and get_node_info, or learning common configuration patterns by node type.

7108

n8n-mcp-orchestrator

manutej

Expert MCP (Model Context Protocol) orchestration with n8n workflow automation. Master bidirectional MCP integration, expose n8n workflows as AI agent tools, consume MCP servers in workflows, build agentic systems, orchestrate multi-agent workflows, and create production-ready AI-powered automation pipelines with Claude Code integration.

795

superpowers-rest-automation

anthonylee991

Builds reliable automations that integrate with REST APIs: auth, pagination, retries, rate limits, idempotency, webhooks, data mapping, and safe error handling. Use when calling external APIs, syncing systems, or building ETL-style workflows.

15

connect

ComposioHQ

Connect Claude to any app. Send emails, create issues, post messages, update databases - take real actions across Gmail, Slack, GitHub, Notion, and 1000+ services.

27

zapier-make-patterns

davila7

No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points. This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power

326

granola-sdk-patterns

jeremylongshore

Zapier integration patterns and automation workflows for Granola. Use when building automated workflows, connecting Granola to other apps, or creating custom integrations via Zapier. Trigger with phrases like "granola zapier", "granola automation", "granola integration patterns", "granola SDK", "granola API".

13

Search skills

Search the agent skills registry