Use when building NuxtHub v0.10.6 applications - provides database (Drizzle ORM with sqlite/postgresql/mysql), KV storage, blob storage, and cache APIs. Covers configuration, schema definition, migrations, multi-cloud deployment (Cloudflare, Vercel), and the new hub:db, hub:kv, hub:blob virtual module imports.
100
Does it follow best practices?
Validation for skill structure
Database schema, Drizzle ORM, migrations
NuxtHub module declared
100%
100%
Hub db config present
33%
100%
Snake case casing enabled
0%
100%
Schema file location
100%
100%
Correct SQLite imports
100%
100%
sqliteTable used
100%
100%
Integer primary key autoIncrement
100%
100%
hub:db import style
100%
100%
inferSelect types
70%
100%
inferInsert types
70%
100%
Generate migration command
0%
100%
Apply migration command
0%
100%
Without context: $0.3159 · 1m 19s · 15 turns · 16 in / 4,273 out tokens
With context: $0.3532 · 55s · 16 turns · 17 in / 2,831 out tokens
Blob upload, validation, serving, multipart
hub:blob import
100%
100%
handleUpload for images
100%
100%
Image type validation
100%
100%
Image size validation
100%
100%
handleMultipartUpload for videos
100%
100%
Multipart route pattern
0%
0%
blob.list with folded
100%
100%
blob.list pagination
100%
100%
blob.serve for file serving
100%
100%
useUpload composable
100%
100%
useMultipartUpload composable
50%
66%
Without context: $0.4710 · 2m 11s · 16 turns · 17 in / 8,266 out tokens
With context: $0.4146 · 1m 11s · 17 turns · 17 in / 4,324 out tokens
Caching, KV storage, cache invalidation
defineCachedFunction used
100%
100%
Cached function name
100%
100%
Cached function maxAge
100%
100%
Cached function getKey
100%
100%
cachedEventHandler for route
100%
100%
Route cache maxAge
100%
100%
hub:kv import
100%
100%
KV TTL in seconds
100%
100%
kv.get returns null handling
100%
100%
useStorage cache namespace
100%
100%
Cache key pattern
60%
100%
removeItem for invalidation
100%
100%
Without context: $0.2845 · 56s · 15 turns · 16 in / 3,222 out tokens
With context: $0.3696 · 52s · 17 turns · 263 in / 2,859 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.