What this skill does
Writes FAQPage structured data (JSON-LD, schema.org) for a web page. Use when the user asks for FAQ schema, FAQ markup or FAQPage JSON-LD, wants to add a FAQ section to a page, or wants to check existing FAQ markup. Picks real questions that the page answers visibly, writes the visible FAQ text first if the page has none, then produces JSON-LD whose questions and answers match the visible text. Explains that Google limited FAQ rich results to well-known authoritative government and health sites in 2023, so for most sites the value is clarity for users and machines, with no rich result promised.
When to use it
- You want FAQPage markup for a page that already has a visible FAQ section
- You want to add a short FAQ section to a page and mark it up correctly
- You need to check that existing FAQ markup matches what the page shows
- You want clear question-and-answer content that people and machines can read easily
What you give the agent
| Input | Details | Needed |
|---|---|---|
| The page | A URL the agent can open, or the visible page text. Include the page source if you want existing structured data checked. | Required |
| Real questions | Questions customers ask your sales or support team about this topic, so the FAQ reflects real needs. | Optional |
| Existing structured data | Any JSON-LD already on the page, so the new markup does not clash or duplicate it. | Optional |
What you get back
- A table of the chosen questions, where each appears on the page and whether the answer text matches
- Visible FAQ text ready to publish, if the page has no FAQ section yet
- A valid FAQPage JSON-LD block in a copy-ready code block
- Implementation notes and a validation checklist
Example first message
A hypothetical prompt to start a chat once the skill is installed. Replace the details with your own.
Please write FAQPage schema for our pricing page. The visible FAQ section has eight questions and is pasted below with the rest of the page text. We also have a JSON-LD Organization block on the page already, which I have included.
The full skill text
This is exactly what the agent reads. The header at the top is the SKILL.md format: a name and a description that tell the agent when to load it.
---
name: faq-schema-generator
description: "Writes FAQPage structured data (JSON-LD, schema.org) for a web page. Use when the user asks for FAQ schema, FAQ markup or FAQPage JSON-LD, wants to add a FAQ section to a page, or wants to check existing FAQ markup. Picks real questions that the page answers visibly, writes the visible FAQ text first if the page has none, then produces JSON-LD whose questions and answers match the visible text. Explains that Google limited FAQ rich results to well-known authoritative government and health sites in 2023, so for most sites the value is clarity for users and machines, with no rich result promised."
---
# FAQ schema generator
You write FAQPage structured data for one web page. Your goal is markup that describes real questions and answers which are visible on the page, word for word, in valid JSON-LD. You also set honest expectations about what the markup does.
Tell the user this early: in 2023 Google limited FAQ rich results to well-known, authoritative government and health websites. For most sites the markup will not produce a rich result. Its value is a clear, consistent description of the page's questions and answers for users and machines. No AI search tool guarantees that it reads structured data either.
## Before you start
Ask the user for anything missing from this list. Do not guess.
1. The page. If you can browse, open the URL and read the visible text and the page source. If not, ask the user to paste the visible text, and the page source if they want existing structured data checked.
2. Real questions customers ask about this topic (from sales calls, support tickets, chat logs), if available.
3. Any JSON-LD already on the page.
4. Whether the same FAQ appears on other pages of the site.
## Steps
1. **Find visible questions and answers.** Look for an existing FAQ section, and for headings written as questions that are followed directly by an answer. Copy each question and its full answer exactly as shown.
2. **Check whether FAQPage fits.** FAQPage is for a page where the site itself provides the questions and the answers. If users submit questions and several people can answer (a forum or community thread), FAQPage is the wrong type; suggest QAPage instead. If the questions are really adverts or sales copy, say they are not suitable.
3. **Choose the questions.** Keep 3 to 10 that are real questions a visitor would ask, are answered fully on the page, and match the user's list of customer questions where possible. Drop questions that only repeat the page heading, questions whose answers are only a link, and promotional questions.
4. **If the page has no visible FAQ**, draft one. Write each question from the page's main topic and the customer questions, and write each answer only from facts already on the page. Answers should be two to four sentences that start with the direct answer. Tell the user that the markup is valid only once this text is published on the page.
5. **Check for duplicates across the site.** If the same question and answer appear on several pages, Google's guidelines say to mark up only one instance. Ask which page should carry it.
6. **Write the JSON-LD.**
- Use `"@context": "https://schema.org"` and `"@type": "FAQPage"`.
- Put each question in `mainEntity` as an object with `"@type": "Question"`, `"name"` (the full question text) and `"acceptedAnswer"`, which is an object with `"@type": "Answer"` and `"text"` (the full answer text).
- Copy question and answer text exactly from the visible page. Whitespace may differ, wording may not.
- Google supports a limited set of HTML tags inside answer text, including paragraphs, lists, links, line breaks, headings and bold or italic tags. Keep links absolute. Leave out other markup.
- Escape double quotes and backslashes inside strings. No trailing commas.
7. **Fit it with existing structured data.** If the page already has JSON-LD, either add the FAQPage as a separate script block or combine the items in one `@graph` array. Do not create a second FAQPage on the same page.
8. **Validate in your head, then hand over testing.** Check the JSON is well formed and every required property is present. Tell the user to test the published page in the Schema Markup Validator or Google's Rich Results Test, and to watch for structured data reports in Search Console.
A minimal example of the shape:
```json
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Can I change plans later?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. You can move to a different plan at any time from your account settings."
}
}
]
}
```
## Output format
Use these sections in this order.
**Summary**: page, number of questions chosen, whether visible FAQ text already exists, and one sentence on what to expect from the markup.
**Chosen questions**: a table with columns Question, Where it appears on the page, Answer matches visible text (yes, or "after publishing" for new text).
**Visible FAQ text** (only if the page has none): the questions and answers ready to paste into the page.
**JSON-LD**: the full markup in one code block, wrapped in `<script type="application/ld+json">` tags.
**Implementation notes**: where to place the script, how it fits with existing markup, and any duplicate-page decision.
**Validation checklist**: a short list of what to test after publishing.
## Quality checks
Before you answer, check that:
- Every `name` and `text` value matches a question and answer visible on the page, or in the new visible FAQ text you wrote.
- The JSON is valid: quotes escaped, no trailing commas, correct nesting.
- There is only one FAQPage on the page.
- No answer adds facts that are not on the page.
- You did not promise rich results, rankings or AI citations.
How to install and use it
Claude apps (web and desktop)
- Download the .zip file from this page. It holds one folder with the SKILL.md file inside.
- In Claude, open Settings, then Capabilities, and turn on code execution and file creation if it is off. Skills need it. On Team and Enterprise plans an owner turns it on for the organization.
- Open Customize, then Skills. Click the + button, choose Create skill, then Upload a skill, and select the .zip file. Menu names can change, so look for "Skills" if the path differs.
- Start a new chat and describe the job. Claude loads the skill when your request matches its description, or you can ask it to use the "faq-schema-generator" skill.
Claude Code
- Save the file as ~/.claude/skills/faq-schema-generator/SKILL.md to use it in every project, or as .claude/skills/faq-schema-generator/SKILL.md inside one project.
- Start a new session. Claude Code reads the skill descriptions and loads this one when the task matches.
ChatGPT
- On a Business, Enterprise or Edu workspace with skills turned on: open Plugins in the sidebar, go to the Skills tab, choose Add, then upload the skill from your computer. ChatGPT scans uploaded skills before they can be used.
- On a personal plan (Free, Plus or Pro): create a project, paste the skill text into the project instructions, and run the job inside that project. New custom GPTs can no longer be created on personal accounts.
- Start a chat with the example first message on this page and attach your data.
Gemini
- On a personal Google account: open Customize, then Skills. Import the skill by uploading the SKILL.md file (Gemini web app or Mac app), or choose Create and paste the name, description and skill text.
- On a work or school account that still uses Gems: create a Gem and paste the skill text into its instructions.
- Run the skill by typing / followed by its name, or describe the job and attach your data.
Other agents
- Use the skill text as the system prompt, or save it as an instructions file the agent reads.
- Send your inputs in the first message.
Steps checked against each app's help pages in November 2026. Menu names change from time to time. Our install guide has more detail.
Limits and checks
- Google shows FAQ rich results only for well-known, authoritative government and health websites since 2023. Most sites will not get a rich result from this markup.
- The markup is only valid if the same questions and answers are visible on the page. If the page has no FAQ section, you must publish the visible text first.
- It cannot test the markup in Google's tools. Run the Rich Results Test or the Schema Markup Validator yourself after publishing.
- No AI search tool guarantees that it reads or uses structured data.
Questions about this skill
Will FAQ schema get me rich results in Google?
Probably not. In 2023 Google limited FAQ rich results to well-known, authoritative government and health websites. The markup can still describe your content clearly for machines, but do not expect a visual change in search results.
Can I mark up questions that are not shown on the page?
No. Structured data must describe content that visitors can see. The skill only marks up questions and answers that are visible on the page, and it writes the visible FAQ text first when the page has none.
Should every page have FAQ schema?
No. Add it where a page genuinely answers a set of common questions. If the same question and answer appear on many pages, Google's guidelines say to mark up only one instance.