ChronicStone/nuxt-ui-tools / .agents/skills/nuxt-ui-tools-reactivity
nuxt-ui-tools-reactivity
VerifiedUse this skill for internal Vue reactivity and state-model work in the nuxt-ui-tools repository. Covers lean reactivity, query-state integration, when to use computed vs watch vs shallowRef, VueUse usage, and how to simplify over-layered state models.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.1 KB |
| references/lean-reactivity.md | markdown | 751 B |
| references/query-state-integration.md | markdown | 790 B |
| references/vueuse.md | markdown | 572 B |
references/lean-reactivity.md
View on GitHub# Lean Reactivity
This repository prefers a lean reactivity model.
## Core Rules
- use `computed` for derivation
- use `watch` for side effects, synchronization, or external bridging
- do not store what can be derived
- avoid duplicated state that must be manually kept in sync
- prefer one clear abstraction over many small bridges
## Good Pattern
- one domain-owned state source
- derived values only where there is real derivation
- clearly named grouped state for related values
## Bad Pattern
- low-level refs
- then computed wrappers to group them
- then more computed wrappers to reshape them
- then extra public wrappers to hide the earlier layering
If you see this pattern, it is usually a sign the abstraction itself should improve.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |