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.zipInstalls 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.mdKey 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
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→ useunknown - Prefer
satisfiesoveras(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-testidfor 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 (usuallycontents: 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
| Package | Purpose |
|---|---|
packages/cli | Backend API |
packages/frontend/editor-ui | Vue 3 frontend |
packages/@n8n/api-types | Shared types |
packages/@n8n/db | TypeORM entities |
packages/workflow | Core 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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| n8n-conventions (this skill) | 3 | 27d | Review | Beginner |
| n8n-node-configuration | 7 | 2mo | No flags | Intermediate |
| n8n-mcp-orchestrator | 7 | 8mo | No flags | Advanced |
| superpowers-rest-automation | 1 | 6mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by n8n-io
View all by n8n-io →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.
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.
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.
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.
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
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".