本文へ移動
cccskills
無料GitHub で公開

generate

Generate one static framework page per entity using the appropriate Sophon adapter. Supports Next.js, Astro, Nuxt, SvelteKit, and Remix. Use when the user wants to scaffold programmatic SEO pages.

日本語の概要は準備中です。原文の説明を表示しています。

連携ツールX (Twitter)
インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Generate one static page per entity using the framework adapter that matches the host project.

MANDATORY PREPARATION

Invoke the sophon skill first. It contains the adapter map, entity model, output path conventions, and the Context Gathering Protocol.

Follow the protocol before doing any work:

  1. Check loaded instructions for a ## Sophon Project Context section.
  2. Check .sophon.md in the project root.
  3. If neither exists, run sophon teach now — do NOT skip this step.

Framework Detection

Sophon auto-detects the framework from package.json. Pass --framework explicitly to override:

FrameworkAuto-detected fromOutput root
nextjsnext dependencyapp/
astroastro dependencysrc/pages/
nuxtnuxt dependencypages/
sveltekit@sveltejs/kitsrc/routes/
remix@remix-run/reactapp/routes/

Execution

npx @sophonn/sophon generate --framework nextjs

# Custom output root
npx @sophonn/sophon generate --framework astro --generate-output ./src/pages

Output Paths by Framework

FrameworkFiles generated per entity
Next.jsapp/[slug]/page.tsx
Astrosrc/pages/[slug].astro
Nuxt 3pages/[slug].vue
SvelteKitsrc/routes/[slug]/+page.svelte + src/routes/[slug]/+page.ts
Remixapp/routes/[slug].tsx

SvelteKit: Always generates both files. +page.ts contains the prerenderable entity payload that feeds +page.svelte. Do not skip generating the companion file.

Generated Page Content

Each generated page includes:

SEO metadata (auto-populated per entity)

  • <title> and <meta name="description">
  • Canonical URL (<link rel="canonical"> or alternates.canonical)
  • Open Graph tags: og:title, og:description, og:url, og:type, og:image (when ogImage is set)
  • Twitter Card tags: twitter:card, twitter:title, twitter:description, twitter:image (when ogImage is set)
  • Conditional hero image with lazy loading when ogImage is available

Page structure

  • H1 populated from entity SEO title
  • Fallback content from metadata — when no enriched content exists, generates structured sections from entity description, attributes table, and tags list instead of empty TODO stubs
  • H2 sections scaffolded for intro, FAQ, and comparison — enriched content replaces TODO blocks
  • Entity tags and attributes rendered for reference

Safety guardrails

  • Hallucination-prevention comment block at the top — preserve it
  • YMYL warning logged if entity name/tags match health, legal, or financial terms
  • Thin-content warning logged if entity has fewer than 3 populated metadata fields
  • Duplicate slugs are skipped automatically with a logged warning

Do not hardcode niche-specific copy into generated pages unless it comes from actual project data.

Programmatic API

import { generate } from "@sophonn/sophon";

await generate({
  entities: result.entities,
  framework: "nextjs",
  output: "app",
});

After Generation

Run the technical skill to generate sitemap, schema, and hreflang scaffold assets.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

discover

無料

Discover and normalize entities for programmatic SEO from a seed keyword or CSV file. Writes normalized entities to data/entities.json. Use when the user wants to find, import, or expand a list of SEO targets.

日本語の概要は準備中です。原文の説明を表示しています。

Sophiasuu/Sophon82026年4月14日 更新

enrich

無料

Enrich discovered entities with AI-generated content using Claude via the Anthropic SDK. Outputs structured JSON per entity for downstream use in page templates. Requires ANTHROPIC_API_KEY (or use --dry-run to preview prompts).

日本語の概要は準備中です。原文の説明を表示しています。

Sophiasuu/Sophon82026年4月14日 更新

optimize

無料

Pull real performance data from Google Search Console, analyze weak-performing pages, and generate actionable optimization recommendations. Optionally applies safe auto-fixes to Sophon-generated content.

日本語の概要は準備中です。原文の説明を表示しています。

Sophiasuu/Sophon82026年4月14日 更新

run

無料

Execute the full Sophon pipeline: discover → generate → technical → enrich. Use when the user wants to run all steps in one command or build a complete pSEO surface from scratch.

日本語の概要は準備中です。原文の説明を表示しています。

Sophiasuu/Sophon82026年4月14日 更新

sophon

無料

Master context for Sophon — an agentic programmatic SEO toolkit. Teaches the framework, entity model, adapter system, and operating rules. Invoke this skill before using discover, generate, technical, enrich, optimize, or run so you have the full context. Call with 'teach' to run the onboarding interview and create .sophon.md.

日本語の概要は準備中です。原文の説明を表示しています。

Sophiasuu/Sophon82026年4月14日 更新

technical

無料

Generate technical SEO assets: sitemap.xml (with sitemap index for large sites), robots.txt, per-entity schema markup (BreadcrumbList, AggregateRating), configurable internal link graph, and hreflang scaffold. Use when the user wants to add or update sitemap, robots, structured data, internal linking, or multilingual hreflang tags.

日本語の概要は準備中です。原文の説明を表示しています。

Sophiasuu/Sophon82026年4月14日 更新

Sophiasuu のスキルをすべて見る

このスキルの問題を報告する