Skip to main content
Run any Skill in Manus
with one click

core-domain-scoped-state

Stars0
Forks1
UpdatedJune 22, 2026 at 19:52

State keyed by a domain id (workspace, project, tenant). State shape is { byDomainId: Record<string, T> }. createDomainScopedHelpers(emptyState) returns getDomainState, setDomainState, and clearDomainState — immutable helpers that read with an emptyState fallback, write per-domain entries, and drop domains (returning the same reference when the id was absent). Public API: @augmentcode/themis/utils/store/domain-scoped; related guidance: ../SKILL.md §10.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly