letstri/seitu/seitu-overview
Claude Code and agent skill by letstri/seitu
- community
- ext:[{"type":"context","description":"Custom context provider definitions"}]
Checking that the SKILL.md file is still in the repository.
Module map, mental model, decision tree, SSR — read before other Seitu skills.
Install
npx vskill@latest install letstri/seitu/seitu-overviewSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Seitu Overview
Seitu is a type-safe reactive primitives library. Framework-agnostic core with React, Vue, Solid, and Svelte bindings. Every primitive shares the same get() / subscribe() API — no actions, no reducers, no context providers.
Module map
| Import path | Purpose | |
|---|---|---|
seitu | Core stores, computed, debounce/throttle | |
seitu/web | Browser persistence (localStorage, sessionStorage, cookies, IndexedDB) and DOM state | |
seitu/react | useSubscription hook + Subscription component | |
seitu/vue | useSubscription composable | |
seitu/solid | useSubscription primitive (returns Accessor) + Subscription component | |
seitu/svelte | useSubscription (returns a Svelte Readable store) | |
seitu/utils | Helpers (repairValueObjectWithDefault) |
ESM-only. Node >= 22. React >= 19, Vue >= 3.5, Solid >= 1.9, and Svelte >= 5 are optional peer deps.
Mental model
All primitives implement a consistent interface:
| Interface | Methods | ||
|---|---|---|---|
Readable<T> | get(): T | ||
Subscribable<T> | subscribe(cb, opts?) → unsub | ||
Writable<T> | `set(value \ | updater)` | |
Clearable | clear() |
subscribe accepts { immediate?: boolean } to fire the callback with the current value on subscribe.
Composition pattern
- Create the primitive at module level (singleton).
- Subscribe in a component via
useSubscription(React/Vue). - Mutate directly from event handlers with
.set()— no dispatch layer.
Decision tree
Framework binding
One hook/composable works with any Seitu primitive — stores, web storage, computed, media queries, scroll state, etc.
SSR
All seitu/web primitives return defaults when window / navigator is undefined. Safe to create at module level in SSR frameworks (Next.js, Nuxt). Use defaultMatches on createMediaQuery for SSR-specific defaults. When the server must render a persisted value, use createCookieValue with getServerCookies.
Validation & repair
Storage primitives accept Standard Schema validators (Zod, Valibot, ArkType). On invalid stored data, they fall back to defaultValue. Use onValidationError to intercept and repair:
Per-function reference
The seitu skill has a reference file per primitive and framework binding in skills/seitu/references/<slug>.md (e.g. create-store.md). Read this overview first, then the specific reference for the function you need.
To move an existing project onto Seitu (replace storage hooks, matchMedia listeners, small global stores and similar code), follow the seitu-setup skill.
Common Mistakes
[HIGH] Using useState for shared module-level state
Wrong:
Correct:
Seitu primitives are singletons at module scope; useState resets per component instance.
[MEDIUM] Importing seitu/react in non-React code
Wrong:
Correct:
React bindings are optional peer deps; core and web work without React.
[HIGH] Expecting actions or reducers
Wrong:
Correct:
Seitu has no dispatch layer — mutate with .set() directly.
See also
- `create-web-storage-value` — Decision tree routes persistence tasks to web storage skills.
Source
src/core/index.ts
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingseitu/skills/seitu-overview/SKILL.md
Popularity
- Repository stars
- 56
- Repository forks
- 1
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
contextCustom context provider definitions
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/letstri/seitu/seitu-overview)