Przejdź do treści
Biblioteka skilli
Marketing i treści · Budowanie i kod

page-schema

/page-schema

Pisze i sprawdza dane strukturalne schema.org i JSON-LD dla stron: usługi, lokalizacje, produkty, bloga, o firmie i strony głównej.

Licencja
MIT
Ostatnia zmiana repozytorium
04.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 04.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pisze i sprawdza dane strukturalne schema.org i JSON-LD dla stron: usługi, lokalizacje, produkty, bloga, o firmie i strony głównej.

Oryginalny opis (EN)

Use when someone asks what schema markup, structured data or JSON-LD a web page needs, wants schema code written for a specific page (service, location, about, blog, product, homepage), wants existing schema checked, or has the same schema repeated on every page of a site.

Jak działa

  1. Core idea
  2. Step 1: Get the page
  3. Step 2: Decide the page type
  4. Step 3: The business @id
  5. Step 4: Rules
  6. Step 5: The answer (this exact shape)
Sekcje z nagłówków SKILL.md, w oryginale · 65 linii, 1 005 słów
Podgląd SKILL.md
---
name: page-schema
description: Use when someone asks what schema markup, structured data or JSON-LD a web page needs, wants schema code written for a specific page (service, location, about, blog, product, homepage), wants existing schema checked, or has the same schema repeated on every page of a site.
---

# Page Schema

## Core idea
Schema describes **this page**, not the whole business. One page, one job, one label.
The business is described **once** (the "ID card", with an `@id`). Every other page gets its own label and **points back** to that `@id` instead of repeating the business.

## Step 1: Get the page
- URL given: fetch it. If the fetch fails or is blocked, ask the user to paste the page's HTML (View Page Source, copy all).
- HTML pasted or attached: use it. The page URL comes from the canonical tag; if there is none, ask for it.
- Read the visible text, the H1, the URL, and every existing `<script type="application/ld+json">` block.

## Step 2: Decide the page type
Use the URL, title, H1 and content. Say it in one line. If it's genuinely unclear, ask.

| Page | Main schema | Points back with |
|---|---|---|
| Homepage | ID card: most specific LocalBusiness subtype (e.g. RoofingContractor, Dentist, Plumber), or Organization if not local. Plus WebSite. | it IS the `@id` |
| Service page | Service | `provider` → business `@id` |
| Location / suburb page | Service with `areaServed` = that place | `provider` → business `@id` |
| Location with a real office there | LocalBusiness for that branch (its own `@id`, real address) | `parentOrganization` → business `@id` |
| About / team | AboutPage + one Person per real person shown | `worksFor` → business `@id` |
| Blog post | BlogPosting | `author` → Person `@id`, `publisher` → business `@id` |
| Product | Product with `offers` | `brand` / `seller` → business `@id` |
| Category / listing | CollectionPage | `isPartOf` → WebSite |
| Contact | ContactPage | `about` → business `@id` |

Add-ons on any page, **only when visible on the page**: FAQPage (questions shown on the page), BreadcrumbList (only when breadcrumbs are visible on the page), Review/AggregateRating (Product only; see rules).

Templates for each type: `page-types.md` in this folder.

## Step 3: The business @id
- `@id` = homepage URL + `#business`, e.g. `https://jimsroofing.example/#business`. Exactly the same string on every page.
- If the site already has a business block with an `@id`, reuse that exact `@id`.
- If no business block has an `@id`, the user also needs the ID card. Give it as a second code block, for the homepage (or the site-wide header).
- Pages point back with `{ "@id": "..." }` only. Never paste the business's name, address and phone into `provider`, `worksFor` or `publisher`.

## Step 4: Rules
- Mark up only what a visitor can see on that page. Never invent addresses, phone numbers, prices, ratings, opening hours or people. Missing fact: leave it out, write the code anyway, and list what you'd add if they send it (after the code, not before).
- Never Article/BlogPosting/NewsArticle on a service page, location page or homepage.
- The site-wide header may hold the ID card (and WebSite) only. Everything else goes on the page it describes.
- No `review` or `aggregateRating` on Service pages, even when testimonials are visible.
- No `aggregateRating` or `review` on the business's own LocalBusiness/Organization: Google ignores self-serving review stars. Remove it if a plugin added it.
- FAQPage: fine for understanding and AI answers, but FAQ rich results only show for government and health sites. Don't promise a FAQ dropdown.
- Starting prices ("from $180"): `price` + `description: "..., from"` as in the template. Only add business facts the template has fields for.
- Use the specific subtype when one exists (RoofingContractor beats LocalBusiness).
- Service `name` = the service itself, without the place ("Gutter Cleaning", not "Gutter Cleaning in Melbourne"); the place goes in `areaServed`. `areaServed` = the main area the page targets (a suburb page: that suburb).
- Reformatting a visible fact is fine (phone to +61 format). Adding a fact that isn't on the site is not.
- If a plugin already outputs the business block on every page: recommend fixing it in the plugin first (add the `@id`, use the specific type, remove the rating); give the ID card block as the fallback if the plugin can't do that, and say "switch the plugin's block off" in that case. Never leave two business blocks.
- The ID card may use business facts from anywhere on the site (footer, contact details). Page labels use only that page's content.
- Keep it lean: the fields the template uses, filled from the page. No padding (no offer catalogs of features, no keyword lists).
- One `<script type="application/ld+json">` with an `@graph` per page.

## Step 5: The answer (this exact shape)
1. **Page type:** one line.
2. **What's on the page now:** each existing schema block with Keep / Fix / Replace / Remove and a one-line reason. "None" if there are none.
3. **This page needs:** each type and one plain-English reason.
4. **The code:** the page's JSON-LD block, ready to paste. Then the ID card block if Step 3 says it's needed.
5. **Where to put it:** this page only (page-level custom code, or the plugin's per-page Schema tab in Rank Math or Yoast), not the site-wide header. Also say what to switch off: blocks marked Remove in item 2, and any per-page schema the plugin adds automatically to this page.
6. **Check it:**
   - Schema Markup Validator (validator.schema.org): paste the code or the URL. Every type should be listed with 0 errors. This is the main check.
   - Google Rich Results Test (search.google.com/test/rich-results): only shows types Google uses for search features (e.g. Breadcrumb, FAQ, Product, Local business, Article). FAQ is detected there even though the dropdown only shows for government and health sites. **Service, Person, AboutPage, ContactPage and CollectionPage won't appear there, and that's normal, not an error.** Say which of this page's types will appear there, and (if you gave one) what the ID card shows ("Local business" or "Organization").

Write for a non-technical business owner. Short sentences, no jargon beyond the type names.
Pliki w paczce (2)
  • SKILL.md 6 KB
  • page-types.md 5 KB

Wersje

W bazie nie ma innych skilli o nazwie page-schema.

Migawka bazy z 13.11.2026 · wersja paczki c758d3d726ae (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 84schema-markup
    Generuje dane strukturalne JSON-LD (schema.org) dla stron internetowych, by poprawić wygląd stron w wynikach wyszukiwania i uzyskać rich snippets.
  • 100schema-markup
    Dodaje, naprawia i optymalizuje znaczniki schema i dane strukturalne (JSON-LD, schema.org) na stronie, w tym FAQ, produkt, recenzje i breadcrumbs.
  • 100schema-markup
    Dodaje, naprawia i optymalizuje znaczniki schema i dane strukturalne (JSON-LD, schema.org) na stronie, w tym FAQ, produkt, recenzje i breadcrumbs.
  • 95schema-markup
    Generuje dane strukturalne Schema.org (JSON-LD) dla dowolnego typu strony: FAQ, produkt, artykuł, okruszki, organizacja, how-to i recenzje, na potrzeby SEO i rich snippets.
  • 100seo-schema
    Wykrywa, waliduje i generuje dane strukturalne Schema.org, najchętniej w formacie JSON-LD.
  • 100seo-schema
    Wykrywa, waliduje i generuje dane strukturalne Schema.org, najchętniej w formacie JSON-LD.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.