diff --git a/.tasks/STATUS.md b/.tasks/STATUS.md index fad2ca5..23fa8f8 100644 --- a/.tasks/STATUS.md +++ b/.tasks/STATUS.md @@ -3,6 +3,12 @@ _Updated: 2026-04-28_ ## Done +### project-bootstrap: include `active-platform` trigger in CLAUDE.md template +- [x] Add `we're on Windows` line to `assets/CLAUDE.md.template` +- [x] Update embedded preview in `SKILL.md` Step 5 (with note about Linux/macOS substitution) +- [x] Backfill the line in this repo's own `CLAUDE.md` +- [x] Rebuild + reinstall `project-bootstrap.skill` + ### active-platform skill - [x] Draft `skills/active-platform/SKILL.md` (RU+EN triggers, default=Windows/PowerShell, palette=Win/Linux/mac) - [x] Fixed `build.sh` PS arg-passing bug (single-quotes were leaking into `-Names` value) diff --git a/.wiki/source/active-platform-decision.md b/.wiki/source/active-platform-decision.md index bd8f3e7..af3a74d 100644 --- a/.wiki/source/active-platform-decision.md +++ b/.wiki/source/active-platform-decision.md @@ -26,6 +26,12 @@ Full spec: [`skills/active-platform/SKILL.md`](../../skills/active-platform/SKIL - **Cross-repo:** installed into `~/.claude/skills/`, applies in every session regardless of project. - **Iterable:** lives in this repo's `skills/` so we can edit + reinstall as we learn what triggers and exceptions actually happen in practice. +## Wired into `project-bootstrap` + +The default platform should travel with every new project we create. Updated `project-bootstrap` so its `CLAUDE.md.template` adds a fifth trigger line: `we're on Windows`. That line is one of `active-platform`'s recognized switches, so any project bootstrapped from now on starts pinned to Windows / PowerShell. If the user is bootstrapping on a Linux/macOS host, the `SKILL.md` Step 5 note tells them to swap the line for `we're on Linux` / `we're on macOS`. + +Backfilled the same line into this repo's own `CLAUDE.md` (which was created from the old template). + ## Open questions to revisit - Are the trigger phrases comprehensive enough? Add real-world examples as they come up. diff --git a/CLAUDE.md b/CLAUDE.md index 6c25120..b984a6c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,3 +5,4 @@ talk like a caveman use superpowers use project wiki use task management system +we're on Windows diff --git a/dist/project-bootstrap.skill b/dist/project-bootstrap.skill index ade028d..057e108 100644 Binary files a/dist/project-bootstrap.skill and b/dist/project-bootstrap.skill differ diff --git a/skills/project-bootstrap/SKILL.md b/skills/project-bootstrap/SKILL.md index 682de92..5d1cd0b 100644 --- a/skills/project-bootstrap/SKILL.md +++ b/skills/project-bootstrap/SKILL.md @@ -161,8 +161,14 @@ talk like a caveman use superpowers use project wiki use task management system +we're on Windows ``` +The `we're on Windows` line activates the `active-platform` skill and pins the +project's default platform to Windows / PowerShell — so generated commands and +README quick-starts use PS-native syntax. Bootstrapping on a Linux or macOS +host? Substitute `we're on Linux` or `we're on macOS` instead. + --- ## Step 6 — Commit diff --git a/skills/project-bootstrap/assets/CLAUDE.md.template b/skills/project-bootstrap/assets/CLAUDE.md.template index 6c25120..b984a6c 100644 --- a/skills/project-bootstrap/assets/CLAUDE.md.template +++ b/skills/project-bootstrap/assets/CLAUDE.md.template @@ -5,3 +5,4 @@ talk like a caveman use superpowers use project wiki use task management system +we're on Windows