#!/bin/bash

# Install antdv skill to opencode skills directory

SKILL_NAME="antdv"
SKILL_DIR="skills/antdv"
TARGET_DIR="$HOME/.config/opencode/skills/$SKILL_NAME"

echo "Installing antdv skill..."

# Create target directory if it doesn't exist
mkdir -p "$TARGET_DIR"

# Copy skill files
cp -r "$SKILL_DIR"/* "$TARGET_DIR/"

echo "Skill installed to: $TARGET_DIR"
echo ""
echo "To use the skill, restart opencode or run:"
echo "  opencode skill refresh"