Fix plugin ZIP packaging for desktop upload

Fix plugin ZIP packaging for desktop upload

- Package individual release ZIPs with plugin contents at ZIP root.
- Document that desktop ZIP upload requires a single plugin ZIP, not a repository ZIP.
- Clarify the Liquiditätsplanung ZIP root layout.

Validated with structure checks, marketplace validation, local flat-ZIP inspection, and validator check after extracting the flat ZIP.
This commit is contained in:
Klotzkette
2026-05-19 11:23:42 -07:00
committed by GitHub
parent 9007838a4a
commit e8aee9427e
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ jobs:
mkdir -p dist
for plugin in ${{ steps.plugins.outputs.names }}; do
echo "Baue $plugin.zip"
zip -rq "dist/${plugin}.zip" "$plugin" -x '*.DS_Store'
(cd "$plugin" && zip -rq "../dist/${plugin}.zip" . -x '*.DS_Store' '__pycache__/*' '*.pyc')
ls -la "dist/${plugin}.zip"
done
# Manifest fuer Marketplace-Komfort
+3 -3
View File
@@ -115,11 +115,11 @@ Einfachster Weg in Claude Desktop oder der Cowork-Oberfläche:
Wenn kein Marketplace-Manifest verwendet werden soll oder eine bestimmte Version festgehalten werden muss:
1. Auf https://github.com/Klotzkette/claude-fuer-deutsches-recht das Release **v1.0** öffnen (oder **Code → Download ZIP** vom `main`-Branch).
2. In Cowork **Customize → Plugin** öffnen und über **+ → Create → Upload plugin** das ZIP hochladen.
1. Das gewünschte einzelne Plugin-ZIP aus dem neuesten Release herunterladen, z. B. `liquiditaetsplanung.zip` von https://github.com/Klotzkette/claude-fuer-deutsches-recht/releases/latest.
2. In Cowork **Customize → Plugin** öffnen und über **+ → Create → Upload plugin** dieses einzelne Plugin-ZIP hochladen.
3. Nach dem Upload erscheint das Plugin in der Plugin-Liste und kann aktiviert werden.
**Wichtig:** Das ZIP muss die korrekte Verzeichnisstruktur enthalten — `SKILL.md` auf der jeweils obersten Skill-Ebene (z. B. `arbeitsrecht/skills/<skill-name>/SKILL.md`). Andernfalls vor dem Upload neu komprimieren.
**Wichtig:** Nicht das komplette Repository-ZIP aus **Code → Download ZIP** hochladen. Ein Upload-ZIP muss direkt `.claude-plugin/plugin.json`, `skills/`, `assets/` usw. im ZIP-Root enthalten.
### Weg 3 — Marketplace-Kommando (Claude Code im Terminal)
+2
View File
@@ -20,6 +20,8 @@ Die URLs sind **stabil** und zeigen immer auf die neueste Version. Alle weiteren
2. Claude Code → **Customize Plugins****Install from .zip** → Datei wählen.
3. Fertig. Skills sind sofort verfügbar.
Hinweis: Für den ZIP-Upload muss das Archiv direkt `.claude-plugin/plugin.json`, `skills/`, `assets/` und `references/` im ZIP-Root enthalten. Nicht das komplette Repository-ZIP aus **Code → Download ZIP** verwenden.
### Zum Ausprobieren: Beispielakte (separat)
Fiktive Mandatsakte zum sofortigen Testen — **kein Teil des Plugins**, separater Download: