jpskill.com
📦 その他 コミュニティ

identify-page-structure

スクレイピングしたウェブページの構造を解析し、AEM Edge Delivery Servicesへのインポートに適したセクション分けとコンテンツの順序を特定、利用可能なブロックを調査するSkill。

📜 元の英語説明(参考)

Identify section boundaries and content sequences within a scraped webpage for AEM Edge Delivery Services import. Performs two-level analysis (sections, then sequences per section) and surveys available blocks.

🇯🇵 日本人クリエイター向け解説

一言でいうと

スクレイピングしたウェブページの構造を解析し、AEM Edge Delivery Servicesへのインポートに適したセクション分けとコンテンツの順序を特定、利用可能なブロックを調査するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o identify-page-structure.zip https://jpskill.com/download/9684.zip && unzip -o identify-page-structure.zip && rm identify-page-structure.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/9684.zip -OutFile "$d\identify-page-structure.zip"; Expand-Archive "$d\identify-page-structure.zip" -DestinationPath $d -Force; ri "$d\identify-page-structure.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して identify-page-structure.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → identify-page-structure フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

ページ構造の特定

セクション、そして各セクション内のコンテンツシーケンスという2段階の階層を使用して、ウェブページの構造を分析します。

このスキルを使用するタイミング

このスキルは、以下の場合に使用します。

  • ウェブページの出力(スクリーンショット、HTML、メタデータ)をスクレイピングした場合
  • セクションの境界とコンテンツシーケンスを特定する必要がある場合
  • オーサリングの決定を行う前に、ページ構造を理解する準備ができている場合

呼び出し元: page-import スキル (ステップ 2)

前提条件

scrape-webpage スキルから、以下が必要です。

  • ✅ ページ全体を示す screenshot.png
  • ✅ ページコンテンツを含む cleaned.html
  • ✅ パスを含む metadata.json

関連スキル

  • page-import - このスキルを呼び出すオーケストレーター
  • scrape-webpage - 入力(スクリーンショット、HTML)を提供
  • page-decomposition - このスキルが各セクションに対して呼び出す
  • block-inventory - このスキルが利用可能なブロックを調査するために呼び出す
  • authoring-analysis - このスキルの出力を使用してオーサリングの決定を行う

主要な概念

重要: コンテンツは厳密な2段階の階層に従います。

DOCUMENT
├── SECTION (オプションのメタデータを持つトップレベルのコンテナ)
│   ├── Content Sequence 1 (デフォルトコンテンツまたはブロック)
│   ├── Content Sequence 2 (デフォルトコンテンツまたはブロック)
│   └── ...
├── SECTION
│   └── Content Sequence 1
└── ...

このスキルは両方のレベルを分析します:

  • レベル 1: セクションの境界 (ステップ 2a)
  • レベル 2: 各セクション内のコンテンツシーケンス (セクションごとにステップ 2b)

構造識別ワークフロー

ステップ 2a: セクションの境界の特定 (レベル 1)

スクリーンショットを調べて、新しいセクションを示す視覚的/テーマ的な区切りを見つけます。

セクションの境界の視覚的な手がかり:

  • 背景色の変化 (白 → グレー → ダーク → 白)
  • スペーシング/パディングの変化 (狭い → 広い → 普通)
  • 明確な水平方向の区切りまたは仕切り
  • テーマ的なコンテンツの移行

除外するもの:

  • ヘッダー/ナビゲーション (自動生成)
  • フッター (自動生成)
  • Cookie バナー、ポップアップ

各セクションについて、以下をメモします:

  • セクション番号 (連番: 1, 2, 3...)
  • 視覚的なスタイル (明るい、暗い、グレー、アクセント)
  • 内容の簡単な概要

出力例:

Section 1: light background, hero content
Section 2: light background, grid of features
Section 3: grey background, article cards
Section 4: dark background, tabs

ステップ 2b: 各セクション内のコンテンツシーケンスの分析 (レベル 2)

ステップ 2a で特定された各セクションについて、その内部のコンテンツシーケンスを分析します。

「コンテンツシーケンス」とは何か? 関連するコンテンツの垂直方向の流れであり、以下になります。

  • デフォルトコンテンツ (見出し、段落、リスト、インライン画像)
  • ブロック (構造化された、繰り返される、またはインタラクティブなコンポーネント)

シーケンス間の区切り点:

  • デフォルトコンテンツ → ブロックへの変更
  • ブロック → 異なるブロックへの変更
  • ブロック → デフォルトコンテンツへの変更

各セクションに対して page-decomposition スキルを呼び出し、中立的な説明を取得します。

各セクションについて、以下を取得します:

  • Sequence 1: [中立的な説明 - まだブロック名は使用しない]
  • Sequence 2: [中立的な説明]
  • ...

出力例:

Section 1 (light):
  - Sequence 1: Large centered heading, paragraph, two buttons
  - Sequence 2: Two images displayed side-by-side

Section 2 (light):
  - Sequence 1: Centered heading
  - Sequence 2: Grid of 8 items, each with icon and short text
  - Sequence 3: Two centered buttons

Section 3 (grey):
  - Sequence 1: Eyebrow text, heading, paragraph, button
  - Sequence 2: Four items in grid, each with image, category tag, heading, description

Section 4 (dark):
  - Sequence 1: Tab navigation with three switchable content panels

ステップ 2.5: 利用可能なブロックの調査

停止: オーサリングの決定を行う前に、利用可能なブロックを理解してください。

block-inventory スキルを呼び出して、利用可能なブロックをカタログ化します。

これが重要な理由: 実際の作成者はブロックライブラリを見て、利用可能なオプションから選択します。 David's Model に従って、信頼できるオーサリングの決定を行うには、同じコンテキストが必要です。

これが提供するもの:

  • プロジェクトに既にあるローカルブロック
  • 追加できる Common Block Collection ブロック
  • 各ブロックの目的/説明
  • ライブの URL 例

出力例:

Available Blocks:

LOCAL BLOCKS:
- custom-banner: Special promotional banner
- testimonial-slider: Customer testimonials carousel

BLOCK COLLECTION AVAILABLE:
- hero: Large heading, text, buttons for page intro
- cards: Grid of items with images/text
- columns: Side-by-side content layout
- accordion: Expandable Q&A sections
- tabs: Switchable content panels
- carousel: Rotating image/content displays
- quote: Highlighted testimonials
- fragment: Reusable content sections

出力形式

このスキルは、完全なページ構造を提供します。

1. スタイリングによるセクションの境界:

Section 1: light background
Section 2: light background
Section 3: grey background (#f5f5f5)
Section 4: dark background (#1a1a1a)

2. セクションごとのコンテンツシーケンス (中立的な説明):

Section 1 (light):
  - Sequence 1: Large centered heading, paragraph, two call-to-action buttons
  - Sequence 2: Two images displayed side-by-side

Section 2 (light):
  - Sequence 1: Single centered heading
  - Sequence 2: Grid of 8 items, each with icon and short text
  - Sequence 3: Two centered buttons

[すべてのセクションについて続行...]

3. ブロックパレット:

LOCAL BLOCKS: [リスト]
BLOCK COLLECTION AVAILABLE: [目的を含むリスト]

次のステップ: これらの出力を authoring-analysis スキルに渡します。


主要な原則

2段階の分析は必須です:

  • 最初にセクションを特定する必要があります (2a)
  • 次に、各セクションのコンテンツシーケンスを分析します (2b)
  • レベルをスキップしたり、組み合わせたりしないでください

この段階では中立性を保ちます:

  • WHAT を記述し、WHAT であるべきかを記述しないでください
  • 「画像付きのアイテムのグリッド」であり、「Cards block」ではありません
  • オーサリングの決定は次のスキルで行われます

決定前のブロックインベントリ:

  • オーサリングの選択を行う前に、ブロックを調査します
  • 作成者はライブラリを見て選択します - 同じコンテキストが必要です
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Identify Page Structure

Analyze webpage structure using two-level hierarchy: sections, then content sequences within each section.

When to Use This Skill

Use this skill when:

  • You have scraped webpage output (screenshot, HTML, metadata)
  • Need to identify section boundaries and content sequences
  • Ready to understand page structure before making authoring decisions

Invoked by: page-import skill (Step 2)

Prerequisites

From scrape-webpage skill, you need:

  • ✅ screenshot.png showing full page
  • ✅ cleaned.html with page content
  • ✅ metadata.json with paths

Related Skills

  • page-import - Orchestrator that invokes this skill
  • scrape-webpage - Provides input (screenshot, HTML)
  • page-decomposition - This skill invokes it for EACH section
  • block-inventory - This skill invokes it to survey available blocks
  • authoring-analysis - Uses this skill's output to make authoring decisions

Key Concepts

CRITICAL: Content follows a strict two-level hierarchy:

DOCUMENT
├── SECTION (top-level container with optional metadata)
│   ├── Content Sequence 1 (default content OR block)
│   ├── Content Sequence 2 (default content OR block)
│   └── ...
├── SECTION
│   └── Content Sequence 1
└── ...

This skill analyzes BOTH levels:

  • Level 1: Section boundaries (Step 2a)
  • Level 2: Content sequences within EACH section (Step 2b per section)

Structure Identification Workflow

Step 2a: Identify Section Boundaries (Level 1)

Examine the screenshot to find visual/thematic breaks that indicate new sections.

Visual cues for section boundaries:

  • Background color changes (white → grey → dark → white)
  • Spacing/padding changes (tight → wide → normal)
  • Clear horizontal breaks or dividers
  • Thematic content shifts

What to exclude:

  • Header/navigation (auto-populated)
  • Footer (auto-populated)
  • Cookie banners, popups

For each section, note:

  • Section number (sequential: 1, 2, 3...)
  • Visual style (light, dark, grey, accent)
  • Brief overview of what's in it

Example output:

Section 1: light background, hero content
Section 2: light background, grid of features
Section 3: grey background, article cards
Section 4: dark background, tabs

Step 2b: Analyze Content Sequences Within Each Section (Level 2)

For EACH section identified in Step 2a, analyze its internal content sequences.

What is a "content sequence"? A vertical flow of related content that will become EITHER:

  • Default content (headings, paragraphs, lists, inline images)
  • A block (structured, repeating, or interactive component)

Breaking points between sequences:

  • Change from default content → block
  • Change from block → different block
  • Change from block → default content

INVOKE page-decomposition skill FOR EACH SECTION to get neutral descriptions.

For each section, get:

  • Sequence 1: [Neutral description - NO block names yet]
  • Sequence 2: [Neutral description]
  • ...

Example output:

Section 1 (light):
  - Sequence 1: Large centered heading, paragraph, two buttons
  - Sequence 2: Two images displayed side-by-side

Section 2 (light):
  - Sequence 1: Centered heading
  - Sequence 2: Grid of 8 items, each with icon and short text
  - Sequence 3: Two centered buttons

Section 3 (grey):
  - Sequence 1: Eyebrow text, heading, paragraph, button
  - Sequence 2: Four items in grid, each with image, category tag, heading, description

Section 4 (dark):
  - Sequence 1: Tab navigation with three switchable content panels

Step 2.5: Survey Available Blocks

STOP: Before making any authoring decisions, understand what blocks are available.

INVOKE block-inventory skill to catalog available blocks.

Why this matters: Real authors see a block library and choose from available options. You need the same context to make authentic authoring decisions following David's Model.

What this provides:

  • Local blocks already in project
  • Common Block Collection blocks that can be added
  • Purpose/description for each block
  • Live example URLs

Example output:

Available Blocks:

LOCAL BLOCKS:
- custom-banner: Special promotional banner
- testimonial-slider: Customer testimonials carousel

BLOCK COLLECTION AVAILABLE:
- hero: Large heading, text, buttons for page intro
- cards: Grid of items with images/text
- columns: Side-by-side content layout
- accordion: Expandable Q&A sections
- tabs: Switchable content panels
- carousel: Rotating image/content displays
- quote: Highlighted testimonials
- fragment: Reusable content sections

Output Format

This skill provides complete page structure:

1. Section boundaries with styling:

Section 1: light background
Section 2: light background
Section 3: grey background (#f5f5f5)
Section 4: dark background (#1a1a1a)

2. Content sequences per section (neutral descriptions):

Section 1 (light):
  - Sequence 1: Large centered heading, paragraph, two call-to-action buttons
  - Sequence 2: Two images displayed side-by-side

Section 2 (light):
  - Sequence 1: Single centered heading
  - Sequence 2: Grid of 8 items, each with icon and short text
  - Sequence 3: Two centered buttons

[Continue for all sections...]

3. Block palette:

LOCAL BLOCKS: [list]
BLOCK COLLECTION AVAILABLE: [list with purposes]

Next step: Pass these outputs to authoring-analysis skill


Key Principles

Two-level analysis is mandatory:

  • You MUST identify sections first (2a)
  • Then analyze each section's content sequences (2b)
  • Don't skip levels or combine them

Stay neutral at this stage:

  • Describe WHAT you see, not WHAT it should be
  • "Grid of items with images" not "Cards block"
  • Authoring decisions come in next skill

Block inventory before decisions:

  • Survey blocks BEFORE making any authoring choices
  • Authors see a library and choose - you need same context