cmsgraphql

将无头 CMS 后端(例如 WordPress 的 WPGraphQL、Strapi、Contentful)通过 Apollo Client 和 urql 连接到前端框架。实现内容预览、处理 ISR(增量静态再生)缓存失效,并通过 webhook 触发重建。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "cmsgraphql":https://skillpi.com/zh/skills/deepskill-b7d03d2738ecae8511634c4db3166ca732e31833cd1020c61d7e9d8811ec26b5。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/headless-cms-graphql-connector。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

将无头 CMS 后端(例如 WordPress 的 WPGraphQL、Strapi、Contentful)通过 Apollo Client 和 urql 连接到前端框架。实现内容预览、处理 ISR(增量静态再生)缓存失效,并通过 webhook 触发重建。

0 下载

介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源

SkillPi 解读

能完成的任务
将无头CMS后端(WordPress WPGraphQL、Strapi、Contentful)通过Apollo Client和urql连接到前端框架。处理内容预览、ISR缓存失效和基于webhook的重建。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: "无头CMS GraphQL连接器"
slug: "headless-cms-graphql-connector"
version: "1.0.0"
displayName: "无头CMS GraphQL连接器"
summary: "将无头CMS后端(WordPress WPGraphQL、Strapi、Contentful)通过Apollo Client和urql连接到前端框架。处理内容预览、ISR缓存失效和基于webhook的重建。"
license: "MIT"
description: "将无头CMS后端(WordPress WPGraphQL、Strapi、Contentful)通过Apollo Client和urql连接到前端框架。处理内容预览、ISR缓存失效和基于webhook的重建。"
verification: "security_reviewed"
source: "https://graphql.org/learn/queries/"
author: "1991513ccie-png"
category: "WordPress & CMS"
framework: "Gemini"

无头CMS GraphQL连接器

Connects headless CMS backends (WordPress WPGraphQL, Strapi, Contentful) to frontend frameworks using Apollo Client and urql. Handles content previews, ISR cache invalidation, and webhook-driven rebuilds.

Installation

Requirements and caveats from upstream:

  • When creating a GraphQL document we always start with a root operation type (the Query Object type for this example) because it serves as an entry point to the API. From there we must specify the selection set of fiel...
  • Variable definitions can be optional or required. In the case above, since there isn’t an ! next to the Episode type, it’s optional. But if the field you are passing the variable into requires a non-null argument, the...

Basic usage or getting-started notes:

  • In the previous example, we just asked for the name of our hero which returned a String , but fields can also return Object types (and lists thereof). In that case, you can make a sub-selection of fields for that Obje...

  • Note that in this example, the friends field returns an array of items. GraphQL queries look the same for single items or lists of items; however, we know which one to expect based on what is indicated in the schema.

  • Arguments can be of many different types. In the above example, we have used an Enum type, which represents one of a finite set of options (in this case, units of length, either METER or FOOT ). GraphQL comes with a d...

  • Source: https://graphql.org/learn/queries/

Documentation

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值78/100

亮点

  • 覆盖WordPress WPGraphQL、Strapi、Contentful等主流无头CMS后端
  • 支持Apollo Client和urql两种主流GraphQL客户端
  • 实现内容预览、ISR缓存失效和基于webhook的重建等核心功能
触发精准85/100

亮点

  • 触发词精准完整,覆盖多种变体,边界清晰
结构规范60/100

待提升项

  • 缺少When to Use/示例章节 原报告严重程度:轻微

    文档中缺少When to Use章节和具体的端到端示例

    改进建议:建议补充When to Use章节和具体的端到端示例,帮助用户更好地理解和使用该Skill

  • 文档过长 原报告严重程度:轻微

    文档内容过长,超过500行

    改进建议:建议精简文档内容,突出重点信息

  • frontmatter不完整 原报告严重程度:轻微

    frontmatter中缺少部分必要字段

    改进建议:建议完善frontmatter,确保所有必要字段都已填写

亮点

  • Phase/步骤清晰,有出口条件
执行可靠70/100

待提升项

  • 覆盖主要异常不足 原报告严重程度:轻微

    文档中未明确说明如何处理主要异常情况

    改进建议:建议补充主要异常情况的处理方案,提高执行可靠性

亮点

  • 工具来源明确,参数正确
  • 不可逆操作有确认机制
证据可验 (前四项均值)73/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • graphql.org

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。