chore: add shared skills catalog (19 skills), installers, manifest, validator

This commit is contained in:
2026-08-26 22:08:40 +07:00
parent 62f31484ea
commit a1050f5502
38 changed files with 1850 additions and 2 deletions

29
install.sh Normal file
View File

@@ -0,0 +1,29 @@
#!/usr/bin/env bash
# dsh-skills — shared DeepSeek Harness skills installer (bash/macOS/Linux)
# Copies/updates the skills catalog into the DSH user skills directory.
set -euo pipefail
# Resolve target: $1 if given, else $DSH_HOME/skills else ~/.dsh/skills
TARGET="${1:-}"
if [ -z "$TARGET" ]; then
if [ -n "${DSH_HOME:-}" ]; then TARGET="$DSH_HOME/skills"; else TARGET="$HOME/.dsh/skills"; fi
fi
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
SRC="$SCRIPT_DIR/skills"
if [ ! -d "$SRC" ]; then
echo "skills/ directory not found at $SRC. Run from a repo clone." >&2
exit 1
fi
mkdir -p "$TARGET"
for dir in "$SRC"/*/; do
name="$(basename "$dir")"
echo "Syncing skill: $name"
rm -rf "$TARGET/$name"
cp -R "$dir" "$TARGET/$name"
done
echo "Done. Skills installed to $TARGET. Restart the agent to refresh the catalog."