homelab/skills/install.sh
Dan V deb6c38d7b chore: commit homelab setup — deployment, services, orchestration, skill
- Add .gitignore: exclude compiled binaries, build artifacts, and Helm
  values files containing real secrets (authentik, prometheus)
- Add all Kubernetes deployment manifests (deployment/)
- Add services source code: ha-sync, device-inventory, games-console,
  paperclip, parts-inventory
- Add Ansible orchestration: playbooks, roles, inventory, cloud-init
- Add hardware specs, execution plans, scripts, HOMELAB.md
- Add skills/homelab/SKILL.md + skills/install.sh to preserve Copilot skill
- Remove previously-tracked inventory-cli binary from git index

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 08:10:32 +02:00

17 lines
519 B
Bash
Executable file

#!/usr/bin/env bash
# Installs Copilot CLI skills from this repo into ~/.claude/skills/
# Run this after a fresh clone to restore all skills.
set -euo pipefail
SKILLS_DIR="$(cd "$(dirname "$0")" && pwd)"
TARGET_DIR="$HOME/.claude/skills"
for skill_dir in "$SKILLS_DIR"/*/; do
skill_name="$(basename "$skill_dir")"
target="$TARGET_DIR/$skill_name"
echo "Installing skill: $skill_name$target"
mkdir -p "$target"
cp -r "$skill_dir"* "$target/"
done
echo "Done. Skills installed to $TARGET_DIR"