n8n-conventionsβ–Œ

n8n-io/n8n Β· updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/n8n-io/n8n --skill n8n-conventions
0 commentsdiscussion
summary

πŸ“š Full Documentation:

skill.md

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

Commands:

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

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 to use n8n-conventions

How to use n8n-conventions on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • β€ΊCursor installed and configured on your development machine
  • β€ΊNode.js version 16.0+ with npm package manager (verify with node --version)
  • β€ΊActive project directory or workspace where you want to add n8n-conventions
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/n8n-io/n8n --skill n8n-conventions

The skills CLI fetches n8n-conventions from GitHub repository n8n-io/n8n and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

β—† Which agents do you want to install to?
β”‚
β”‚ ── Universal (.agents/skills) ── always included ────
β”‚ β€’ Amp
β”‚ β€’ Antigravity
β”‚ β€’ Cline
β”‚ β€’ Codex
β”‚ ●Cursor(selected)
β”‚ β€’ Cursor
β”‚ β€’ Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/n8n-conventions

Reload or restart Cursor to activate n8n-conventions. Access the skill through slash commands (e.g., /n8n-conventions) or your agent's skill management interface.

⚠

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED β†’

Use Casesβ–Œ

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

βœ“

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

βœ“

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

βœ“

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

βœ“

Save 3-5 hours/week on communication overhead

Implementation Guideβ–Œ

Prerequisites

  • β€ΊClaude Desktop or compatible AI client
  • β€ΊAccess to product documentation and roadmap tools (Jira, Notion, etc.)
  • β€ΊUnderstanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • β€ΊStakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • ⚠Not validating competitive researchβ€”verify facts before sharing
  • ⚠Accepting user stories without involving engineering team
  • ⚠Over-relying on frameworks without qualitative judgment
  • ⚠Not customizing outputs to company culture and communication style
  • ⚠Skipping stakeholder validation of generated requirements

Best Practicesβ–Œ

βœ“ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

βœ— Don't

  • βˆ’Don't publish competitive analysis without fact-checking
  • βˆ’Don't finalize user stories without engineering review
  • βˆ’Don't make prioritization decisions solely on AI scoring
  • βˆ’Don't skip customer validation of generated requirements
  • βˆ’Don't ignore company-specific context and culture

πŸ’‘ Pro Tips

  • β˜…Provide context: company goals, constraints, customer feedback
  • β˜…Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • β˜…Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • β˜…Use skill for 70% generation + 30% customization to company needs

When to Use Thisβ–Œ

βœ“ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

βœ— Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Pathβ–Œ

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet β€” start the thread.
general reviews

Ratings

4.8β˜…β˜…β˜…β˜…β˜…68 reviews
  • β˜…β˜…β˜…β˜…β˜…Charlotte BrownΒ· Dec 28, 2024

    Solid pick for teams standardizing on skills: n8n-conventions is focused, and the summary matches what you get after install.

  • β˜…β˜…β˜…β˜…β˜…Yusuf BhatiaΒ· Dec 28, 2024

    n8n-conventions fits our agent workflows well β€” practical, well scoped, and easy to wire into existing repos.

  • β˜…β˜…β˜…β˜…β˜…Charlotte ChawlaΒ· Dec 28, 2024

    n8n-conventions reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • β˜…β˜…β˜…β˜…β˜…Chaitanya PatilΒ· Dec 16, 2024

    Registry listing for n8n-conventions matched our evaluation β€” installs cleanly and behaves as described in the markdown.

  • β˜…β˜…β˜…β˜…β˜…Henry VermaΒ· Dec 12, 2024

    I recommend n8n-conventions for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • β˜…β˜…β˜…β˜…β˜…Layla OkaforΒ· Dec 4, 2024

    We added n8n-conventions from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • β˜…β˜…β˜…β˜…β˜…Omar IyerΒ· Nov 27, 2024

    n8n-conventions is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • β˜…β˜…β˜…β˜…β˜…Omar MenonΒ· Nov 23, 2024

    Keeps context tight: n8n-conventions is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • β˜…β˜…β˜…β˜…β˜…Charlotte ShahΒ· Nov 19, 2024

    n8n-conventions has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • β˜…β˜…β˜…β˜…β˜…Emma LiΒ· Nov 19, 2024

    I recommend n8n-conventions for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

showing 1-10 of 68

1 / 7