mirror of
https://github.com/lahfir/agent-desktop.git
synced 2026-08-04 21:20:48 +00:00
* feat: restructure skills for ClawHub publishing with CI auto-publish - Sync core skill to 54 commands (add notification commands) - Move macOS skill from .claude/skills/ to git-tracked skills/ - Extract Notification Center section to references/notifications.md - Add ClawHub metadata (version, tags, requirements) to all SKILL.md - Remove macos.md from core skill (moved to platform skill) - Create scripts/link-skills.sh for local dev symlinks - Add publish-skills CI job to release.yml (ClawHub auto-publish) - Add skill install prompt to npm postinstall * refactor: consolidate macOS into single agent-desktop skill Merge agent-desktop-macos back into agent-desktop/references/macos.md as a single publishable skill. Includes Notification Center content inline rather than as a separate reference file.
23 lines
545 B
Bash
Executable file
23 lines
545 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Links skills/ directories to .claude/skills/ for local Claude Code use.
|
|
# Run after clone or when adding new skills.
|
|
|
|
set -euo pipefail
|
|
|
|
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
CLAUDE_SKILLS="$REPO_ROOT/.claude/skills"
|
|
|
|
mkdir -p "$CLAUDE_SKILLS"
|
|
|
|
for skill_dir in "$REPO_ROOT"/skills/*/; do
|
|
name=$(basename "$skill_dir")
|
|
target="../../skills/$name"
|
|
link="$CLAUDE_SKILLS/$name"
|
|
|
|
if [ -L "$link" ]; then
|
|
rm "$link"
|
|
fi
|
|
|
|
ln -s "$target" "$link"
|
|
echo "Linked: .claude/skills/$name → skills/$name"
|
|
done
|