Merge branch 'master' of github.com:kevinveenbirkenbach/skills
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -26,7 +26,7 @@ Copy the skills into a specific project (`<repo>/.agents/skills` and `<repo>/.cl
|
|||||||
make project TARGET=/path/to/repo
|
make project TARGET=/path/to/repo
|
||||||
```
|
```
|
||||||
|
|
||||||
Both commands also patch the target's `.claude/settings.json`: the caveman and ponytail plugins are enabled so their modes auto-activate on session start, and two reminder hooks are registered — `autotune` points you at `/autotune` at most once an hour, `dream` points you at `/dream` at most once every twelve hours per repository (stamped in that repository's git dir). Existing settings are preserved.
|
Both commands also patch the target's `.claude/settings.local.json` — the machine-local, untracked file, so a project's reviewed `.claude/settings.json` is never rewritten by an install: the caveman and ponytail plugins are enabled so their modes auto-activate on session start, and two reminder hooks are registered — `autotune` points you at `/autotune` at most once an hour, `dream` points you at `/dream` at most once every twelve hours per repository (stamped in that repository's git dir). Existing settings are preserved.
|
||||||
|
|
||||||
Restart your agent afterwards so it loads the new skills.
|
Restart your agent afterwards so it loads the new skills.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@ for dst in "${TARGET}/.agents/skills" "${TARGET}/.claude/skills"; do
|
|||||||
cp -a "${src}/." "${dst}/"
|
cp -a "${src}/." "${dst}/"
|
||||||
done
|
done
|
||||||
|
|
||||||
settings="${TARGET}/.claude/settings.json"
|
settings="${TARGET}/.claude/settings.local.json"
|
||||||
if command -v node &>/dev/null; then
|
if command -v node &>/dev/null; then
|
||||||
log "skills: auto-enabling caveman + ponytail plugins in ${settings}"
|
log "skills: auto-enabling caveman + ponytail plugins in ${settings}"
|
||||||
node "${REPO_ROOT}/scripts/enable-plugins.js" "${settings}"
|
node "${REPO_ROOT}/scripts/enable-plugins.js" "${settings}"
|
||||||
|
|||||||
Reference in new issue
Block a user