Multi-Machine-Sync: Alle Claude-Konfigurationen ins Repo aufnehmen
- Agents (test-runner, security-audit, n8n-architect) ins Repo verschoben - dotfiles/ hinzugefügt: CLAUDE.md, settings.json, statusline-command.sh - bootstrap.sh erstellt: Einrichtung per git clone + einem Befehl - SETUP.md auf 2-Schritt-Setup vereinfacht Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Executable
+36
@@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
REPO="/mnt/projekte/claude-workflow"
|
||||
|
||||
echo "=== Claude-Workflow Bootstrap ==="
|
||||
|
||||
# Skills
|
||||
mkdir -p ~/.claude/skills
|
||||
for f in "$REPO/skills/"*.md; do
|
||||
ln -sf "$f" ~/.claude/skills/
|
||||
done
|
||||
echo "✓ Skills verlinkt"
|
||||
|
||||
# Agents
|
||||
mkdir -p ~/.claude/agents
|
||||
for f in "$REPO/agents/"*.md; do
|
||||
ln -sf "$f" ~/.claude/agents/
|
||||
done
|
||||
echo "✓ Agents verlinkt"
|
||||
|
||||
# Dotfiles
|
||||
ln -sf "$REPO/dotfiles/CLAUDE.md" ~/.claude/CLAUDE.md
|
||||
ln -sf "$REPO/dotfiles/settings.json" ~/.claude/settings.json
|
||||
ln -sf "$REPO/dotfiles/statusline-command.sh" ~/.claude/statusline-command.sh
|
||||
echo "✓ Dotfiles verlinkt"
|
||||
|
||||
# Hooks ausführbar machen
|
||||
chmod +x "$REPO/hooks/"*.sh
|
||||
echo "✓ Hooks ausführbar"
|
||||
|
||||
echo ""
|
||||
echo "Setup abgeschlossen. Voraussetzungen prüfen:"
|
||||
echo " - secret-tool: secret-tool lookup user claude-code token gitea"
|
||||
echo " - ruff: ruff --version"
|
||||
echo " - jq: jq --version"
|
||||
Reference in New Issue
Block a user