К основному содержанию
скилл CX Codex

author-webpage-content — скилл для Claude Code: состав и установка

Скилл author-webpage-content генерирует и обновляет локализованный HTML-код страниц сайтов Power Pages, выгруженных через PAC CLI. Пригодится при сборке разметки для Design Studio без ручной правки тегов.

MIT ★ 1 167 обновлён 2026-10-29

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add microsoft/power-platform-skills
/plugin install power-pages@power-platform-skills
Открыть на GitHub

Что делает author-webpage-content

Скилл отвечает за наполнение локализованного файла .webpage.copy.html в сайтах Power Pages традиционной архитектуры (non-SPA). Он добавляет и редактирует секции, flex-контейнеры, колонки, формы, списки, кнопки, изображения, разделители и компонент Generative AI Search ({% codecomponent name:Pages.SearchSummary %}). Инструмент опирается на строгие правила разметки Design Studio и поддерживает только выгруженные локально сайты.

Зона ответственности ограничена ровно одним HTML-файлом за вызов. Скилл не трогает YAML-метаданные, не меняет маршруты, шаблоны, сниппеты и не создаёт новые записи форм или таблиц Dataverse. Если нужная форма или список отсутствуют в локальной выгрузке сайта, скилл останавливает работу и не пытается генерировать их или обращаться к Dataverse API.

Разметка для SPA-сайтов на React, Angular, Vue или Astro данным скиллом не поддерживается. Для работы требуются предварительно выгруженные файлы страниц через PAC CLI и точный путь к целевому файлу с языковым кодом.

Какие задачи решает

  • Собрать разметку секций и колонок для Design Studio в коде Power Pages
  • Встроить базовую или многошаговую форму в локализованный HTML-файл страницы
  • Добавить компонент Generative AI Search с сохранением разметки Liquid
  • Отредактировать существующий файл .webpage.copy.html без поломки структуры

Примеры запросов агенту

  • Обнови файл content-pages/Home.en-US.webpage.copy.html, добавив двухколоночную секцию с текстом и кнопкой
  • Вставь базовую форму Feedback в локализованный HTML страницы контактов
  • Добавь компонент поиска Generative AI Search в разметку страницы FAQ

Как установить author-webpage-content

1Через маркетплейс плагинов

/plugin marketplace add microsoft/power-platform-skills
/plugin install power-pages@power-platform-skills

Команда ставит плагин power-pages целиком, со всеми его скиллами

2Через Skills CLI (Vercel)

npx skills add microsoft/power-platform-skills --skill author-webpage-content -a claude-code

3Вручную: положить файлы

~/.claude/skills/author-webpage-content/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/author-webpage-content/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы об author-webpage-content

Как установить author-webpage-content в Claude Code?

Выполните в консоли /plugin marketplace add microsoft/power-platform-skills, затем установите пакет командой /plugin install power-pages@power-platform-skills.

Что делает author-webpage-content?

Генерирует и редактирует разметку внутри файла .webpage.copy.html для сайтов Power Pages, обеспечивая совместимость с визуальным редактором Design Studio.

Создаёт ли скилл новые формы или таблицы в Dataverse?

Нет. Скилл связывает страницу только с существующими формами и списками из локальной выгрузки и прекращает работу, если целевая запись не найдена.

Исходный текст

SKILL.md · MIT
---
name: author-webpage-content
description: >-
  Generates and fills the localized HTML body of an existing webpage in a PAC
  CLI-downloaded non-SPA Power Pages site from a resolved page-content
  specification. Use whenever a caller has resolved the existing webpage metadata
  and asks to compose, replace, append, or modify
  the exact localized `.webpage.copy.html` file with Design Studio-compatible
  sections, columns, flex containers, text, images, buttons, videos, iframes,
  Generative AI Search components, basic forms, lists, multistep forms, or
  spacers. This skill owns
  only HTML generation and the supplied target file; the coordinator's webpage
  reference workflow owns discovery, records, metadata, languages, routes, templates,
  navigation, and companion-file creation. Do not use for React, Angular, Vue,
  or Astro SPA sites.
user-invocable: false
allowed-tools: Read, Write, Edit, Grep, Glob, Bash, TaskCreate, TaskUpdate, TaskList
model: sonnet
---

> **Plugin check**: Run `node "${PLUGIN_ROOT}/scripts/check-version.js"` — if it outputs a message, show it to the user before proceeding.

# Author Webpage Content

Generate and fill one supplied localized Design Studio-compatible webpage body.

**Initial request:** $ARGUMENTS

## Preview disclosure

Read `${PLUGIN_ROOT}/references/non-spa-preview.md` and apply its **Entry and handoff
protocol**. Unless the initial request contains the explicit marker from an actual covered-skill
handoff, present the **Customization notice** before project inspection or task creation.

## Authoritative references

Always read and follow:

- `${PLUGIN_ROOT}/skills/author-webpage-content/references/webpage-content-composition.md`
- `${PLUGIN_ROOT}/skills/author-webpage-content/references/design-studio-component-authoring.md`

Read only the page-element references used by the requested composition:

- `design-studio-section-layouts.md`
- `design-studio-flex-container-component.md`
- `design-studio-text-component.md`
- `design-studio-image-component.md`
- `design-studio-button-component.md`
- `design-studio-video-component.md`
- `design-studio-iframe-component.md`
- `design-studio-generative-ai-search-component.md`
- `design-studio-basic-form-component.md`
- `design-studio-list-component.md`
- `design-studio-multistep-form-component.md`
- `design-studio-spacer-component.md`

All page-element references are under:

```text
${PLUGIN_ROOT}/skills/author-webpage-content/references/
```

These references own serialized section and component markup, editing
boundaries, preservation, accessibility, and verification rules. Do not invent
competing markup contracts.

For an add or edit Generative AI Search component request, target only
`{% codecomponent name:Pages.SearchSummary ... %}`. Do not substitute
`{% include 'Search' %}`, a Search web template, Search content snippets, the
Search Results page record, site markers, or search indexing/settings.

For an add or edit Basic Form, List, or Multistep form request, target only
`{% entityform name:'...' %}`, `{% include 'entity_list' key:'...' ... %}`, or
`{% webform name:'...' %}` respectively, pointing at a record already present in
the downloaded site. This skill does not create the backing basic form, list,
multistep form, Dataverse table form/view, or table permissions — see each
component reference's **Scope** section. If the named (or implied) record is
not found in the downloaded site, do not assist with constructing it: do not
query Dataverse (API, SDK, Web API, or CLI) and do not ask the user for IDs,
GUIDs, or permissions to assemble it locally. When asking the user how to
proceed, the only valid options are (a) embed an existing record, or (b) stop.

## Ownership boundary

This skill receives and edits exactly one existing localized file per
invocation:

```text
web-pages/<page-directory>/content-pages/<Page>.<locale>.webpage.copy.html
```

It may compose multiple sections and page elements in that file as one coherent
operation.

This skill does not create or modify:

- root or localized webpage YAML;
- page routes, parents, page-template assignments, or navigation;
- page-template or web-template records;
- content-snippet records;
- web files or their metadata;
- basic form, list, multistep form (advanced form/step), Dataverse table
  form/view, or table-permission records;
- localized summary, custom CSS, or custom JavaScript companion files;
- another locale unless the request supplies a separately resolved composition
  for that locale.

The calling orchestrator must create or confirm the file and resolve its webpage and locale
identity before invoking this skill. `edit-site` uses
`${PLUGIN_ROOT}/skills/edit-site/references/webpage-authoring.md`
for that metadata workflow.
This skill does not search for or select a webpage record.

If the target file or any required content, URL, snippet name, or other rendered
value is unresolved, stop before writing and return the exact missing input.
Do not manufacture a placeholder or expand this skill into metadata or
dependency authoring.

## Autonomy policy

Complete routine composition without asking the user to approve mechanical
details. Infer safe formatting, escaping, indentation, and accessibility
details from the resolved specification, authoritative references, existing
page markup, and site-local conventions.

Choose independently when safe:

- exact indentation and line endings;
- the documented section serialization matching a named layout;
- component markup matching a resolved element type and source;
- safe link attributes and output encoding;
- preservation of empty columns required by the selected layout;
- the smallest coherent edit for a modification.

Stop before writing when a material choice remains unresolved, including:

- multiple target files, target sections, or components;
- an unresolved section geometry or ambiguous component-to-column mapping, not merely
  a layout name missing from the recipe examples;
- missing Flex Container child mapping, visitor-facing text, image source, destination,
  alternative text, video title, iframe title, or search behavior/text required by the
  selected component;
- an unresolved web-file URL, snippet name, or page destination;
- a requested basic form, list, or multistep form record not found in the
  downloaded site — never query Dataverse or assist with constructing it
  locally, and never present "create a new one" as a selectable option in a
  clarification question;
- a replacement that does not state what existing content must be preserved;
- custom HTML whose safety or intended rendering boundary cannot be established.

## Expected resolved handoff

Prefer a structured specification containing:

- the exact existing target file and its already-resolved locale;
- the verified Bootstrap major and any approved `designContext`; require version evidence for
  new sections, especially when the target page is blank;
- operation mode: `create`, `replace`, `append`, or `modify`;
- ordered sections;
- each section's supported layout and ordered elements by column;
- optional explicit `columns[].span` values and intended wrapping/unused space; otherwise
  resolve CSS-driven widths with the styling owner instead of guessing a preset;
- resolved content, URLs, snippet names, and accessibility values;
- explicit preservation requirements for an existing page.

The specification may be Markdown, YAML, JSON, or an unambiguous natural
language plan. Normalize it internally according to the composition reference;
do not require the user to rewrite a complete plan merely to match an example
format.

An approved new-site handoff requires custom composition using supported native sections,
columns and elements, not just text/image substitutions. Follow its resolved composition and
`designContext`, not the creation template's arrangement. Retain/place required existing components through the
resolved-source rules in **Whole-page composition**, without inventing new native element types.
Remove unneeded starter sections or component placements when the approved handoff accounts for
their removal and dependencies. Do not retain them solely because they came with the template,
hide them with CSS, or delete their backing records.
Preserve required content/capabilities and native serialization as described in **Whole-page
composition**; an unrelated existing-site `append` or `modify` remains a narrow edit.

## Workflow

1. Validate the supplied target file and resolved composition.
2. Read the complete target HTML and only the required page-element references.
3. Generate or modify the complete section/column/element tree in document
   order.
4. Fill the target file once as one coherent page-content change.
5. Verify structure, preservation, rendered values, safety, and the final diff.

Do not upload, deploy, or modify Dataverse directly.

## Phase 1: Validate the supplied target

Require one exact existing file path under:

```text
web-pages/<page-directory>/content-pages/<Page>.<locale>.webpage.copy.html
```

The caller owns proving that the path belongs to the intended localized webpage.
Reject a missing file, directory path, root-level copy file, wildcard, or
multiple targets. Do not create directories, companion files, or webpage
metadata.

## Phase 2: Normalize and validate the plan

Follow **Resolved composition contract** in the composition reference. Preserve
the supplied section order, column assignment, element order, content,
destinations, sources, and accessibility requirements.

Require final rendered URLs, snippet names, Liquid expressions, text, and
accessibility values. The caller owns creating and resolving their underlying
records. Do not continue with symbolic asset names or design-tool placeholders.

## Phase 3: Load only required markup contracts

Read the section-layout reference whenever the operation creates a section or
changes a section's column structure. Then read one component-specific reference
for each element type present in the normalized plan.
Use its Bootstrap 5 examples only with verified Bootstrap 5 evidence. Preserve inspected
Bootstrap 3/native and RTL patterns for existing sites; return missing evidence to the caller
rather than assuming the creation default or changing the framework.

Do not invoke one skill per page element. This skill is the single writer for
the target HTML and assembles all approved element markup in memory before
editing the file.

## Phase 4: Compose or modify

For `create` or `replace`, follow **Whole-page composition** in the composition
reference. Build sections in plan order, columns in layout order, and elements
in their specified order within each column.

For `append` or `modify`, follow **Existing-page operations**. Resolve exact
structural boundaries before changing the file, preserve unrelated markup, and
do not reserialize the entire page for a narrow edit.

Use the section-layout reference's recipes as defaults, not exhaustive geometry constraints.
Broader safe local layouts may proceed with **Studio editing compatibility unverified**
disclosed in the existing review and final report. Other page-element serialization contracts
remain unchanged; do not invent Studio controls, preview components, or an additional gate.
Replace every sample
value and marker with resolved plan values. Do not leave placeholder text,
placeholder URLs, `<!-- COMPONENT_HTML -->`, TODOs, or unexplained empty
components.

## Phase 5: Verify and report

Run the complete verification checklist from the composition reference and each
page-element reference used. Review the final diff and confirm that only the
selected localized HTML file changed.

Report:

- target file and supplied locale;
- created, replaced, appended, or modified sections;
- element types and final rendered references used;
- material preservation decisions.

State that the change is local and was not uploaded or deployed.

### Record skill usage

> Reference: `${PLUGIN_ROOT}/references/skill-tracking-reference.md`

Follow the skill tracking instructions in the reference using
`--skillName "AuthorWebpageContent"`.

© Microsoft · MIT · microsoft/power-platform-skills

Похожие скиллы

Все скиллы по теме «Фронтенд и UI» →
scrape-webpage adobe Скилл scrape-webpage извлекает содержимое веб-страницы, метаданные и изображения для переноса в AEM Edge Delivery Services. Его вызывает page-import как шаг конвейера. CX Codex +1 1 900установок da-content adobe Скилл da-content объясняет правила HTML для Adobe Document Authoring и загрузки контента в DA. Он пригодится при подготовке страниц и работе с API предпросмотра и публикации. CX Codex +1 906установок webpage-screenshotter rkreddyp Скилл webpage-screenshotter для Claude Code снимает полноразмерные скриншоты веб-страниц через Playwright и возвращает изображения в Base64. Используется для проверки интерфейсов и страниц. CX Codex +1 167установок shopify-development sickn33 Скилл shopify-development для разработки Shopify-приложений, расширений и тем через GraphQL Admin API, Shopify CLI, Polaris UI и Liquid. Маршрутизирует задачу в нужный трек: приложение, расширение, тема или комбинация. CX Codex +1 1 900установок power-apps-code-app-scaffold официальный github Скилл power-apps-code-app-scaffold создаёт каркас Power Apps Code App с React и TypeScript. Подходит для старта проекта с коннектором Power Platform. CX Codex +1 8 700установок author-component dotnet Скилл author-component помогает проектировать и проверять компоненты Blazor без вызовов JavaScript. Пригодится при настройке параметров, слотов RenderFragment и асинхронного жизненного цикла. CX Codex +1 4 100установок

Из того же набора157

Весь набор →
set-app-registration-native Скилл set-app-registration-native связывает мобильное приложение Power Apps Wrap с регистрацией приложения в Entra ID через auth.config.json. Находит существующие регистрации в тенанте и проверяет права доступа. CX Codex +1 ★ 1 167звёзд репо preview-screens Скилл preview-screens генерирует автономный HTML-файл с экранами мобильного приложения в телефонной рамке 375 × 812 без запуска Metro и эмулятора. CX Codex +1 ★ 1 167звёзд репо build-flow Скилл build-flow для Claude Code собирает Power Automate flow по описанию, проверяет его определение и создаёт flow. Автоматизирует процесс без ручной сборки каждого шага. CX Codex +1 ★ 1 167звёзд репо manage-headers Скилл manage-headers проверяет и настраивает заголовки безопасности сайта Power Pages: Content Security Policy, защиту от фреймов, CORS, поведение кук и другие параметры. CX Codex +1 ★ 1 167звёзд репо add-sample-data Скилл add-sample-data для Claude Code, который заполняет таблицы Dataverse примерами записей — нужен, чтобы быстро настроить тестовые данные для демо Power Pages. CX Codex +1 ★ 1 167звёзд репо enable-tables-offline Скилл enable-tables-offline для Power Platform включает IsAvailableOffline и ChangeTrackingEnabled на таблицах Dataverse, чтобы добавить их в Mobile Offline Profile. CX Codex +1 ★ 1 167звёзд репо generate-mcp-app-ui Скилл generate-mcp-app-ui генерирует автономный HTML-виджет для инструмента MCP по реальному JSON-ответу, встраивая рантайм прямо в файл или подключая внешние CDN. CX Codex +1 ★ 1 167звёзд репо generate-codeful-mcp-tool Скилл generate-codeful-mcp-tool для Claude Code создаёт JavaScript-сервер и метаданные для codeful MCP-инструмента. Генерирует инструменты для работы с Dataverse и MCP App widget. CX Codex +1 ★ 1 167звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой