Token导航 LogoToken导航

Agent Skill · 研究检索

datocms-frontend-integrations(datocms 前端集成)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

datocms-frontend-integrations 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 36,895。

总安装 1,839周安装 79GitHub Stars 公开资料未说明下载 645核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:datocms-frontend-integrations(datocms 前端集成)
来源仓库:https://github.com/datocms/agent-skills
仓库路径:skills/datocms-frontend-integrations
安装命令:
npx skills add https://github.com/datocms/agent-skills --skill datocms-frontend-integrations
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/datocms/agent-skills --skill datocms-frontend-integrations

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于 DatoCMS 前端项目的通用集成支持,覆盖多框架场景。提供组件结构建议、API 形状分析和部分补丁修复能力。优先使用 datocms-setup 完成端到端脚手架,复杂需求交予 builder 技能。保持实现简洁,仅在必要时引入新依赖或修改现有架构。涉及页面改动时应配合本地预览验证视觉效果与响应式表现。

来源仓库内路径:skills/datocms-frontend-integrations

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/datocms/agent-skills --skill datocms-frontend-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

datocms-frontend-integrations 怎么安装?

在终端执行 npx skills add https://github.com/datocms/agent-skills --skill datocms-frontend-integratio…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

datocms-frontend-integrations 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

datocms-frontend-integrations 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

datocms-frontend-integrations 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

datocms-frontend-integrations 用的人多吗?

公开数据是累计安装 1,839 次,近一周安装 79 次,下载 645 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

datocms-frontend-integrations 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
datocms-frontend-integrations

datocms 前端集成 · 本页

1,839—接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

DatoCMS Front-End Integrations Skill

This skill is the shared front-end integration bundle for DatoCMS web projects. Prefer datocms-setup when the user wants one feature fully scaffolded end-to-end. Stay in this skill for:

  • mixed-feature tasks touching multiple front-end concerns
  • framework comparison or API-shape questions
  • partial patching inside an existing custom integration
  • companion-reference loading for another DatoCMS skill

When this skill helps scaffold setup-adjacent work, report the result as scaffolded when placeholders remain and production-ready only when the implementation no longer depends on unresolved project-specific values.

Contents


Step 1: Detect Context (silent)

If the project context is already established in this conversation (framework, UI stack, existing integrations, file structure), skip broad detection below. Re-inspect only when a question cannot be answered from prior context.

Silently examine the project to determine setup and configuration.

  1. Framework — Read package.json and check for:

- next -> Next.js (App Router) - nuxt -> Nuxt - @sveltejs/kit -> SvelteKit - astro -> Astro - @remix-run/ -> Remix - otherwise infer whether the project is React-based, Vue-based, or another stack

  1. UI stack — Determine which library the project actually uses for Dato rendering:

- React-based -> react-datocms - Vue-based -> vue-datocms - SvelteKit / Svelte -> @datocms/svelte - Astro without React integration -> @datocms/astro

  1. Existing Dato helpers — Search for:

- @datocms/cda-client - an existing executeQuery wrapper - existing image / Structured Text / SEO / video / search helpers - environment variable files with Dato tokens or URLs

  1. Existing integration markers — Check whether the repo already has:

- draft mode endpoints - preview-links endpoints - Content Link mounting - real-time subscription usage - cache-tag forwarding or invalidation - search routes or search helpers - robots / sitemap routes

  1. File structure — Determine whether the project uses src/ or root-level app directories

Stop conditions

  • If the framework cannot be determined, ask the user which stack they are using.
  • If a requested integration already exists, inspect it and patch in place by default.
  • Only ask about full replacement when the current setup is clearly incompatible, broken, or the user explicitly asked for a rewrite.

Step 2: Classify and Route

Classify the user's request into one or more categories:

CategoryWhen to select
Draft Mode SetupDraft cookies, enable/disable endpoints, or draft CDA token switching
Web Previews SetupPreview-links endpoints, route mapping, Visual tab support
Responsive ImagesDato image rendering helpers or component selection
Structured Text RenderingStructured Text query shapes or renderer wiring
Video PlayerDato / Mux video playback integration
SEO & Meta Tags_seoMetaTags, favicon tags, canonical wiring
Real-Time UpdatesLive preview subscriptions or <QueryListener /> wiring
Visual Editing / Content LinkClick-to-edit overlays and stega-aware rendering
Site SearchReact / Vue widgets or low-level Search API wiring
Robots & Sitemapsrobots.txt, sitemap routes, crawler-safe rules
Cache TagsGranular invalidation or tag-forwarding patterns

Multiple categories can apply.

Prefer the setup orchestrator for full single-feature scaffolding

If the task is clearly "set up X end-to-end", route to datocms-setup instead of keeping all work in this bundle:

CategoryRoute
Draft Mode Setupdatocms-setup for draft-mode
Web Previews Setupdatocms-setup for web-previews
Responsive Imagesdatocms-setup for responsive-images
Structured Text Renderingdatocms-setup for structured-text
Video Playerdatocms-setup for video-player
SEO & Meta Tagsdatocms-setup for seo
Real-Time Updatesdatocms-setup for realtime
Visual Editing / Content Linkdatocms-setup for visual-editing when the user means the full editor flow, or content-link when they explicitly want only overlays/stega wiring
Site Searchdatocms-setup for site-search
Robots & Sitemapsdatocms-setup for robots-sitemaps
Cache Tagsdatocms-setup for cache-tags

Route to datocms-setup when the task is "set up X end-to-end from scratch" for a single feature. Stay here for multi-feature tasks, partial patching, framework comparisons, or when another skill explicitly depends on these references.

If the request says visual editing and clearly wants the full editorial flow, treat that as the bundled setup: draft mode + preview links + Content Link + real-time updates. Only route to content-link by itself when the user explicitly wants the overlay/stega piece in isolation.

Questions

Ask zero questions by default.

Only ask when a safe implementation is blocked by something the repo cannot answer, such as:

  • missing model-to-route mappings for preview or sitemap generation
  • missing cache provider or purge-adapter choice
  • multiple competing renderers where patching the wrong one would be risky

Otherwise proceed directly and call out unresolved values instead of stalling.


Step 3: Load References

Read only what is needed from the references/ directory next to this skill. Long files include a contents section at the top; preview that first, then load the relevant section.

Component concept references

Load the relevant concept file first — it contains shared GraphQL queries, field definitions, and patterns. Then load the framework-specific file for component APIs and props.

CategoryConcept file
Responsive Imagesreferences/image-concepts.md
Video Playerreferences/video-player-concepts.md
SEO & Meta Tagsreferences/seo-concepts.md
Real-Time Updatesreferences/realtime-concepts.md
Site Searchreferences/site-search-concepts.md

Setup foundations

Load these for mixed-feature setup work:

  • references/draft-mode-concepts.md
  • one framework reference:

- references/nextjs.md - references/nuxt.md - references/sveltekit.md - references/astro.md - references/remix.md

  • optional concept references:

- references/web-previews-concepts.md - references/content-link-concepts.md - references/realtime-concepts.md

React references

CategoryReference file
Responsive Imagesreferences/react-image.md
Structured Text Renderingreferences/react-structured-text.md
Video Playerreferences/react-video-player.md
SEO & Meta Tagsreferences/react-seo.md
Real-Time Updatesreferences/react-realtime.md
Visual Editing / Content Linkreferences/react-content-link.md
Site Searchreferences/react-site-search.md

Vue references

CategoryReference file
Responsive Imagesreferences/vue-image.md
Structured Text Renderingreferences/vue-structured-text.md
Video Playerreferences/vue-video-player.md
SEO & Meta Tagsreferences/vue-seo.md
Real-Time Updatesreferences/vue-realtime.md
Visual Editing / Content Linkreferences/vue-content-link.md
Site Searchreferences/vue-site-search.md

Svelte references

CategoryReference file
Responsive Imagesreferences/svelte-image.md
Structured Text Renderingreferences/svelte-structured-text.md
Video Playerreferences/svelte-video-player.md
SEO & Meta Tagsreferences/svelte-seo.md
Real-Time Updatesreferences/svelte-realtime.md
Visual Editing / Content Linkreferences/svelte-content-link.md

Use references/site-search-api.md for Svelte / SvelteKit site-search work.

Astro references

CategoryReference file
Responsive Imagesreferences/astro-image.md
Structured Text Renderingreferences/astro-structured-text.md
SEO & Meta Tagsreferences/astro-seo.md
Real-Time Updatesreferences/astro-realtime.md
Visual Editing / Content Linkreferences/astro-content-link.md

Use references/site-search-api.md for Astro site-search work. For Astro video, use the Mux web component directly or React integration when the project already has it.

Generic search and crawl references

Load these when the task is framework-agnostic, non-widget-based, or crawler-specific:

  • references/site-search-api.md
  • references/robots-and-sitemaps.md

Verification reference

When implementation work is involved, load:

  • references/verification-checklists.md

Step 4: Generate or Patch Code

Follow the loaded references and these shared rules:

Workflow rules

  • Respect existing abstractions and patch in place by default.
  • Prefer the focused setup skill when the task narrows to a single full scaffold.
  • Make targeted changes instead of full rewrites unless the current code is unusable.

Security and environment rules

  • All secrets come from environment variables.
  • Validate a dedicated preview/webhook secret environment variable where draft mode or preview-links flows require it; preserve existing repo naming when present.
  • Use isRelativeUrl() for redirect validation.
  • Do not require authentication on draft-mode disable endpoints.

Query-wrapper rules

  • Add or preserve an includeDrafts option for draft-aware querying.
  • Switch between published and draft CDA tokens based on that option.
  • Default to excludeInvalid: true for draft-aware wrapper patterns unless the task explicitly needs invalid records during schema work.
  • Enable the repo's existing contentLink mode ('v1' or 'vercel-v1') plus baseEditingUrl only in draft / visual-editing contexts.

Framework rules

  • Use native env and redirect APIs for the detected framework.
  • For Astro, always use @datocms/astro/* subpath imports.
  • Use the framework-appropriate component or helper API from the loaded reference, not a cross-framework pattern copied from memory.

TypeScript rules

  • No as unknown as.
  • Avoid unnecessary casts.
  • Prefer import type {...} for type-only imports.
  • Let TypeScript infer types where it can.

Dependency rules

  • Install missing packages only when the task truly needs them.
  • Use @mux/mux-player-react for React video.
  • Use @mux/mux-player for Vue or Svelte video.
  • Use @datocms/cma-client-browser for React / Vue widget-based site search.

Search and crawl safety rules

  • Use explicit search index ids.
  • Use least-privilege public search tokens in the browser.
  • Keep sitemap output on the configured public domain only.
  • Order Dato crawler Allow rules before any catch-all Disallow: /.

If customer-specific values such as route mappings, provider details, or index ids remain unresolved, leave clear placeholders and explicitly call out the missing inputs instead of presenting the work as fully ready.


Step 5: Verify

Load references/verification-checklists.md and check only the sections relevant to the work you actually performed.

At minimum, verify:

  • security, token handling, redirect validation, and environment-variable usage
  • query shapes, wrapper options, and framework-specific component APIs
  • dependency choices and import paths
  • draft-only behavior stays draft-only
  • any remaining placeholders or customer-specific mappings are clearly called out

Cross-Skill Routing

Use companion skills when the task leaves this bundle's sweet spot:

ConditionRoute to
Full single-feature scaffoldingdatocms-setup with the matching recipe from Step 2
Shared CDA client wrapper or executeQuery baselinedatocms-setup for cda-client
Writing or optimizing GraphQL queries for the CDAdatocms-cda
Programmatic content management, schema changes, migration scripts, access control, or webhook creation via RESTdatocms-cma
Building a DatoCMS plugindatocms-plugin-builder

平台分布

Codex

35.81%
按下载量换算231

Claude

29.53%
按下载量换算190

Cursor

20.74%
按下载量换算134

Gemini CLI

10.37%
按下载量换算67

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills