diff --git a/skills/project-bootstrap/SKILL.md b/skills/project-bootstrap/SKILL.md index 454d690..2888f19 100644 --- a/skills/project-bootstrap/SKILL.md +++ b/skills/project-bootstrap/SKILL.md @@ -1,7 +1,7 @@ --- name: project-bootstrap author: ours -version: 3.0.0 +version: 3.0.1 description: > Initializes or upgrades a project in the current folder: git, .gitignore, README.md, .wiki/ using Karpathy's method, .tasks/ for task tracking, AGENTS.md (canon) with @@ -538,7 +538,11 @@ Mismatch between template and map → silent gaps in the recommendation. match any row are user-custom — skip silently. The platform line matches the `active-platform` row regardless of which platform is pinned. 3. For each matched canonical line, check the detection path: - - `kind: skill` → does `~/.claude/skills//SKILL.md` exist? + - `kind: skill` → does `~/.claude/skills//SKILL.md` **or** + `~/.agents/skills//SKILL.md` exist? (Skill installs can land in + either host path — `scripts/install.sh` writes `~/.claude/skills/`, a + manual/alternate install may use `~/.agents/skills/`; a skill present in + either path fulfills the trigger. Same two-path rule as Step 5.7.3.) - `kind: plugin` → does `~/.claude/plugins/installed_plugins.json` contain the plugin key under `plugins`? (Treat malformed JSON as "missing" and continue — don't crash the bootstrap over a detection edge case.) @@ -583,6 +587,11 @@ Mismatch between template and map → silent gaps in the recommendation. `setup-X` at first use; bootstrap doesn't duplicate that detection. - The `~/.claude/skills/` and `~/.claude/plugins/` paths resolve identically on Windows / Linux / macOS — `~` works under git-bash too. +- **Detection paths (unified with Step 5.7.3):** a `kind: skill` fulfiller is + considered present if its `SKILL.md` exists in `~/.claude/skills//` + OR `~/.agents/skills//`. The dependency tables below list the + canonical install path (`~/.claude/skills/`, what `scripts/install.sh` + writes); detection itself accepts both. - **Hard rule — never auto-install.** Slash commands aren't callable from a skill, and silently mutating user-level skill / plugin state without consent is overreach. The recommendation is informational. The user can @@ -644,8 +653,9 @@ raise on start`, `use project wiki`, `use task management system`. Это не 1. Определить список mappa-циклов: `mappa-session-orient`, `mappa-task-work`, `mappa-knowledge`, `mappa-messaging`, `mappa-delegation`, `mappa-brainstorm-promote`, `mappa-closing-ritual`. -2. Проверить установку (все есть в `~/.claude/skills/` и - `~/.agents/skills/`)? → да: пропустить (upgrade-императив не дублировать). +2. Проверить установку по правилу детекта Step 5.6 (оба пути: + `~/.claude/skills/` и `~/.agents/skills/`)? → да: пропустить + (upgrade-императив не дублировать). 3. Нет → печать информационного блока (НЕ авто-инсталл, правило 5.6): ```