refactor(config): migrate .claude/CLAUDE.md to .agents/AGENTS.md with compatibility symlinks
This commit is contained in:
@@ -7,7 +7,7 @@ help:
|
||||
@echo "Usage: make [target]"
|
||||
@echo ""
|
||||
@echo " install Install mytoolkit in editable mode (current Python) and sync skill"
|
||||
@echo " sync-skill Copy the bundled Claude skill to ~/.claude/skills/mytoolkit/"
|
||||
@echo " sync-skill Copy the bundled agent skill to ~/.agents/skills/mytoolkit/"
|
||||
@echo " uninstall Uninstall mytoolkit and remove shell completions"
|
||||
|
||||
install:
|
||||
@@ -17,13 +17,13 @@ install:
|
||||
@$(MAKE) -s sync-skill
|
||||
|
||||
sync-skill:
|
||||
@echo "Syncing Claude skill to ~/.claude/skills/mytoolkit/ ..."
|
||||
@mkdir -p "$(HOME)/.claude/skills"
|
||||
@echo "Syncing agent skill to ~/.agents/skills/mytoolkit/ ..."
|
||||
@mkdir -p "$(HOME)/.agents/skills"
|
||||
@if command -v rsync >/dev/null 2>&1; then \
|
||||
rsync -av --delete "$(ROOT_DIR)/.claude/skills/mytoolkit/" "$(HOME)/.claude/skills/mytoolkit/"; \
|
||||
rsync -av --delete "$(ROOT_DIR)/.agents/skills/mytoolkit/" "$(HOME)/.agents/skills/mytoolkit/"; \
|
||||
else \
|
||||
rm -rf "$(HOME)/.claude/skills/mytoolkit"; \
|
||||
cp -R "$(ROOT_DIR)/.claude/skills/mytoolkit" "$(HOME)/.claude/skills/mytoolkit"; \
|
||||
rm -rf "$(HOME)/.agents/skills/mytoolkit"; \
|
||||
cp -R "$(ROOT_DIR)/.agents/skills/mytoolkit" "$(HOME)/.agents/skills/mytoolkit"; \
|
||||
fi
|
||||
|
||||
uninstall:
|
||||
|
||||
Reference in New Issue
Block a user