Token导航 LogoToken导航

Agent Skill · 研究检索

datocms-plugin-builder(datocms 插件生成器)

datocms-plugin-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

datocms-plugin-builder 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 36,633。

总安装 1,891周安装 78GitHub Stars 公开资料未说明下载 618核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/datocms/agent-skills --skill datocms-plugin-builder

这个 Skill 是做什么的

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

用于增强现有 DatoCMS 插件的功能或调整其用户界面。默认采用增量修改模式,保持改动范围最小化。datocms-plugin-builder 属于研究检索类 Skill,可作为该场景下的辅助能力补充。首先识别受影响的表面区域,再针对性地实施变更。充分利用 datocms-react-ui 组件库确保视觉一致性。

每次编辑后应重新检查 connect() 调用及其他核心钩子配置。

来源仓库内路径:skills/datocms-plugin-builder

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

datocms-plugin-builder 怎么安装?

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

datocms-plugin-builder 支持哪些 AI 工具?

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

datocms-plugin-builder 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

datocms-plugin-builder 是免费的吗?

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

datocms-plugin-builder 用的人多吗?

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

datocms-plugin-builder 安全吗?

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

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

值得选的地方

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

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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-plugin-builder

datocms 插件生成器 · 本页

1,891—操作浏览器未明确有提醒

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

SKILL.md 原文

DatoCMS Plugin Builder

Default to augment mode. Move fast, inspect narrowly, and keep edits small. After the first grounding pass, stop rediscovering surfaces you already know.

Step 1: Pick the path

A. Initial surface discovery

Use this when the touched surface is not yet obvious.

  1. Read package.json and confirm the plugin uses datocms-plugin-sdk.
  2. Find the entry file that calls connect() (src/main.tsx, src/index.tsx, or equivalent).
  3. Inspect the existing connect() call before changing any hook.
  4. From the user request, identify the smallest touched surface:

- config screen / plugin parameters - field extension or manual field extension config - sidebar panel, full sidebar, outlet, or custom page - dropdown action or lifecycle hook - modal, inspector, asset source, or upload sidebar - record presentation or structured text customization - dependency, build, or type fix around the plugin

  1. Read only the direct path of the change:

- the connect() entry file - the component or helper being edited - any imported file that must change too

  1. Reuse the current file layout, naming, and UI patterns.

B. Fast follow-up edit

Use this when prior context or direct repo inspection already makes the surface obvious.

  1. Re-open only the touched render branch, component, and helper.
  2. Confirm the hook pair, parameter shape, and permission needs still match.
  3. Patch the existing branch/component/helper directly.
  4. Skip broad rediscovery unless the code stops answering the question.

Do not repeat full discovery for obvious small edits like label renames, config cleanup, option removal, one-hook wiring, modal copy tweaks, or validation adjustments.

Step 2: Ask only if the repo cannot answer

Ask zero questions by default.

Only ask when a wrong assumption would materially change behavior and the repo cannot resolve it, such as:

  • which DatoCMS surface to use
  • which model or field scope to target
  • whether a new permission or external dependency is allowed
  • whether the flow must stay inside SDK helpers or must use browser CMA calls

If no plugin project exists, or the user wants a brand-new plugin folder, switch to datocms-plugin-scaffold.

Step 3: Load only the needed references

Start from project code.

For day-2/day-3 maintenance patterns, load references/rapid-patterns.md first. Then load only the direct surface reference you need.

Surface references

  • Config screen / plugin parameters -> references/config-screen.md
  • Field extension / per-field config -> references/field-extensions.md
  • Sidebar panel / full sidebar -> references/sidebar-panels.md
  • Custom page -> references/custom-pages.md
  • Dropdown actions -> references/dropdown-actions.md
  • Lifecycle hooks -> references/lifecycle-hooks.md
  • Modal -> references/modals.md
  • Outlets -> references/outlets.md
  • Inspector -> references/inspectors.md
  • Asset source -> references/asset-sources.md
  • Upload sidebar / panel -> references/upload-sidebars.md
  • Structured text customization -> references/structured-text.md
  • Record presentation -> references/record-presentation.md

Load conditionally

  • references/connect-conventions.md when wiring or adjusting hooks, render switches, modal flows, or frame sizing behavior
  • references/form-values.md only when reading ctx.formValues outside field extensions, or when touching Structured Text / modular content values
  • references/permissions.md when adding or removing plugin permissions, using ctx.currentUserAccessToken, or shipping permission-gated UI branches
  • references/sdk-architecture.md only when the smaller references do not answer a deeper SDK or browser CMA question

Do not load the whole reference set for a small patch.

Step 4: Patch minimally

Prefer editing the existing declaration, render switch, component, or helper over reorganizing the plugin.

  • Do not move files unless it reduces total complexity or removes repeated surface glue.
  • Add a new file only when it keeps the patch smaller or isolates shared normalization / browser-CMA work used by the touched flow.
  • Keep dependency changes minimal and only add packages that the code actually uses.
  • Preserve the existing UI style unless the user asked for a redesign.

Keep these guardrails:

  • Inspect the existing connect() call before adding hooks.
  • Keep exactly one top-level connect() call.
  • Update declaration, render, execute, and package permissions together when a flow needs them.
  • Wrap rendered UI in <Canvas ctx={ctx}>; use noAutoResizer only for pages, inspectors, and full-width sidebars.
  • Use switch for ID-dispatched render hooks.
  • Use import type {...} for SDK types.
  • Guard ctx.item before reading record data.
  • Use get(ctx.formValues, ctx.fieldPath) in field extensions; use the localized-value patterns from references/form-values.md elsewhere.
  • Use useDeepCompareEffect instead of useEffect when depending on ctx object properties.
  • Keep ctx.openModal() parameters and ctx.resolve() values JSON-serializable.
  • Normalize stored plugin parameters at the read/save boundary instead of rewriting the whole screen.
  • Use ctx.setParameters() directly in renderManualFieldExtensionConfigScreen.
  • Do not create editor field extensions for modular content, single block, or structured text fields; use addon extensions instead.
  • Prefer datocms-react-ui and small local components for standard controls, spacing, and layout.
  • Introduce heavier custom UI only for tool-like interactions that standard components do not express cleanly.
  • Keep plugin screens and modals compact; avoid dashboard-style layouts, nested panels, decorative sections, or over-architecture.
  • Use browser CMA flows only when SDK helpers are not enough; keep permission changes and runtime guards aligned.

Maintenance shortcuts

  • Config screen edits: normalize parameters once, keep save logic narrow, and use plain local state unless the form truly earns react-final-form.
  • Asset source + modal: keep assetSources / renderAssetSource as the main path, use a modal only for a focused sub-step, and finish with ctx.select().
  • Upload sidebar + modal: keep the sidebar informational or single-action, open a modal for the focused edit, and resolve a minimal payload back.
  • Height / resizing: trust <Canvas ctx={ctx}> first; add initialHeight for first paint and use ResizeObserver + ctx.updateHeight() only when async or custom layout changes require it.
  • Browser CMA from plugin UI: prefer SDK helpers first; when the plugin must create uploads or records directly, use @datocms/cma-client-browser with ctx.currentUserAccessToken.
  • Permission additions: add only the permissions the code path actually uses, then keep package.json, runtime guards, and user-visible affordances in sync.

Step 5: Verify with the smallest useful check

Run the lightest existing verification that meaningfully covers the change:

  • the repo's existing build script (npm run build, pnpm build, etc.) by default for code changes
  • the most relevant test or typecheck command if the project already has one
  • install dependencies with the repo's package manager before verifying if dependencies changed

If the repo has no suitable script, run the closest existing build, typecheck, or lint command instead.

Report:

  1. what you changed
  2. what you ran
  3. the one manual DatoCMS check that still matters

That manual check should match the touched surface: the config save path, the modal resolve path, the asset/upload selection flow, the permission-gated branch, or the resizing behavior after async content loads.

Cross-skill routing

  • New plugin from scratch -> datocms-plugin-scaffold
  • Native DatoCMS plugin UI design, layout restyling, or design-system alignment -> datocms-plugin-design-system
  • Plugin-embedded browser CMA usage inside the iframe -> stay in this skill
  • Standalone CMA scripts or schema work outside the plugin iframe -> datocms-cma
  • Front-end preview, Content Link, or cache-tag work outside the plugin -> datocms-frontend-integrations

平台分布

Codex

34.01%
按下载量换算210

Claude

29.91%
按下载量换算185

Cursor

20.31%
按下载量换算126

Gemini CLI

8.78%
按下载量换算54

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

继续浏览同类 Skills