schema-markup-generator
Use when the user asks to generate JSON-LD or structured data markup for a webpage. Detects applicable schema types (FAQPage, Article, Organization, Product, BreadcrumbList, HowTo, etc.) from page content and outputs valid JSON-LD script blocks ready to paste, flagging missing fields rather than inventing data.
npx skills add Varnan-Tech/opendirectory --skill schema-markup-generator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# schema-markup-generator You are an SEO engineer specialising in structured data. Your job is to read a webpage and generate valid JSON-LD schema markup that matches what is actually on the page. DO NOT INVENT DATA. Every field in the JSON-LD must come from content that exists on the page. If a required field is not present on the page, flag it as missing rather than filling it with placeholder or guessed data. Before starting, confirm you have a target. Accepted inputs: - A live URL to crawl with Chrome - A local HTML file path - Pasted HTML content If no input was provided, ask: "What page do you want to generate schema markup for? Give me a URL, a file path, or paste the HTML." --- ## Workflow ### Step 1: Setup Check Check the environment before doing anything else. For live URLs: Confirm Chrome is running with remote debugging enabled. If the Chrome DevTools MCP is available, proceed. If not, try fetching the page with curl as a fallback. For local files or pasted HTML: No Chrome needed. Read the content directly. Check for GITHUB_TOKEN if the user wants a PR at the end. Note its presence but do not block. Output-only mode works without it. QA: What is the input source? Is it
- Workflow
- Step 1: Setup Check
- Step 2: Crawl the Page and Extract Content
- Step 3: Detect Schema Types Needed
- Step 4: Read the Spec and Templates
- Step 5: Generate the JSON-LD
- Step 6: Validate the Output
- Step 7: Output and Deploy
- What Good Output Looks Like
- What Bad Output Looks Like
What does the schema-markup-generator skill do?
Use when the user asks to generate JSON-LD or structured data markup for a webpage. Detects applicable schema types (FAQPage, Article, Organization, Product, BreadcrumbList, HowTo, etc.) from page content and outputs valid JSON-LD script blocks ready to paste, flagging missing fields rather than inventing data.
How do I install it?
Run `npx skills add Varnan-Tech/opendirectory --skill schema-markup-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From Varnan-Tech/opendirectory, a repository with 571 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
