Create a structured implementation plan before coding
You must create a structured implementation plan. Follow these instructions:
askUserQuestions call..md in plans/.# Plan Title (h1) — used as display name in UI.w4ba9/src/...- [ ]) for tasks. See Checkbox Rules below.Every checkbox = one concrete, completable work item.
- [ ] line is a concise, scannable summary (one sentence). It says what to do, not how.# Rename Commands to Skills
Rename all "command" terminology to "skill" across shared types, backend, and UI.
## Context
The codebase currently uses "command" (`CommandDefinition`, `CommandSource`, etc.) but the
user-facing terminology has shifted to "skill". The rename touches 3 files and 6 import sites.
## Tasks
- [ ] Rename `CommandDefinition` type and its source file
Rename `w4ba9/src/shared/commands.ts` → `skills.ts`. Inside the file:
- `CommandSource` → `SkillSource`
- `CommandDefinition` → `SkillDefinition`
- `toCommandDefinitionUI` → `toSkillDefinitionUI`
Update all 6 import sites listed in the Context section.
- [ ] Update Karton state key from `commands` to `skills`
In `w4ba9/src/shared/karton-contracts/ui/index.ts` (line ~629),
change the state key and update the JSDoc comment above it.
- [ ] Verify typecheck passes
Run `pnpm -F stagewise typecheck` for both `tsconfig.ui.json` and `tsconfig.backend.json`.