Skip to content

ChronicStone/nuxt-ui-tools / skills/consumer/shared

nuxt-ui-tools-shared

Verified

Use this skill for shared nuxt-ui-tools runtime usage, including responsive values and reusable remote option loaders for dashboard filters, table filters, and form fields.

FileKindSize
SKILL.mdskill md924 B
references/getting-started.mdmarkdown2.3 KB
references/overview.mdmarkdown968 B
references/remote-options.mdmarkdown2.6 KB

references/overview.md

View on GitHub
# Shared Runtime Overview

This shared runtime surface lets you express primitive values per breakpoint and resolve them from the current `nuxt-viewport` breakpoint.

It also exports `defineRemoteOptions(...)` for a query-backed option loader that can be reused by
dashboard filters, table filters, and form fields. See [Reusable Remote Options](remote-options.md)
for a full example; inline remote sources remain available in every domain.

Current main APIs:

- `defineRemoteOptions(...)`
- `parseResponsiveValue(...)`
- `resolveResponsiveValueAtBreakpoint(...)`
- `getResponsiveValue(...)`
- `useResponsiveValue(...)`

Use this surface when a value such as a column count, grid span, boolean flag, or CSS snippet should follow the active viewport without duplicating `if ($viewport...)` logic everywhere.

Responsive strings use a Tailwind-like pattern:

```txt
1 md:2 xl:4
```

That means:

- `sm` uses `1`
- `md` uses `2`
- `lg` falls back to `2`
- `xl` uses `4`
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: 322kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall