mirror of
https://mirror.skon.top/github.com/czlonkowski/n8n-skills
synced 2026-04-20 21:02:34 +08:00
Incorporate real-world n8n workflow building experience into all 7 skills: - SplitInBatches loop semantics, cross-iteration data, nested loops - Google Sheets/Drive integration gotchas - pairedItem, correct node references, float precision patterns - Batch Processing as 6th core workflow pattern - MCP tool parameter corrections (updates vs parameters, credential format) - $env blocking awareness, bracket notation for special chars Optimize all skill descriptions for better triggering accuracy: - n8n-mcp-tools-expert: triggers on any n8n MCP tool usage - n8n-workflow-patterns: triggers on workflow creation/design - n8n-code-javascript: triggers on Code node usage Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
55 lines
1.3 KiB
Bash
Executable File
55 lines
1.3 KiB
Bash
Executable File
#!/bin/bash
|
|
# Build script for n8n-skills distribution packages
|
|
# Creates zip files for both Claude.ai (individual skills) and Claude Code (bundle)
|
|
|
|
set -e
|
|
|
|
DIST_DIR="dist"
|
|
VERSION="1.5.0"
|
|
|
|
echo "🔨 Building n8n-skills distribution packages..."
|
|
|
|
# Create dist directory if it doesn't exist
|
|
mkdir -p "$DIST_DIR"
|
|
|
|
# Remove old zips
|
|
echo "🗑️ Removing old zip files..."
|
|
rm -f "$DIST_DIR"/*.zip
|
|
|
|
# Build individual skill zips (for Claude.ai)
|
|
# Structure: skill-name/SKILL.md at zip root (not nested under skills/)
|
|
echo "📦 Building individual skill zips for Claude.ai..."
|
|
|
|
SKILLS=(
|
|
"n8n-expression-syntax"
|
|
"n8n-mcp-tools-expert"
|
|
"n8n-workflow-patterns"
|
|
"n8n-validation-expert"
|
|
"n8n-node-configuration"
|
|
"n8n-code-javascript"
|
|
"n8n-code-python"
|
|
)
|
|
|
|
for skill in "${SKILLS[@]}"; do
|
|
echo " - $skill"
|
|
(cd skills && zip -rq "../$DIST_DIR/${skill}-v${VERSION}.zip" "${skill}/" -x "*.DS_Store")
|
|
done
|
|
|
|
# Build complete bundle (for Claude Code)
|
|
echo "📦 Building complete bundle for Claude Code..."
|
|
zip -rq "$DIST_DIR/n8n-mcp-skills-v${VERSION}.zip" \
|
|
.claude-plugin/ \
|
|
README.md \
|
|
LICENSE \
|
|
skills/ \
|
|
-x "*.DS_Store"
|
|
|
|
# Show results
|
|
echo ""
|
|
echo "✅ Build complete! Files in $DIST_DIR/:"
|
|
echo ""
|
|
ls -lh "$DIST_DIR"/*.zip
|
|
echo ""
|
|
echo "📊 Package sizes:"
|
|
du -h "$DIST_DIR"/*.zip
|