Skills Plugins MCP Prompt Model 博客 我的中心

n8n-conventions

Quick reference for n8n patterns. Full docs /AGENTS.md

DeepseekModel 官方收录技能 ★ 精选 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=n8n-io-n8n-agents-skills-conventions-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name n8n:conventions description Quick reference for n8n patterns. Full docs /AGENTS.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) Technical writing (comments, PRs, issues, docs): Write in ASD-STE100 Simplified Technical English: short sentences, the active voice, one instruction for each sentence 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 Pagination args: use offset + limit in controllers and services; translate to TypeORM skip / take only inside repositories 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 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
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。