بنقرة واحدة
بنقرة واحدة
How stagewise's agent history compression pipeline works — boundary selection, recency bias, chained compressions, and the SQLite-backed test harness for replaying real compressions in LLM playgrounds. Use when debugging, tuning, or extending history compression, when investigating context-window overflow, or when the user wants to probe compression quality against real chat histories.
Complete guide for the Figma plugin — REST API access, real-time selection monitoring via CDP, and the figma-app interactive UI. Read this IMMEDIATELY when the user asks to work with Figma.
Implement the most recent plan
Create or edit video with Remotion. First-party stagewise + Remotion skill. Contains full video-making process.
Use logging calls for in-depth debugging via local log files
Create, extract, or update a skill. Use when authoring a new skill from scratch, extracting knowledge from the current session, or updating an existing skill when the user's intentions contradicted skill guidance or content is confusing/outdated.
| name | Plan |
| description | Create a structured implementation plan before coding |
| user-invocable | true |
| agent-invocable | false |
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/...), current behavior, key decisions and rationale in prose sections. Omit sections that add no value.- [ ]) for tasks. See Checkbox Rules below.Every checkbox = one concrete, completable work item.
## Follow-ups for the user section — never as a checkbox.- [ ] 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`.