Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ccstate

БесплатноБез исполняемых скриптовНе проверен

Apply ccstate patterns for reactive values, commands, HTTP responses, and async or DOM ownership

okou-aiот okou-ai★ 1 162 звезды на GitHub

Об этом скилле

ccstate

This router selects TypeScript API and Platform references. Native Swift work uses iOS ccstate and iOS development; do not apply browser syntax or runtime helpers to native code.

Read the reference matching the changed behavior; API work does not require the React/DOM reference unless it also changes that surface.

Task Reference
computed, memoization, function-valued state, reactive fetches Reactive values
API client status handling and accept HTTP
AbortSignal ownership, cancellation, debouncing, detached cleanup Lifecycle
DOM callbacks, page signals, refs and ref cleanup React and DOM
Shared command logic and signal factories Commands

Boundaries

  • Keep derivation in computed and semantic actions in commands. Do not create signals or mutate the store during React render.
  • Every async operation needs an owner and cancellation path. Await finite work or return its promise inside signals. Start background loops with setLoop or setAbly*Loop$; those primitives own detach(..., Reason.Daemon) internally. Use waitLoopUntil / waitAbly*LoopUntil$ when subsequent work needs completion. Non-periodic background work uses detach(promise, reason, description) with the owner's signal, in signals/ as well as in views. Do not silence work with void.
  • resetSignal() provides mutual exclusion. Add a parent when the work belongs to a page/route lifetime; parentless use still needs an explicit owner that cancels it. The lifecycle reference defines both valid patterns.
  • Use accept with a non-empty status list for apiClient$ calls. Preserve structured HTTP errors and use the view's loadable state for lifecycle UI.
  • Route setup owns pageSignal$. Preserve stable callback refs and onRef cleanup returns.

See effects, cache, and Platform tests for the relevant broader contracts. For performance investigations, use React measurements.

Полный SKILL.md на GitHub

Установить ccstate в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/commands.mdreferences/http.mdreferences/lifecycle.mdreferences/react.mdreferences/reactivity.md

FAQ

Что делает скилл ccstate?

Apply ccstate patterns for reactive values, commands, HTTP responses, and async or DOM ownership

Как установить скилл ccstate?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ccstate запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ccstate с