microsoft/power-platform-skills/create-site
Claude Code and agent skill by microsoft/power-platform-skills
- community
- verified
Checking that the SKILL.md file is still in the repository.
Creates a new Power Pages site from an SPA or non-SPA template, or scaffolds an SPA from scratch using React, Angular, Vue, or Astro. Guides requirements discovery, template selection, provisioning, design, validation, and deployment. Use when the user wants to create, build, use a template for, or scaffold a new Power Pages website or portal.
Install
npx vskill@latest install microsoft/power-platform-skills/create-siteSKILL.md
Plugin check: Runnode "${PLUGIN_ROOT}/scripts/check-version.js"— if it outputs a message, show it to the user before proceeding.
Create Power Pages Site
Guide the user through creating a complete Power Pages site. Keep discovery and template browsing path-agnostic, then route the selected SPA or non-SPA creation path to its own provisioning steps.
Core Principles
- Design for the first impression: The site must make the user say "wow" the moment the Home page replaces the scaffold, and keep earning it on every page. Once the user answers the aesthetic, mood, and brand questions, make confident decisions about fonts, colors, layouts, imagery, and motion yourself - the design references (
design-aesthetics.md,page-blueprints.md,design-critique.mdunder${PLUGIN_ROOT}/references/) define the bar, and your own taste fills the rest. - Use TaskCreate/TaskUpdate: Track all progress throughout all phases — create the path-agnostic upfront tasks first, then append branch-specific tasks after the creation path is selected.
- Scaffold early, design with intention: Get the dev server running immediately after discovery so the user has something to look at. Then plan the design and features while the scaffold is live — apply the chosen aesthetic during implementation.
- Live preview feedback loop: The dev server MUST be running before any customization begins. Browse the site via Playwright (
browser_navigate+browser_snapshot) to verify the structure of every significant change. Visual design review captures every page with one script call and opens the screenshots in one turn (see 5.7); use Playwright MCP screenshots only for brand extraction in Phase 3. - Keep the scaffold loader in sync with reality: The scaffold loader polls
public/scaffold-status.json. Update this file before everyAskUserQuestion(to raise the "waiting for your input" banner so the user doesn't miss a terminal prompt) and before each implementation step in Phase 5 (so the progress-bar label matches what you're actually doing while the decorative spinner continues its default cycle). See Live Preview Status Protocol. - Use purposeful visuals: Every image explains, orients, demonstrates, or reinforces identity. Prefer the site's own UI composed as a product moment, then bespoke inline SVG, then specific Unsplash photography with one art direction (see 5.3). Never leave image placeholders or broken
<img>tags pointing to nonexistent files. - Git checkpoints: Commit after every individual page and component — each gets its own commit so breaking changes can be reverted.
- Site content language is independent of Dataverse language: Generate every user-visible SPA string in the approved content language. Dataverse and Power Pages platform-managed messages remain English (
en-US, LCID1033) in this workflow. - Bidirectional by default: Read
${PLUGIN_ROOT}/references/bidirectional-design.md. Every site must use direction-neutral layout, mixed-content boundaries, and script-capable typography even when its initial language has only one direction. A later LTR/RTL locale must not require a general redesign. - Lifecycle-ready output: Follow
${PLUGIN_ROOT}/references/site-modification-integrity.mdso later pages and components can preserve localization, direction, and content-expansion behavior through the shared post-modification validator. - Path-specific design rules: Read
${PLUGIN_ROOT}/references/site-design-quality.md. SPA paths use the live scaffold workflow below. Non-SPA sites need no dev server or live preview and follow their dedicated workflow. - Non-SPA route: When the user selects Non-SPA (Liquid + Web Template) or a non-SPA template, read and follow
${PLUGIN_ROOT}/skills/create-site/workflows/non-spa-site.md. Do not continue into the SPA scaffold phases.
Supported paths: static SPA frameworks (React, Vue, Angular, Astro) and Enhanced-model non-SPA sites using Liquid + Web Templates. Next.js, Nuxt.js, Remix, and SvelteKit are not supported.
Initial request: $ARGUMENTS
Live Preview Status Protocol
<!-- not-a-gate: prose-only section — mentions of AskUserQuestion here describe the live-status protocol that wraps every real prompt in Phases 3/4/8; the actual gates are catalogued in §6.13 of references/approval-gates.md and marked at their call sites below -->
While the scaffold loading screen is visible (from Phase 2.6 until the Home page itself is replaced in Phase 5), the loader polls GET /scaffold-status.json every 1.5 seconds. The message you write into <PROJECT_ROOT>/public/scaffold-status.json appears as the label under the progress bar, and awaitingInput controls the "waiting for your input" banner. The decorative spinner above the progress bar continues its built-in phrase cycle; keep the progress-bar label current so the loader still reflects what is actually happening.
Why this matters: When the browser with the loader takes over the user's screen, a prompt in the terminal can sit unanswered for a long time because the user doesn't realize anything is waiting. The banner makes it obvious.
File shape (all fields optional — omit any field you don't want to change):
message— one short present-participle phrase shown as the status line under the progress bar in the loader (replacing the default "Getting started…" / "Setting up infrastructure…" cycle). Include the grouping context inline when it helps (e.g.,"Creating Footer component (shared components)").awaitingInput— whentrue, a prominent pulsing banner appears at the top of the loader and stays visible until this field is cleared. Set this before everyAskUserQuestioncall and clear it (false) immediately after the user answers.inputPrompt— short context for the banner (e.g.,"Choose a framework"). Optional.
When to update the file:
- After scaffold launches (end of Phase 2): write an initial status like
{ "message": "Planning your site", "awaitingInput": false }. - Before any `AskUserQuestion` that runs while the scaffold is visible (Phases 3, 4, and any in-scaffold prompt in Phase 5): set
awaitingInput: truewith a shortinputPrompt. After the user answers, write again withawaitingInput: false. - Before each implementation step in Phase 5 — applying design tokens, creating each shared component, creating each page, updating the router, updating navigation — update
messageto the specific action. Examples:"Applying design tokens","Creating Navbar component","Creating Contact page". - At the end of Phase 5, after the Home page has been replaced: delete
public/scaffold-status.jsonso it isn't deployed with the site.
Write the file with the Write tool (atomic overwrite). You do not need to read it first.
Phase 1: Discovery
Goal: Understand what site needs to be built and what problem it solves
Actions:
<!-- gate: create-site:1.purpose | category=plan | cancel-leaves=nothing -->
🚦 Gate (plan · create-site:1.purpose): Path-agnostic discovery prompt collecting site name, purpose, and audience. Determines what kind of site the user needs before the skill decides between a template-backed path and the from-scratch scaffold path. Fires only on the "site purpose unclear" branch (step 3 below).Trigger: Phase 1 when site name, purpose, or audience was not provided in$ARGUMENTS.Why we ask: Wrong purpose/audience context → wrong branch decision and wrong generated site plan; cleanup is annoying.Cancel leaves: Nothing — no scaffolding has started yet.
- Create the minimal upfront todo list (see Progress Tracking):
- Discover site requirements
- Select template or choose from-scratch
- If site name, purpose, and audience are clear from arguments:
- Summarize understanding
- Identify site type (portal, dashboard, landing page, blog, etc.)
- If site name, purpose, or audience is unclear, use
AskUserQuestion:
| Question | Header | Options | |
|---|---|---|---|
| What should the site be called? (e.g., "Contoso Portal", "HR Dashboard") | Site Name | (free text — use a single generic option so the user types a custom name via "Other") | |
| What is the site's purpose? | Purpose | Company Portal, Blog/Content, Dashboard, Landing Page | |
| Who is the target audience? | Audience | Internal (employees, partners), External (public-facing customers) |
- From the user's answers, derive:
__SITE_NAME__(Title Case, e.g.,Contoso Portal)- A preliminary
__SITE_SLUG__(lowercase ASCII kebab-case derived from
the site name when possible)
- Summarize the path-agnostic understanding and confirm with user before proceeding:
- Site name
- Site purpose/type
- Target audience
Do not ask for framework or project location in Phase 1. Each creation path asks for its location after Phase 1.5 selects that path.
Audience influences site generation:
- Internal: Prioritize task completion - status, the next action, data tables, dashboards, authentication, navigation depth. The wow comes from clarity, density done right, and polish in the details rather than marketing heroes.
- External: Prioritize a striking first impression, a persuasive page narrative with proof at the point of doubt, SEO-friendly structure, and contact forms.
Output: Clear statement of site purpose, audience, site name, and preliminary technical slug.
Phase 1.5: Template Branch Decision
Goal: Route the user into the appropriate creation path after path-agnostic Discovery.
Actions:
- Mark Select template or choose from-scratch as
in_progress.
- Fetch the shared template catalog:
``bash node "${PLUGIN_ROOT}/scripts/fetch-template-catalog.js" ` Use the returned immutable commit SHA for every template artifact request in this run. Pass --ref <tag-or-branch>` only for a deliberate test or rollback.
Also load the supported non-SPA entries from the same pinned catalog:
``bash node "${PLUGIN_ROOT}/skills/create-site/scripts/list-site-templates.js" \ --modelVersion Enhanced --bootstrapVersion 5 ``
Build one SELECTABLE_TEMPLATES collection:
- Add every SPA family from
selectableCatalog.templateswith categorySPA. - Add every entry from the non-SPA result's
catalog.templateswithkind: "non-spa",
category Non-SPA, its previews, and its exact name provisioning identifier.
- Keep the pinned owner, repository, and commit SHA returned by the non-SPA result with those
entries.
If one catalog path fails, continue with the other path and explain which category is temporarily unavailable. Continue from scratch only when no templates remain.
- Semantically match
SELECTABLE_TEMPLATESagainst the Phase 1 context ($ARGUMENTS, site name, purpose, audience, and any framework mentioned by the user):
- Use each template's category,
displayName,description, keywords, audience, capabilities,
available SPA variants, and previews.
- For non-SPA templates, treat the template as data-model/domain context and requirements
guidance, not a visual constraint. Carry explicit preservation preferences into customization.
- Do not compute a numeric score or invent a ranking script. Keywords guide agent judgement; they are not counted.
- Treat a template family as the user-facing template and a framework variant as the installable package. A family can have multiple variants (
react,vue,angular,astro).
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 10 Mar 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/power-pages/skills/create-site/SKILL.md
Popularity
- Repository stars
- 38
- Repository forks
- 8
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/power-platform-skills/create-site)