nuxt-content
Build typed, content-driven Nuxt applications with @nuxt/content. Use when working with content.config.ts, collections, queryCollection, Markdown or MDC rendering, content databases, hooks, custom sources, search, or Content v2 migrations.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=onmax-nuxt-skills-skills-nuxt-content-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name nuxt-content description Build typed, content-driven Nuxt applications with @nuxt/content. Use when working with content.config.ts, collections, queryCollection, Markdown or MDC rendering, content databases, hooks, custom sources, search, or Content v2 migrations. license MIT Nuxt Content Workflow Inspect the installed @nuxt/content version, content.config.ts , matching files under content/ , and the Nuxt surface that consumes them. The branch is understood when the collection, source glob, schema, and consumer agree. Open the smallest matching guide below. Apply Nuxt Content guidance only to content-owned APIs; use Nuxt, Nuxt Studio, Nuxt UI, or Vue guidance when those packages own the remaining surface. Implement with typed collections and payload-backed Nuxt data loading. The change is complete when collection types resolve, the intended query returns the expected document shape, and the rendered route works in the target rendering mode. Routing Task Open Collection types, schemas, indexes, local/remote sources, or locale prefixes Collections Filtering, sorting, pagination, navigation, surroundings, or search Querying Markdown, MDC, ContentRenderer , prose components, or code highlighting Rendering Database adapters, markdown processing, renderer aliases, or deployment storage Configuration Hooks, transformers, custom sources, raw content, debugging, or Content v2 migration Advanced Visual editing, authentication, media, drafts, or Git publishing nuxt-studio skill Writing or restructuring documentation prose document-writer skill Baseline // content.config.ts import { defineCollection, defineContentConfig } from '@nuxt/content' import { z } from 'zod' export default defineContentConfig ({ collections : { docs : defineCollection ({ type : 'page' , source : 'docs/**' , schema : z. object ({ updatedAt : z. date (). optional (), }), }), }, }) <script setup lang="ts"> const route = useRoute() const { data: page } = await useAsyncData(route.path, () => { return queryCollection('docs').path(route.path).first() }) </script> <template> <ContentRenderer v-if="page" :value="page" /> </template> Use npx nuxi typecheck to verify generated collection types. When a query is empty, confirm that its collection source includes the file—especially .navigation.yml —before changing query logic.
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |