بنقرة واحدة
plan
Create a structured implementation plan before coding
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a structured implementation plan before coding
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when adding a new LLM/model to stagewise model catalogs, provider routing, validation, docs, or showcase UI.
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.
Best practices for using the stagewise built-in JavaScript sandbox. Explains how to access APIs for browser debugging/interaction, use external dependencies, file system access, running mini-apps, etc.
Guide for building custom interactive web apps ("mini apps") displayed in browser tabs — scaffolding, iframe constraints, bidirectional messaging with the sandbox, and iteration workflows.
Create an interactive design-preview in a browser tab
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.
| 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`.