diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 688d836..190e105 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -25,6 +25,73 @@ const integrations = [ ['ZBrush', 'dcc-mcp-zbrush'], ] +const englishTheme = { + nav: [ + { text: 'Marketplace', link: '/marketplace' }, + { text: 'Showcase', link: '/showcase' }, + { text: 'For Agents', link: '/agents' }, + { text: 'For Developers', link: '/developers' }, + { text: 'Ecosystem', link: '/ecosystem' }, + { + text: 'Reference', + items: [ + { text: 'Core documentation', link: 'https://dcc-mcp.github.io/dcc-mcp-core/' }, + { text: 'CLI reference', link: 'https://dcc-mcp.github.io/dcc-mcp-core/guide/cli-reference' }, + { text: 'Python API', link: 'https://dcc-mcp.github.io/dcc-mcp-core/api/models' }, + { text: 'Marketplace source', link: 'https://github.com/dcc-mcp/marketplace' }, + ], + }, + ], + footer: { + message: 'Open infrastructure for agent-driven creative software.', + copyright: 'DCC-MCP', + }, + editLink: { + pattern: 'https://github.com/dcc-mcp/dcc-mcp.github.io/edit/main/docs/:path', + text: 'Improve this page', + }, + docFooter: { prev: 'Previous page', next: 'Next page' }, + lastUpdatedText: 'Last updated', + outlineTitle: 'On this page', +} + +const chineseTheme = { + nav: [ + { text: '技能市场', link: '/zh/marketplace' }, + { text: '案例画廊', link: '/zh/showcase' }, + { text: 'Agent 使用', link: '/zh/agents' }, + { text: '开发者', link: '/zh/developers' }, + { text: '生态目录', link: '/zh/ecosystem' }, + { + text: '参考资料', + items: [ + { text: 'Core 文档', link: 'https://dcc-mcp.github.io/dcc-mcp-core/zh/' }, + { text: 'CLI 参考', link: 'https://dcc-mcp.github.io/dcc-mcp-core/zh/guide/cli-reference' }, + { text: 'Python API', link: 'https://dcc-mcp.github.io/dcc-mcp-core/api/models' }, + { text: 'Marketplace 源目录', link: 'https://github.com/dcc-mcp/marketplace' }, + ], + }, + ], + footer: { + message: '面向 Agent 驱动创意软件的开放基础设施。', + copyright: 'DCC-MCP', + }, + editLink: { + pattern: 'https://github.com/dcc-mcp/dcc-mcp.github.io/edit/main/docs/:path', + text: '改进此页面', + }, + docFooter: { prev: '上一页', next: '下一页' }, + lastUpdatedText: '最后更新', + outlineTitle: '本页内容', + darkModeSwitchLabel: '外观', + lightModeSwitchTitle: '切换到浅色主题', + darkModeSwitchTitle: '切换到深色主题', + langMenuLabel: '切换语言', + sidebarMenuLabel: '菜单', + returnToTopLabel: '返回顶部', + skipToContentLabel: '跳到正文', +} + export default defineConfig({ title: 'DCC-MCP', description, @@ -34,8 +101,8 @@ export default defineConfig({ sitemap: { hostname: siteUrl }, locales: { - root: { label: 'English', lang: 'en', title: 'DCC-MCP', description }, - zh: { label: '简体中文', lang: 'zh-CN', title: 'DCC-MCP', description: zhDescription, link: '/zh/' }, + root: { label: 'English', lang: 'en', title: 'DCC-MCP', description, themeConfig: englishTheme }, + zh: { label: '简体中文', lang: 'zh-CN', title: 'DCC-MCP', description: zhDescription, link: '/zh/', themeConfig: chineseTheme }, }, head: [ @@ -161,72 +228,5 @@ export default defineConfig({ socialLinks: [ { icon: 'github', link: 'https://github.com/dcc-mcp' }, ], - locales: { - root: { - label: 'English', - nav: [ - { text: 'Marketplace', link: '/marketplace' }, - { text: 'For Agents', link: '/agents' }, - { text: 'For Developers', link: '/developers' }, - { text: 'Ecosystem', link: '/ecosystem' }, - { - text: 'Reference', - items: [ - { text: 'Core documentation', link: 'https://dcc-mcp.github.io/dcc-mcp-core/' }, - { text: 'CLI reference', link: 'https://dcc-mcp.github.io/dcc-mcp-core/guide/cli-reference' }, - { text: 'Python API', link: 'https://dcc-mcp.github.io/dcc-mcp-core/api/models' }, - { text: 'Marketplace source', link: 'https://github.com/dcc-mcp/marketplace' }, - ], - }, - ], - footer: { - message: 'Open infrastructure for agent-driven creative software.', - copyright: 'DCC-MCP', - }, - editLink: { - pattern: 'https://github.com/dcc-mcp/dcc-mcp.github.io/edit/main/docs/:path', - text: 'Improve this page', - }, - docFooter: { prev: 'Previous page', next: 'Next page' }, - lastUpdatedText: 'Last updated', - outlineTitle: 'On this page', - }, - zh: { - label: '简体中文', - nav: [ - { text: '技能市场', link: '/zh/marketplace' }, - { text: 'Agent 使用', link: '/zh/agents' }, - { text: '开发者', link: '/zh/developers' }, - { text: '生态目录', link: '/zh/ecosystem' }, - { - text: '参考资料', - items: [ - { text: 'Core 文档', link: 'https://dcc-mcp.github.io/dcc-mcp-core/zh/' }, - { text: 'CLI 参考', link: 'https://dcc-mcp.github.io/dcc-mcp-core/zh/guide/cli-reference' }, - { text: 'Python API', link: 'https://dcc-mcp.github.io/dcc-mcp-core/api/models' }, - { text: 'Marketplace 源目录', link: 'https://github.com/dcc-mcp/marketplace' }, - ], - }, - ], - footer: { - message: '面向 Agent 驱动创意软件的开放基础设施。', - copyright: 'DCC-MCP', - }, - editLink: { - pattern: 'https://github.com/dcc-mcp/dcc-mcp.github.io/edit/main/docs/:path', - text: '改进此页面', - }, - docFooter: { prev: '上一页', next: '下一页' }, - lastUpdatedText: '最后更新', - outlineTitle: '本页内容', - darkModeSwitchLabel: '外观', - lightModeSwitchTitle: '切换到浅色主题', - darkModeSwitchTitle: '切换到深色主题', - langMenuLabel: '切换语言', - sidebarMenuLabel: '菜单', - returnToTopLabel: '返回顶部', - skipToContentLabel: '跳到正文', - }, - }, }, }) diff --git a/docs/.vitepress/theme/components/ShowcaseGallery.vue b/docs/.vitepress/theme/components/ShowcaseGallery.vue new file mode 100644 index 0000000..a22df86 --- /dev/null +++ b/docs/.vitepress/theme/components/ShowcaseGallery.vue @@ -0,0 +1,131 @@ + + + diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index db752be..dcafbb2 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -1,10 +1,12 @@ import DefaultTheme from 'vitepress/theme' import MarketplaceSearch from './components/MarketplaceSearch.vue' +import ShowcaseGallery from './components/ShowcaseGallery.vue' import './styles.css' export default { extends: DefaultTheme, enhanceApp({ app }) { app.component('MarketplaceSearch', MarketplaceSearch) + app.component('ShowcaseGallery', ShowcaseGallery) }, } diff --git a/docs/.vitepress/theme/styles.css b/docs/.vitepress/theme/styles.css index 45fe9fc..316572a 100644 --- a/docs/.vitepress/theme/styles.css +++ b/docs/.vitepress/theme/styles.css @@ -427,16 +427,23 @@ html[lang='zh-CN'] .VPHome .vp-doc.container div[class*='language-'] button.copy .ecosystem-directory .VPDoc .content-container, .route-page .VPDoc .content-container, +.showcase-page .VPDoc .content-container, .marketplace-page .VPDoc .content-container { max-width: 1120px; } +.showcase-page .VPDoc:not(.has-sidebar) .content, .marketplace-page .VPDoc:not(.has-sidebar) .content { max-width: 1184px; } +.showcase-page .VPDoc .content-container, .marketplace-page .VPDoc .content-container { max-width: none; } +.showcase-page .VPDoc.has-aside .container, .marketplace-page .VPDoc.has-aside .container { max-width: 1184px; } +.showcase-page .VPDoc.has-aside .content, .marketplace-page .VPDoc.has-aside .content { max-width: none; } +.showcase-page .VPDoc.has-aside .content-container, .marketplace-page .VPDoc.has-aside .content-container { max-width: none; } .ecosystem-directory .vp-doc h1, .route-page .vp-doc h1, +.showcase-page .vp-doc h1, .marketplace-page .vp-doc h1 { max-width: 780px; font-size: clamp(42px, 7vw, 72px); @@ -444,8 +451,10 @@ html[lang='zh-CN'] .VPHome .vp-doc.container div[class*='language-'] button.copy letter-spacing: -0.05em; } +.showcase-page .vp-doc > p, .marketplace-page .vp-doc > p { max-width: 780px; color: var(--vp-c-text-2); } +.showcase-page .vp-doc h1, .marketplace-page .vp-doc h1 { font-size: clamp(34px, 5vw, 52px); } .marketplace-search { margin-top: 38px; } @@ -797,6 +806,113 @@ html[lang='zh-CN'] .VPHome .vp-doc.container div[class*='language-'] button.copy .marketplace-card-actions a { margin-left: auto; } .marketplace-empty { padding: 64px 0; text-align: center; } +.showcase-gallery { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 22px; + margin-top: 42px; +} + +.showcase-prompt-card { + overflow: hidden; + margin: 0 !important; + border: 1px solid var(--dcc-line); + background: var(--dcc-panel); + transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease; +} + +.showcase-prompt-card:hover { + transform: translateY(-3px); + border-color: color-mix(in srgb, var(--vp-c-brand-1) 42%, var(--dcc-line)); + box-shadow: var(--dcc-shadow); +} + +.showcase-prompt-media { + position: relative; + display: block; + aspect-ratio: 16 / 10; + overflow: hidden; + background: #07120f; +} + +.showcase-prompt-media::after { + position: absolute; + inset: 58% 0 0; + background: linear-gradient(transparent, rgba(3, 7, 6, 0.78)); + content: ''; +} + +.showcase-prompt-media img { + width: 100%; + height: 100%; + object-fit: cover; + transition: transform 360ms cubic-bezier(0.2, 0.75, 0.2, 1); +} + +.showcase-prompt-card:hover .showcase-prompt-media img { transform: scale(1.025); } + +.showcase-prompt-media span { + position: absolute; + z-index: 1; + right: 18px; + bottom: 15px; + left: 18px; + color: #6ee7b7; + font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; + letter-spacing: 0.12em; +} + +.showcase-prompt-body { padding: 21px; } + +.showcase-prompt-body h2 { + min-height: 54px; + margin: 0 0 20px; + padding: 0; + border: 0; + color: var(--dcc-ink); + font-size: 21px; + line-height: 1.28; + letter-spacing: -0.025em; +} + +.showcase-prompt-copy { + display: grid; + gap: 12px; + padding: 16px; + border: 1px solid var(--dcc-line); + background: var(--dcc-panel-soft); +} + +.showcase-prompt-copy small { + color: var(--vp-c-brand-1); + font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; + letter-spacing: 0.13em; +} + +.showcase-prompt-copy p { + min-height: 132px; + margin: 0; + color: var(--dcc-ink-soft); + font-size: 12px; + line-height: 1.65; +} + +.showcase-prompt-copy button { + justify-self: start; + min-height: 34px; + padding: 8px 11px; + border: 1px solid var(--vp-c-brand-1); + border-radius: 4px; + background: var(--vp-c-brand-1); + color: var(--dcc-primary-foreground); + font-size: 11px; + font-weight: 750; + cursor: pointer; +} + +.showcase-prompt-copy button:hover { background: var(--vp-c-brand-2); } +.showcase-prompt-copy button:focus-visible { outline: 3px solid var(--vp-c-brand-soft); outline-offset: 2px; } + .directory-actions { display: grid; grid-template-columns: repeat(3, 1fr); @@ -839,6 +955,7 @@ html[lang='zh-CN'] .VPHome .vp-doc.container div[class*='language-'] button.copy .dcc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .marketplace-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .marketplace-search.preview .marketplace-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } + .showcase-prompt-copy p { min-height: 158px; } } @media (max-width: 640px) { @@ -874,10 +991,15 @@ html[lang='zh-CN'] .VPHome .vp-doc.container div[class*='language-'] button.copy .marketplace-results { grid-template-columns: 1fr; } .marketplace-search.preview .marketplace-results { grid-template-columns: 1fr; } .marketplace-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } + .showcase-gallery { grid-template-columns: 1fr; } + .showcase-prompt-body h2, + .showcase-prompt-copy p { min-height: 0; } } @media (prefers-reduced-motion: reduce) { .showcase-card img, + .showcase-prompt-card, + .showcase-prompt-media img, .marketplace-card, .marketplace-card-media > img { transition: none; } } diff --git a/docs/agents.md b/docs/agents.md index 2fd9564..045bf07 100644 --- a/docs/agents.md +++ b/docs/agents.md @@ -8,6 +8,14 @@ pageClass: route-page The default agent entry is the public [`dcc-mcp` Skill](https://clawhub.ai/loonghao/skills/dcc-mcp) plus `dcc-mcp-cli`. The Skill supplies workflow knowledge; the CLI owns gateway lifecycle, structured discovery, typed execution, diagnostics, and updates. +## Give your agent the project map + +Paste this into an agent to orient it before a DCC-MCP task: + +```text +Learn the DCC-MCP ecosystem before acting. Read https://dcc-mcp.github.io/llms.txt first and use https://dcc-mcp.github.io/llms-full.txt only when more detail is needed. Route my request to exactly one path: operate a live DCC with dcc-mcp, create or modernize an adapter with dcc-mcp-creator, or create a specialized workflow Skill with dcc-mcp-skills-creator. Use https://dcc-mcp.github.io/marketplace to discover installable capabilities, https://dcc-mcp.github.io/showcase for proven prompt patterns, and https://dcc-mcp.github.io/ecosystem for repository ownership. Prefer typed dcc-mcp-cli discovery and follow returned next_step values. Diagnose failures from request_id before retrying, redact evidence, and never install, publish, file an external bug, or change my machine without explicit permission. Start by returning the project route, the capability you will use, and the exact next safe step. +``` + ## Install the matching Skill | Intent | Skill | @@ -63,4 +71,6 @@ Then discover and call `dcc_feedback__report` through the same search workflow. - [CLI reference](https://dcc-mcp.github.io/dcc-mcp-core/guide/cli-reference) - [Agent reference](https://dcc-mcp.github.io/dcc-mcp-core/guide/agents-reference) - [Gateway diagnostics](https://dcc-mcp.github.io/dcc-mcp-core/guide/gateway-diagnostics) +- [Marketplace](/marketplace) +- [Showcase prompts](/showcase) - [Browse the ecosystem](/ecosystem) diff --git a/docs/index.md b/docs/index.md index f4fe606..b9b1937 100644 --- a/docs/index.md +++ b/docs/index.md @@ -136,5 +136,5 @@ Set up DCC-MCP on this machine for agent-driven creative workflows. GAME ASSETSBrowse to build - Explore the complete ecosystem → + Open the Showcase and copy a prompt → diff --git a/docs/public/llms-full.txt b/docs/public/llms-full.txt index 779238e..0f41064 100644 --- a/docs/public/llms-full.txt +++ b/docs/public/llms-full.txt @@ -20,6 +20,8 @@ Simplified Chinese machine-readable guide: https://dcc-mcp.github.io/zh/llms-ful The default agent path is the public `dcc-mcp` Skill plus CLI + REST. IDE users may connect through MCP configuration. Both paths use the same gateway; CLI-first does not deprecate MCP. +For a copyable ecosystem-orientation prompt, use https://dcc-mcp.github.io/agents. For proven output-and-prompt pairs, use https://dcc-mcp.github.io/showcase. + ## Public Skill router - Operate a live DCC, discover typed tools, or search/install Marketplace extensions: https://clawhub.ai/loonghao/skills/dcc-mcp @@ -85,6 +87,12 @@ Every reusable failure analysis starts from the failed call's `request_id`. After an accepted task, a specialized Skill may use the `dcc-mcp-skills-creator` review workflow to analyze recurring friction and propose a narrowly scoped improvement. Review never expands edit, install, or publish authority. +## Showcase prompt patterns + +Showcase gallery: https://dcc-mcp.github.io/showcase + +Each card links a real ecosystem output to a consent-aware prompt. Treat it as a reproducible intent pattern, not proof that a local host or package is already installed. Agents must still discover typed tools, inspect Marketplace packages, request consent before mutation, and validate the produced scene or file. + ## Developer ownership - Build a new DCC integration or modernize runtime wiring with `dcc-mcp-creator`. @@ -98,6 +106,7 @@ After an accepted task, a specialized Skill may use the `dcc-mcp-skills-creator` - Homepage and one-prompt setup: https://dcc-mcp.github.io/ - Agent guide: https://dcc-mcp.github.io/agents - Marketplace search: https://dcc-mcp.github.io/marketplace +- Showcase prompts: https://dcc-mcp.github.io/showcase - Developer router: https://dcc-mcp.github.io/developers - Ecosystem directory: https://dcc-mcp.github.io/ecosystem - Core getting started: https://dcc-mcp.github.io/dcc-mcp-core/guide/getting-started diff --git a/docs/public/llms.txt b/docs/public/llms.txt index d2498fb..4b796c3 100644 --- a/docs/public/llms.txt +++ b/docs/public/llms.txt @@ -8,6 +8,7 @@ Languages: [English](https://dcc-mcp.github.io/llms.txt) · [简体中文](https - [Homepage and one-prompt setup](https://dcc-mcp.github.io/) - [Marketplace search](https://dcc-mcp.github.io/marketplace): Search the official live catalog and copy consent-aware agent prompts or typed CLI installation commands. +- [Showcase gallery](https://dcc-mcp.github.io/showcase): View real ecosystem outputs and copy the corresponding production-oriented agent prompts. - [Agent workflow](https://dcc-mcp.github.io/agents): Install the public Skill, discover typed tools, validate calls, and diagnose failures. - [Developer routing](https://dcc-mcp.github.io/developers): Decide whether to build an adapter, a specialized Skill, or a shared Core change. - [Ecosystem directory](https://dcc-mcp.github.io/ecosystem): Adapters, extensions, asset providers, AI services, and studio integrations. diff --git a/docs/public/zh/llms-full.txt b/docs/public/zh/llms-full.txt index e8dfbab..25363d8 100644 --- a/docs/public/zh/llms-full.txt +++ b/docs/public/zh/llms-full.txt @@ -20,6 +20,8 @@ Core 文档:https://dcc-mcp.github.io/dcc-mcp-core/zh/ 默认 Agent 路径是公开 `dcc-mcp` Skill 加 CLI + REST。IDE 用户仍可通过 MCP 配置连接。两条路径使用同一个 Gateway;CLI 优先并不废弃 MCP。 +可复制的生态理解提示词位于 https://dcc-mcp.github.io/zh/agents;经过验证的效果与提示词组合位于 https://dcc-mcp.github.io/zh/showcase。 + ## 公开 Skill 路由 - 操作已连接 DCC、发现类型化工具或搜索安装 Marketplace 扩展:https://clawhub.ai/loonghao/skills/dcc-mcp @@ -87,6 +89,12 @@ Marketplace 卡片的 `showcase` 从软件包不可变 `source.ref` 解析,因 任务验收后,专项 Skill 可以使用 `dcc-mcp-skills-creator` 的审查流程分析重复摩擦并提出最小改进。审查不会扩大编辑、安装或发布权限。 +## 案例提示词模式 + +案例画廊:https://dcc-mcp.github.io/zh/showcase + +每张卡片把真实生态产出与安全提示词关联起来。它是可复用意图模式,不代表本地 Host 或软件包已经安装。Agent 仍须发现类型化工具、检查 Marketplace 软件包、改变状态前请求授权,并验证生成的场景或文件。 + ## 开发所有权 - 使用 `dcc-mcp-creator` 构建新 DCC 集成或现代化运行时接线。 @@ -100,6 +108,7 @@ Marketplace 卡片的 `showcase` 从软件包不可变 `source.ref` 解析,因 - 官网与一段提示词接入:https://dcc-mcp.github.io/zh/ - Agent 指南:https://dcc-mcp.github.io/zh/agents - Marketplace:https://dcc-mcp.github.io/zh/marketplace +- 案例提示词:https://dcc-mcp.github.io/zh/showcase - 开发者路由:https://dcc-mcp.github.io/zh/developers - 生态目录:https://dcc-mcp.github.io/zh/ecosystem - Core 快速开始:https://dcc-mcp.github.io/dcc-mcp-core/zh/guide/getting-started diff --git a/docs/public/zh/llms.txt b/docs/public/zh/llms.txt index e74abf5..c18aa4e 100644 --- a/docs/public/zh/llms.txt +++ b/docs/public/zh/llms.txt @@ -8,6 +8,7 @@ - [官网与一段提示词完成接入](https://dcc-mcp.github.io/zh/) - [Marketplace 搜索](https://dcc-mcp.github.io/zh/marketplace):搜索官方在线目录,复制安全 Agent 提示词或类型化 CLI 安装命令。 +- [案例画廊](https://dcc-mcp.github.io/zh/showcase):查看真实生态产出,并复制对应的生产级 Agent 提示词。 - [Agent 工作流](https://dcc-mcp.github.io/zh/agents):安装公开 Skill、发现类型化工具、验证调用并诊断失败。 - [开发者路由](https://dcc-mcp.github.io/zh/developers):判断应该构建适配器、专项 Skill 还是共享 Core 能力。 - [生态目录](https://dcc-mcp.github.io/zh/ecosystem):适配器、扩展、资产提供方、AI 服务和工作室集成。 diff --git a/docs/showcase.md b/docs/showcase.md new file mode 100644 index 0000000..48b2465 --- /dev/null +++ b/docs/showcase.md @@ -0,0 +1,13 @@ +--- +title: Showcase +description: Production-oriented DCC-MCP examples with the exact prompts agents can follow to recreate each workflow. +pageClass: showcase-page +--- + +# See the result. Copy the intent. + +Each showcase pairs a real ecosystem output with a consent-aware prompt. Give the prompt to an agent with the [`dcc-mcp` Skill](https://clawhub.ai/loonghao/skills/dcc-mcp); it will discover the matching typed tools or Marketplace package before acting. + + + + diff --git a/docs/zh/agents.md b/docs/zh/agents.md index f8062b2..4be38a5 100644 --- a/docs/zh/agents.md +++ b/docs/zh/agents.md @@ -8,6 +8,14 @@ pageClass: route-page Agent 的默认入口是公开的 [`dcc-mcp` Skill](https://clawhub.ai/loonghao/skills/dcc-mcp) 与 `dcc-mcp-cli`。Skill 提供工作流知识;CLI 负责 Gateway 生命周期、结构化发现、类型化执行、诊断与更新。 +## 把项目地图交给你的 Agent + +开始 DCC-MCP 任务前,把下面这段提示词直接交给 Agent: + +```text +行动前先了解 DCC-MCP 生态。首先阅读 https://dcc-mcp.github.io/zh/llms.txt,只有需要更多细节时才阅读 https://dcc-mcp.github.io/zh/llms-full.txt。将我的需求准确路由到一条路径:用 dcc-mcp 操作在线 DCC,用 dcc-mcp-creator 创建或现代化适配器,或用 dcc-mcp-skills-creator 创建专项工作流 Skill。使用 https://dcc-mcp.github.io/zh/marketplace 发现可安装能力,使用 https://dcc-mcp.github.io/zh/showcase 参考经过验证的提示词模式,使用 https://dcc-mcp.github.io/zh/ecosystem 确认仓库归属。优先使用类型化 dcc-mcp-cli 发现能力,并严格遵循返回的 next_step。重试前从 request_id 开始诊断,清理敏感证据;未经我明确许可,不得安装、发布、创建外部 Bug 或改变我的机器。先返回项目路由、准备使用的能力和下一步准确且安全的操作。 +``` + ## 安装匹配任务的 Skill | 任务 | Skill | @@ -63,4 +71,6 @@ dcc-mcp-cli stats --status failure - [CLI 参考](https://dcc-mcp.github.io/dcc-mcp-core/zh/guide/cli-reference) - [Agent 参考](https://dcc-mcp.github.io/dcc-mcp-core/guide/agents-reference) - [Gateway 诊断](https://dcc-mcp.github.io/dcc-mcp-core/guide/gateway-diagnostics) +- [技能市场](/zh/marketplace) +- [案例提示词](/zh/showcase) - [浏览生态目录](/zh/ecosystem) diff --git a/docs/zh/index.md b/docs/zh/index.md index e8cc1b5..e3e3834 100644 --- a/docs/zh/index.md +++ b/docs/zh/index.md @@ -132,5 +132,5 @@ hero: GAME ASSETS从浏览到构建 - 探索完整生态 → + 打开案例画廊并复制提示词 → diff --git a/docs/zh/showcase.md b/docs/zh/showcase.md new file mode 100644 index 0000000..afc9ddb --- /dev/null +++ b/docs/zh/showcase.md @@ -0,0 +1,13 @@ +--- +title: 案例画廊 +description: 展示真实 DCC-MCP 生产案例,以及 Agent 可以直接执行的对应提示词。 +pageClass: showcase-page +--- + +# 看见效果,复制意图。 + +每个案例都把真实生态产出与安全提示词放在一起。把提示词交给已安装 [`dcc-mcp` Skill](https://clawhub.ai/loonghao/skills/dcc-mcp) 的 Agent,它会先发现匹配的类型化工具或 Marketplace 软件包,再经授权执行。 + + + + diff --git a/scripts/validate-site.mjs b/scripts/validate-site.mjs index aa8cb51..23345b1 100644 --- a/scripts/validate-site.mjs +++ b/scripts/validate-site.mjs @@ -10,11 +10,13 @@ const requiredFiles = [ 'developers.html', 'ecosystem.html', 'marketplace.html', + 'showcase.html', 'zh/index.html', 'zh/agents.html', 'zh/developers.html', 'zh/ecosystem.html', 'zh/marketplace.html', + 'zh/showcase.html', 'llms.txt', 'llms-full.txt', 'zh/llms.txt', @@ -38,9 +40,15 @@ if (!chineseHome.includes('lang="zh-CN"')) throw new Error('Chinese home has the if (!englishHome.includes('CAPABILITY MARKETPLACE') || !chineseHome.includes('能力市场')) { throw new Error('Localized homepages are missing the Marketplace preview') } +for (const label of ['Marketplace', 'Showcase', 'For Agents']) { + if (!englishHome.includes(`>${label}<`)) throw new Error(`English navigation is missing ${label}`) +} +for (const label of ['技能市场', '案例画廊', 'Agent 使用']) { + if (!chineseHome.includes(`>${label}<`)) throw new Error(`Chinese navigation is missing ${label}`) +} const sitemap = readFileSync(join(dist, 'sitemap.xml'), 'utf8') -for (const route of ['/', '/marketplace', '/zh/', '/zh/marketplace']) { +for (const route of ['/', '/marketplace', '/showcase', '/zh/', '/zh/marketplace', '/zh/showcase']) { if (!sitemap.includes(`https://dcc-mcp.github.io${route}`)) throw new Error(`Sitemap is missing ${route}`) } @@ -51,4 +59,10 @@ if (!marketplaceSource.includes('props.preview ? previewSkills.value : filtered. throw new Error('Marketplace home preview support is missing') } -console.log('Validated 10 localized pages, 4 llms files, theme logos, sitemap, and Marketplace page/home media support.') +const showcaseSource = readFileSync(join(root, 'docs', '.vitepress', 'theme', 'components', 'ShowcaseGallery.vue'), 'utf8') +for (const asset of ['blender-lookdev.webp', 'houdini-portal.png', 'hunyuan3d.webp', 'geospatial-city.webp', 'maya-architecture.jpg', 'kenney-assets.webp']) { + if (!showcaseSource.includes(asset)) throw new Error(`Showcase gallery is missing ${asset}`) +} +if (!showcaseSource.includes('navigator.clipboard.writeText')) throw new Error('Showcase prompt copy support is missing') + +console.log('Validated 12 localized pages, 4 llms files, theme logos, sitemap, Marketplace media, and Showcase prompts.')