mirror of
https://mirror.skon.top/github.com/czlonkowski/n8n-skills
synced 2026-04-20 21:02:34 +08:00
fix: Correct zip structure for Claude.ai/Desktop skill uploads (v1.3.0)
Individual skill zips now have SKILL.md at the top level (<skill-name>/SKILL.md) instead of nested under skills/ directory, fixing uploads to Claude.ai and Claude Desktop. Also adds missing n8n-code-javascript and n8n-code-python individual zips. Closes #19 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
7
build.sh
7
build.sh
@@ -5,7 +5,7 @@
|
||||
set -e
|
||||
|
||||
DIST_DIR="dist"
|
||||
VERSION="1.1.0"
|
||||
VERSION="1.3.0"
|
||||
|
||||
echo "🔨 Building n8n-skills distribution packages..."
|
||||
|
||||
@@ -17,6 +17,7 @@ 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=(
|
||||
@@ -25,11 +26,13 @@ SKILLS=(
|
||||
"n8n-workflow-patterns"
|
||||
"n8n-validation-expert"
|
||||
"n8n-node-configuration"
|
||||
"n8n-code-javascript"
|
||||
"n8n-code-python"
|
||||
)
|
||||
|
||||
for skill in "${SKILLS[@]}"; do
|
||||
echo " - $skill"
|
||||
zip -rq "$DIST_DIR/${skill}-v${VERSION}.zip" "skills/${skill}/" -x "*.DS_Store"
|
||||
(cd skills && zip -rq "../$DIST_DIR/${skill}-v${VERSION}.zip" "${skill}/" -x "*.DS_Store")
|
||||
done
|
||||
|
||||
# Build complete bundle (for Claude Code)
|
||||
|
||||
Reference in New Issue
Block a user