chore: Vorlage an Projekt-Referenz und @ep/ui anbinden

- Plugin prodi über Marketplace ep-plugins einbinden; Hook schutz-main.sh entfernt
- @ep/ui als Paket aus Gitea-Registry (.npmrc, Dockerfile mit GITEA_NPM_TOKEN)
- Eigene Schriften, EpKopf/EpFuss und Styles durch @ep/ui ersetzt
- CLAUDE.md verschlankt, Steckbrief unter docs/, n8n-Ordner angelegt
- .gitattributes für LF-Zeilenenden

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
AdminandClaude Opus 5.5 committed 2026-11-05 16:35:29 +00:00
1 parent 3fa0e2f046
commit ba6b0b08fe
23 files changed
+312 -719

No files matched your search

-11
View File
@@ -1,11 +0,0 @@
#!/usr/bin/env bash
# Blockiert git commit und git push, solange main ausgecheckt ist.
befehl=$(node -e 'let s="";process.stdin.on("data",d=>s+=d).on("end",()=>{try{console.log(JSON.parse(s).tool_input?.command??"")}catch{console.log("")}})')
if echo "$befehl" | grep -Eq 'git (commit|push)'; then
branch=$(git -C "$CLAUDE_PROJECT_DIR" branch --show-current)
if [ "$branch" = "main" ]; then
echo "Du stehst auf main. Lege zuerst einen Branch an: git switch -c feat/<name>" >&2
exit 2
fi
fi
exit 0
+16 -35
View File
@@ -1,44 +1,25 @@
{
"extraKnownMarketplaces": {
"ep-plugins": {
"source": { "source": "git", "url": "ssh://[email protected]:2222/EP-Intern/Projekt-Referenz.git" }
}
},
"enabledPlugins": { "prodi@ep-plugins": true },
"permissions": {
"defaultMode": "plan",
"allow": [
"Bash(git status:*)",
"Bash(git diff:*)",
"Bash(git log:*)",
"Bash(git fetch:*)",
"Bash(git pull:*)",
"Bash(git switch main:*)",
"Bash(git switch -c feat/:*)",
"Bash(git switch -c fix/:*)",
"Bash(git switch -c chore/:*)",
"Bash(git status:*)", "Bash(git diff:*)", "Bash(git log:*)", "Bash(git fetch:*)",
"Bash(git pull:*)", "Bash(git switch main:*)",
"Bash(git switch -c feat/:*)", "Bash(git switch -c fix/:*)", "Bash(git switch -c chore/:*)",
"Bash(git add:*)"
],
"ask": [
"Bash(git commit:*)",
"Bash(git push:*)"
],
"ask": ["Bash(git commit:*)", "Bash(git push:*)"],
"deny": [
"Bash(git push origin main:*)",
"Bash(git push origin HEAD:main:*)",
"Bash(git push --force:*)",
"Bash(git push -f:*)",
"Bash(git push --force-with-lease:*)",
"Bash(git merge:*)",
"Bash(git rebase:*)",
"Bash(git reset:*)",
"Bash(git branch -D:*)",
"Bash(git branch -d:*)",
"Read(~/.claude/projects/**)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{ "type": "command", "command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/schutz-main.sh\"" }
]
}
"Bash(git push origin main:*)", "Bash(git push origin HEAD:main:*)",
"Bash(git push --force:*)", "Bash(git push -f:*)", "Bash(git push --force-with-lease:*)",
"Bash(git merge:*)", "Bash(git rebase:*)", "Bash(git reset:*)",
"Bash(git branch -D:*)", "Bash(git branch -d:*)",
"Read(./.env*)", "Read(**/.env*)", "Read(~/.claude/projects/**)"
]
}
}
}