- 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>
37 lines
894 B
Bash
Executable File
37 lines
894 B
Bash
Executable File
#!/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"
|