mirror of
https://github.com/czlonkowski/n8n-skills.git
synced 2026-03-16 23:43:08 +00:00
feat: Update skills for n8n-mcp unified tool API (v1.1.0)
BREAKING: Updated all skills to reflect n8n-mcp tool consolidation:
## Tool API Changes
- get_node_essentials → get_node({detail: "standard"})
- get_node_info → get_node({detail: "full"})
- get_node_documentation → get_node({mode: "docs"})
- search_node_properties → get_node({mode: "search_properties"})
- validate_node_minimal → validate_node({mode: "minimal"})
- validate_node_operation → validate_node({mode: "full"})
- get_property_dependencies → REMOVED (use get_node modes)
## New Features Documented
- Workflow activation via API (activateWorkflow/deactivateWorkflow operations)
- n8n_deploy_template - deploy templates directly to n8n
- n8n_workflow_versions - version history and rollback
- n8n_test_workflow - trigger execution
- n8n_executions - manage executions
- Smart parameters (branch, case) for IF/Switch connections
- Intent parameter for better AI responses
## Documentation Updates
- Added YouTube video introduction with thumbnail
- Added GitHub stars badge (1.2k milestone)
- Added build.sh script for dist packaging
- Fixed "5 skills" → "7 skills" inconsistency in README
## Files Updated
- n8n-mcp-tools-expert: Complete rewrite of SKILL.md, SEARCH_GUIDE.md,
VALIDATION_GUIDE.md, WORKFLOW_GUIDE.md
- n8n-node-configuration: Updated SKILL.md, DEPENDENCIES.md
- n8n-validation-expert: Updated SKILL.md, ERROR_CATALOG.md, FALSE_POSITIVES.md
- n8n-workflow-patterns: Updated SKILL.md, README.md
- README.md, CLAUDE.md: Modernized documentation
Conceived by Romuald Członkowski - www.aiadvisors.pl/en
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
180
CLAUDE.md
180
CLAUDE.md
@@ -8,10 +8,10 @@ This is the **n8n-skills** repository - a collection of Claude Code skills desig
|
||||
|
||||
**Repository**: https://github.com/czlonkowski/n8n-skills
|
||||
|
||||
**Purpose**: Create 5 complementary meta-skills that provide expert guidance on using n8n-mcp MCP tools effectively for building n8n workflows.
|
||||
**Purpose**: 7 complementary skills that provide expert guidance on using n8n-mcp MCP tools effectively for building n8n workflows.
|
||||
|
||||
**Architecture**:
|
||||
- **n8n-mcp MCP Server**: Provides data access (525 nodes, validation, templates)
|
||||
- **n8n-mcp MCP Server**: Provides data access (800+ nodes, validation, templates, workflow management)
|
||||
- **Claude Skills**: Provides expert guidance on HOW to use MCP tools
|
||||
- **Together**: Expert workflow builder with progressive disclosure
|
||||
|
||||
@@ -19,120 +19,91 @@ This is the **n8n-skills** repository - a collection of Claude Code skills desig
|
||||
|
||||
```
|
||||
n8n-skills/
|
||||
├── README.md # Project overview
|
||||
├── LICENSE # MIT License
|
||||
├── skills/ # (To be created) Individual skill implementations
|
||||
├── README.md # Project overview with video
|
||||
├── LICENSE # MIT License
|
||||
├── skills/ # Individual skill implementations
|
||||
│ ├── n8n-expression-syntax/
|
||||
│ ├── n8n-mcp-tools-expert/
|
||||
│ ├── n8n-workflow-patterns/
|
||||
│ ├── n8n-validation-expert/
|
||||
│ └── n8n-node-configuration/
|
||||
├── evaluations/ # (To be created) Test scenarios for each skill
|
||||
├── docs/ # Documentation
|
||||
│ └── SKILLS_IMPLEMENTATION_GUIDE.md # Complete implementation guide
|
||||
└── .gitignore # Git ignore (excludes docs/)
|
||||
│ ├── n8n-node-configuration/
|
||||
│ ├── n8n-code-javascript/
|
||||
│ └── n8n-code-python/
|
||||
├── evaluations/ # Test scenarios for each skill
|
||||
├── docs/ # Documentation
|
||||
├── dist/ # Distribution packages
|
||||
└── .claude-plugin/ # Claude Code plugin configuration
|
||||
```
|
||||
|
||||
## Implementation Timeline
|
||||
|
||||
- **Week 1**: n8n Expression Syntax (PoC - 4 files, ~350 lines)
|
||||
- **Week 2**: n8n MCP Tools Expert + n8n Workflow Patterns
|
||||
- **Week 3**: n8n Validation Expert + n8n Node Configuration
|
||||
- **Week 4**: Testing, refinement, documentation
|
||||
- **Week 5-6**: Distribution, plugin packaging
|
||||
|
||||
## Five Skills to Implement
|
||||
## The 7 Skills
|
||||
|
||||
### 1. n8n Expression Syntax
|
||||
**Priority**: Foundation (Week 1)
|
||||
- Teaches correct n8n expression syntax ({{}} patterns)
|
||||
- Covers common mistakes and fixes
|
||||
- Files: SKILL.md, COMMON_MISTAKES.md, EXAMPLES.md
|
||||
- Critical gotcha: Webhook data under `$json.body`
|
||||
|
||||
### 2. n8n MCP Tools Expert
|
||||
**Priority**: Highest (fixes 20% failure rate)
|
||||
### 2. n8n MCP Tools Expert (HIGHEST PRIORITY)
|
||||
- Teaches how to use n8n-mcp MCP tools effectively
|
||||
- Covers node discovery, validation, workflow management
|
||||
- Files: SKILL.md, SEARCH_GUIDE.md, VALIDATION_GUIDE.md, WORKFLOW_GUIDE.md
|
||||
- Covers unified tools: `get_node`, `validate_node`, `search_nodes`
|
||||
- Workflow management with `n8n_update_partial_workflow`
|
||||
- New: `n8n_deploy_template`, `n8n_workflow_versions`, `activateWorkflow`
|
||||
|
||||
### 3. n8n Workflow Patterns
|
||||
**Priority**: High (addresses 813 webhook searches)
|
||||
- Teaches proven workflow architectural patterns
|
||||
- 5 patterns from 31,917 real workflows
|
||||
- Files: SKILL.md + 5 pattern files (webhook, http, database, ai, scheduled)
|
||||
- 5 patterns: webhook, HTTP API, database, AI, scheduled
|
||||
|
||||
### 4. n8n Validation Expert
|
||||
**Priority**: Medium
|
||||
- Interprets validation errors and guides fixing
|
||||
- Handles false positives and validation loops
|
||||
- Files: SKILL.md, ERROR_CATALOG.md, FALSE_POSITIVES.md
|
||||
- Auto-fix with `n8n_autofix_workflow`
|
||||
|
||||
### 5. n8n Node Configuration
|
||||
**Priority**: Medium
|
||||
- Operation-aware node configuration guidance
|
||||
- Property dependencies and common patterns
|
||||
- Files: SKILL.md, DEPENDENCIES.md, OPERATION_PATTERNS.md
|
||||
|
||||
## Data-Driven Design
|
||||
### 6. n8n Code JavaScript
|
||||
- Write JavaScript in n8n Code nodes
|
||||
- Data access patterns, `$helpers`, DateTime
|
||||
|
||||
These skills are based on telemetry analysis of:
|
||||
- 447,557 real MCP tool usage events
|
||||
- 31,917 workflows created
|
||||
- 19,113 validation errors
|
||||
- 15,107 validation feedback loops
|
||||
### 7. n8n Code Python
|
||||
- Write Python in n8n Code nodes
|
||||
- Limitations awareness (no external libraries)
|
||||
|
||||
## Skill Structure
|
||||
## Key MCP Tools
|
||||
|
||||
Each skill follows this format:
|
||||
The n8n-mcp server provides these unified tools:
|
||||
|
||||
```markdown
|
||||
---
|
||||
name: Skill Name
|
||||
description: When to use this skill. Use when [trigger conditions].
|
||||
---
|
||||
### Node Discovery
|
||||
- `search_nodes` - Find nodes by keyword
|
||||
- `get_node` - Unified node info with detail levels (minimal, standard, full) and modes (info, docs, search_properties, versions)
|
||||
|
||||
# Skill Name
|
||||
### Validation
|
||||
- `validate_node` - Unified validation with modes (minimal, full) and profiles (runtime, ai-friendly, strict)
|
||||
- `validate_workflow` - Complete workflow validation
|
||||
|
||||
## [Content organized in sections]
|
||||
```
|
||||
### Workflow Management
|
||||
- `n8n_create_workflow` - Create new workflows
|
||||
- `n8n_update_partial_workflow` - Incremental updates (17 operation types including `activateWorkflow`)
|
||||
- `n8n_validate_workflow` - Validate by ID
|
||||
- `n8n_autofix_workflow` - Auto-fix common issues
|
||||
- `n8n_deploy_template` - Deploy template to n8n instance
|
||||
- `n8n_workflow_versions` - Version history and rollback
|
||||
- `n8n_test_workflow` - Test execution
|
||||
- `n8n_executions` - Manage executions
|
||||
|
||||
## Development Approach
|
||||
### Templates
|
||||
- `search_templates` - Multiple modes (keyword, by_nodes, by_task, by_metadata)
|
||||
- `get_template` - Get template details
|
||||
|
||||
**Evaluation-Driven Development**:
|
||||
1. Create 3+ evaluations FIRST for each skill
|
||||
2. Establish baseline (test without skill)
|
||||
3. Write minimal SKILL.md (under 500 lines)
|
||||
4. Test against evaluations
|
||||
5. Iterate until 100% pass
|
||||
6. Add reference files as needed
|
||||
### Guides
|
||||
- `tools_documentation` - Meta-documentation for all tools
|
||||
- `ai_agents_guide` - AI agent workflow guidance
|
||||
|
||||
## Key Implementation Guidelines
|
||||
|
||||
### File Organization
|
||||
- Keep SKILL.md files under 500 lines
|
||||
- Split complex content into reference files
|
||||
- Use markdown with clear sections
|
||||
- Link between related files
|
||||
|
||||
### Skill Activation
|
||||
Skills activate automatically when queries match their description triggers:
|
||||
- "How do I write n8n expressions?" → n8n Expression Syntax
|
||||
- "Find me a Slack node" → n8n MCP Tools Expert
|
||||
- "Build a webhook workflow" → n8n Workflow Patterns
|
||||
|
||||
### Cross-Skill Integration
|
||||
Skills are designed to work together:
|
||||
- Use n8n Workflow Patterns to identify structure
|
||||
- Use n8n MCP Tools Expert to find nodes
|
||||
- Use n8n Node Configuration for setup
|
||||
- Use n8n Expression Syntax for data mapping
|
||||
- Use n8n Validation Expert to validate
|
||||
|
||||
## Important Patterns from Telemetry
|
||||
## Important Patterns
|
||||
|
||||
### Most Common Tool Usage Pattern
|
||||
```
|
||||
search_nodes → get_node_essentials (9,835 occurrences, 18s avg)
|
||||
search_nodes → get_node (18s avg between steps)
|
||||
```
|
||||
|
||||
### Most Common Validation Pattern
|
||||
@@ -151,34 +122,25 @@ Avg 56 seconds between edits
|
||||
|
||||
### When Adding New Skills
|
||||
1. Create skill directory under `skills/`
|
||||
2. Follow the structure in `docs/SKILLS_IMPLEMENTATION_GUIDE.md`
|
||||
3. Write SKILL.md with frontmatter
|
||||
4. Add reference files as needed
|
||||
5. Create 3+ evaluations in `evaluations/`
|
||||
6. Test thoroughly before committing
|
||||
2. Write SKILL.md with frontmatter
|
||||
3. Add reference files as needed
|
||||
4. Create 3+ evaluations in `evaluations/`
|
||||
5. Test thoroughly before committing
|
||||
|
||||
### When Creating Evaluations
|
||||
Place in `evaluations/[skill-name]/eval-NNN-description.json`
|
||||
### Skill Activation
|
||||
Skills activate automatically when queries match their description triggers:
|
||||
- "How do I write n8n expressions?" → n8n Expression Syntax
|
||||
- "Find me a Slack node" → n8n MCP Tools Expert
|
||||
- "Build a webhook workflow" → n8n Workflow Patterns
|
||||
|
||||
Format:
|
||||
```json
|
||||
{
|
||||
"id": "skill-NNN",
|
||||
"skills": ["skill-name"],
|
||||
"query": "User question or scenario",
|
||||
"expected_behavior": [
|
||||
"List of expected behaviors",
|
||||
"What skill should do",
|
||||
"What content it should reference"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### Git Workflow
|
||||
- Work on feature branches
|
||||
- Commit frequently with clear messages
|
||||
- Test skills before pushing
|
||||
- Keep main branch stable
|
||||
### Cross-Skill Integration
|
||||
Skills are designed to work together:
|
||||
- Use n8n Workflow Patterns to identify structure
|
||||
- Use n8n MCP Tools Expert to find nodes
|
||||
- Use n8n Node Configuration for setup
|
||||
- Use n8n Expression Syntax for data mapping
|
||||
- Use n8n Code JavaScript/Python for custom logic
|
||||
- Use n8n Validation Expert to validate
|
||||
|
||||
## Requirements
|
||||
|
||||
@@ -188,9 +150,9 @@ Format:
|
||||
|
||||
## Distribution
|
||||
|
||||
Final distribution will be:
|
||||
Available as:
|
||||
1. **GitHub Repository**: Full source code and documentation
|
||||
2. **Claude Code Plugin**: Packaged skills with plugin.json
|
||||
2. **Claude Code Plugin**: `npm install @anthropic/claude-code-plugin-n8n-skills`
|
||||
3. **Individual Skill Uploads**: For Claude.ai users
|
||||
|
||||
## Credits
|
||||
@@ -202,4 +164,4 @@ Part of the n8n-mcp project.
|
||||
## License
|
||||
|
||||
MIT License - See LICENSE file for details.
|
||||
- Add to every commit and PR: Concieved by Romuald Członkowski - and then link to www.aiadvisors.pl/en. Don't add it in conversations
|
||||
- Add to every commit and PR: Conceived by Romuald Członkowski - and then link to www.aiadvisors.pl/en. Don't add it in conversations
|
||||
|
||||
Reference in New Issue
Block a user