Skip to content

microsoft/power-platform-skills / plugins/power-pages/skills/create-site

create-site

Verified

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.

FileKindSize
SKILL.mdskill md155.6 KB
assets/angular/angular.jsonconfig1.6 KB
assets/angular/gitignoreother484 B
assets/angular/package.jsonmanifest743 B
assets/angular/powerpages.config.jsonconfig187 B
assets/angular/public/.gitkeepother0 B
assets/angular/src/app/app.component.tsscript365 B
assets/angular/src/app/app.config.tsscript319 B
assets/angular/src/app/app.routes.tsscript278 B
assets/angular/src/app/components/layout.component.tsscript167 B
assets/angular/src/app/pages/about.component.tsscript151 B
assets/angular/src/app/pages/home.component.tsscript24.0 KB
assets/angular/src/index.htmlother703 B
assets/angular/src/main.tsscript208 B
assets/angular/src/styles.cssother333 B
assets/angular/tsconfig.app.jsonconfig153 B
assets/angular/tsconfig.jsonconfig542 B
assets/astro/astro.config.mjsscript139 B
assets/astro/gitignoreother358 B
assets/astro/package.jsonmanifest285 B
assets/astro/powerpages.config.jsonconfig264 B
assets/astro/public/.gitkeepother0 B
assets/astro/src/components/Footer.astroother70 B
assets/astro/src/components/Header.astroother70 B
assets/astro/src/layouts/Layout.astroother946 B
assets/astro/src/pages/about.astroother87 B
assets/astro/src/pages/index.astroother22.6 KB
assets/astro/src/styles/theme.cssother333 B
assets/astro/tsconfig.jsonconfig42 B
assets/create-site-plan.htmlother30.2 KB
assets/non-spa-creation-status-template.htmlother35.0 KB
assets/react/gitignoreother419 B
assets/react/index.htmlother759 B
assets/react/package.jsonmanifest488 B
assets/react/powerpages.config.jsonconfig165 B
assets/react/src/App.tsxother362 B
assets/react/src/components/Layout.tsxother139 B
assets/react/src/main.tsxother325 B
assets/react/src/pages/About.tsxother50 B
assets/react/src/pages/Home.tsxother23.9 KB
assets/react/src/styles/theme.cssother333 B
assets/react/tsconfig.jsonconfig509 B
assets/react/vite.config.tsscript169 B
assets/shared/power-pages-icon.pngbinary22.2 KB
assets/template-browser.htmlother6.5 KB
assets/vue/env.d.tsscript186 B
assets/vue/gitignoreother419 B
assets/vue/index.htmlother757 B
assets/vue/package.jsonmanifest412 B
assets/vue/powerpages.config.jsonconfig165 B
assets/vue/src/App.vueother146 B
assets/vue/src/components/Layout.vueother34 B
assets/vue/src/main.tsscript160 B
assets/vue/src/pages/About.vueother37 B
assets/vue/src/pages/Home.vueother23.2 KB
assets/vue/src/router/index.tsscript319 B
assets/vue/src/styles/theme.cssother333 B
assets/vue/tsconfig.jsonconfig560 B
assets/vue/vite.config.tsscript163 B
references/design-aesthetics.mdmarkdown617 B
scripts/list-site-templates.jsscript4.6 KB
scripts/render-non-spa-status.jsscript14.0 KB
scripts/resolve-non-spa-context.jsscript5.6 KB
scripts/validate-site.jsscript15.7 KB
workflows/non-spa-site.mdmarkdown36.3 KB

assets/angular/src/app/pages/home.component.ts

View on GitHub
import { Component, AfterViewInit, OnDestroy, ViewEncapsulation } from '@angular/core'

@Component({
  selector: 'app-home',
  standalone: true,
  encapsulation: ViewEncapsulation.None,
  styles: [`
:root {
  --pp-violet: #7B5EA7;
  --pp-purple: #8B6FC0;
  --pp-lavender: #A78BDB;
  --pp-periwinkle: #8088D9;
  --pp-sky: #5A9BD5;
  --pp-deep-violet: #5C3D8F;
  --pp-bg: #F7F5FA;
  --pp-surface: #FFFFFF;
  --pp-text: #2D1B4E;
  --pp-text-secondary: #6B5A82;
  --pp-text-muted: #9B8FB5;
  --pp-border: rgba(139, 111, 192, 0.12);
  --pp-glow: rgba(139, 111, 192, 0.2);
}
html, body { overflow: hidden; background: var(--pp-bg); color: var(--pp-text); }
.loading-wrapper { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--pp-bg); }
.ambient { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.ambient::before {
  content: ''; position: absolute; width: 160%; height: 160%; top: -30%; inset-inline-start: -30%;
  background:
    radial-gradient(ellipse 600px 600px at 25% 30%, rgba(167, 139, 219, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 75% 70%, rgba(90, 155, 213, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 800px 400px at 50% 50%, rgba(139, 111, 192, 0.06) 0%, transparent 60%);
  animation: ambientDrift 25s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 2%) scale(1.04); }
  100% { transform: translate(2%, -1%) scale(0.98); }
}
.particles { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.particle { position: absolute; border-radius: 50%; opacity: 0; animation: particleFloat linear infinite; }
@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
.grid-overlay {
  position: fixed; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(139, 111, 192, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 111, 192, 0.04) 1px, transparent 1px);
  background-size: 60px 60px; animation: gridPulse 8s ease-in-out infinite alternate;
}
@keyframes gridPulse { 0% { opacity: 0.3; } 100% { opacity: 0.7; } }
.center-stage { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 40px 40px 48px; max-height: 100vh; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.center-stage::-webkit-scrollbar { display: none; }
.orbit-system { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }
.core-shape { position: absolute; width: 120px; height: 120px; z-index: 5; background: url('/power-pages-icon.png') center/contain no-repeat; animation: coreFloat 4s ease-in-out infinite; }
@keyframes coreFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.025); } }
.core-glow { position: absolute; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(167, 139, 219, 0.18) 0%, transparent 70%); z-index: 3; animation: coreGlow 3s ease-in-out infinite alternate; filter: blur(25px); }
@keyframes coreGlow { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0.9; } }
.orbit-ring { position: absolute; border: 1px solid rgba(139, 111, 192, 0.15); border-radius: 50%; animation: ringRotate linear infinite; }
.orbit-ring:nth-child(1) { width: 160px; height: 160px; animation-duration: 12s; }
.orbit-ring:nth-child(2) { width: 200px; height: 200px; animation-duration: 18s; animation-direction: reverse; border-color: rgba(90, 155, 213, 0.12); }
.orbit-ring:nth-child(3) { width: 240px; height: 240px; animation-duration: 25s; border-style: dashed; border-color: rgba(139, 111, 192, 0.08); }
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; z-index: 6; }
.orbit-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; filter: blur(6px); }
.orbit-dot:nth-child(4) { background: var(--pp-lavender); box-shadow: 0 0 10px rgba(167, 139, 219, 0.5); animation: orbitA 12s linear infinite; }
.orbit-dot:nth-child(4)::after { background: rgba(167, 139, 219, 0.4); }
.orbit-dot:nth-child(5) { background: var(--pp-sky); box-shadow: 0 0 10px rgba(90, 155, 213, 0.5); width: 6px; height: 6px; animation: orbitB 18s linear infinite reverse; }
.orbit-dot:nth-child(5)::after { background: rgba(90, 155, 213, 0.4); }
.orbit-dot:nth-child(6) { background: var(--pp-periwinkle); box-shadow: 0 0 8px rgba(128, 136, 217, 0.5); width: 5px; height: 5px; animation: orbitC 25s linear infinite; }
.orbit-dot:nth-child(6)::after { background: rgba(128, 136, 217, 0.4); }
@keyframes orbitA { from { transform: rotate(0deg) translateX(80px) rotate(0deg); } to { transform: rotate(360deg) translateX(80px) rotate(-360deg); } }
@keyframes orbitB { from { transform: rotate(0deg) translateX(100px) rotate(0deg); } to { transform: rotate(360deg) translateX(100px) rotate(-360deg); } }
@keyframes orbitC { from { transform: rotate(0deg) translateX(120px) rotate(0deg); } to { transform: rotate(360deg) translateX(120px) rotate(-360deg); } }
.text-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.brand-title { font-family: 'Outfit', sans-serif; font-weight: 300; font-size: 14px; letter-spacing: 4px; text-transform: uppercase; color: var(--pp-violet); opacity: 0; animation: fadeSlideUp 1s ease-out 0.5s forwards; }
.main-heading { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 32px; line-height: 1.3; background: linear-gradient(135deg, var(--pp-deep-violet) 0%, var(--pp-violet) 40%, var(--pp-sky) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: 0; animation: fadeSlideUp 1s ease-out 0.8s forwards; }
.status-area { height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; opacity: 0; animation: fadeSlideUp 1s ease-out 1.2s forwards; }
.status-message { position: absolute; white-space: nowrap; font-size: 15px; font-weight: 400; color: var(--pp-text-secondary); display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(20px); transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.status-message.active { opacity: 1; transform: translateY(0); }
.status-message.exiting { opacity: 0; transform: translateY(-20px); }
.status-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.status-icon.working { border: 2px solid rgba(139, 111, 192, 0.2); border-top-color: var(--pp-violet); animation: spin 1s linear infinite; }
.status-icon.done { background: rgba(34, 158, 92, 0.1); border: none; }
.status-icon.done::after { content: '\\2713'; font-size: 11px; color: #229E5C; font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-container { width: 320px; opacity: 0; animation: fadeSlideUp 1s ease-out 1.5s forwards; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.progress-track { width: 100%; height: 3px; background: rgba(139, 111, 192, 0.1); border-radius: 4px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; width: 40%; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--pp-violet), var(--pp-lavender), var(--pp-sky), transparent); position: absolute; top: 0; inset-inline-start: -40%; animation: infiniteSlide 2s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.progress-fill::after { content: ''; position: absolute; inset-inline-end: 10%; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--pp-sky); box-shadow: 0 0 8px rgba(90, 155, 213, 0.5), 0 0 16px rgba(90, 155, 213, 0.2); opacity: 0.9; }
@keyframes infiniteSlide { 0% { inset-inline-start: -40%; } 100% { inset-inline-start: 100%; } }
.progress-track.complete .progress-fill { width: 100%; inset-inline-start: 0; animation: none; background: linear-gradient(90deg, var(--pp-violet), var(--pp-lavender), var(--pp-sky)); transition: all 0.8s ease; }
.progress-track.complete .progress-fill::after { display: none; }
.progress-label-text { font-size: 12px; color: var(--pp-text-muted); font-family: 'DM Sans', sans-serif; letter-spacing: 0.3px; }
.feature-cards { display: flex; gap: 16px; margin-top: 16px; opacity: 0; animation: fadeSlideUp 1s ease-out 2s forwards; }
.feature-card { background: var(--pp-surface); border: 1px solid rgba(139, 111, 192, 0.1); border-radius: 16px; padding: 20px 22px; width: 150px; box-shadow: 0 2px 12px rgba(139, 111, 192, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04); opacity: 0; transform: translateY(20px) scale(0.95); transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.feature-card.visible { opacity: 1; transform: translateY(0) scale(1); }
.feature-card:hover { border-color: rgba(139, 111, 192, 0.2); box-shadow: 0 4px 24px rgba(139, 111, 192, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04); transform: translateY(-2px) scale(1.02); }
.feature-card-icon { font-size: 24px; margin-bottom: 10px; display: block; }
.feature-card-label { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 500; color: var(--pp-text-secondary); line-height: 1.4; }
.connector-lines { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.connector { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(139, 111, 192, 0.12), transparent); animation: connectorSweep 6s ease-in-out infinite; }
@keyframes connectorSweep { 0%, 100% { transform: translateX(-100%); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(100vw); opacity: 0; } }
.scanline { position: fixed; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--pp-lavender) 50%, transparent 100%); opacity: 0.06; z-index: 2; animation: scanDrop 8s linear infinite; pointer-events: none; }
@keyframes scanDrop { 0% { top: -2px; } 100% { top: 100%; } }
.tip-area { text-align: center; margin-top: 12px; opacity: 0; animation: fadeSlideUp 1s ease-out 3s forwards; }
.tip-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--pp-text-muted); margin-bottom: 8px; font-family: 'Outfit', sans-serif; }
.tip-text { font-size: 13px; color: var(--pp-text-muted); max-width: 380px; line-height: 1.6; margin: 0 auto; min-height: 42px; transition: opacity 0.6s ease, transform 0.6s ease; }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.center-stage.complete .main-heading { animation: completePulse 2s ease-in-out infinite alternate; }
@keyframes completePulse { 0% { filter: brightness(1); } 100% { filter: brightness(1.15); } }
.input-banner { position: fixed; top: 24px; inset-inline-end: 24px; z-index: 100; display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #FFF4D6 0%, #FFE9B3 100%); border: 1px solid #F5B800; color: #5C3D00; padding-block: 12px; padding-inline: 22px 14px; border-radius: 999px; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 500; box-shadow: 0 4px 16px rgba(245, 184, 0, 0.25); max-width: min(360px, calc(100vw - 48px)); animation: bannerEnter 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.input-banner[hidden] { display: none; }
.input-banner-icon { font-size: 18px; animation: bannerPulse 1.5s ease-in-out infinite; flex-shrink: 0; }
.input-banner-text { line-height: 1.4; flex: 1; min-width: 0; }
.input-banner-text b { font-weight: 600; display: block; letter-spacing: 0.3px; }
.input-banner-text small { display: block; font-size: 12px; font-weight: 400; opacity: 0.8; margin-top: 2px; }
.input-banner-close { width: 24px; height: 24px; border: none; border-radius: 50%; background: rgba(92, 61, 0, 0.12); color: #5C3D00; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; flex-shrink: 0; transition: background 0.2s ease, transform 0.2s ease; }
.input-banner-close:hover { background: rgba(92, 61, 0, 0.2); transform: scale(1.05); }
@keyframes bannerPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
@keyframes bannerEnter { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) { .main-heading { font-size: 24px; } .progress-container { width: 260px; } .feature-cards { flex-direction: column; align-items: center; } .orbit-system { width: 180px; height: 180px; } .input-banner { top: 12px; inset-inline-end: 12px; padding-block: 10px; padding-inline: 16px 12px; font-size: 13px; max-width: calc(100vw - 24px); } }
  `],
  template: `
    <div class="loading-wrapper">
      <div class="ambient"></div>
      <div class="grid-overlay"></div>
      <div class="scanline"></div>
      <div class="particles" id="particles"></div>
      <div class="connector-lines" id="connectors"></div>

      <div class="input-banner" id="inputBanner" hidden>
        <span class="input-banner-icon">&#x26A0;&#xFE0F;</span>
        <div class="input-banner-text">
          <b>Waiting for your input</b>
          <small id="inputBannerPrompt">Please check your terminal to respond.</small>
        </div>
        <button type="button" class="input-banner-close" id="inputBannerClose" aria-label="Dismiss notification">&times;</button>
      </div>

      <div class="center-stage" id="centerStage">
        <div class="orbit-system">
          <div class="core-glow"></div>
          <div class="core-shape">
          </div>
          <div class="orbit-ring"></div>
          <div class="orbit-ring"></div>
          <div class="orbit-ring"></div>
          <div class="orbit-dot"></div>
          <div class="orbit-dot"></div>
          <div class="orbit-dot"></div>
        </div>

        <div class="text-content">
          <div class="brand-title">Power Pages</div>
          <div class="main-heading" id="mainHeading">Building __SITE_NAME__</div>

          <div class="status-area" id="statusArea"></div>

          <div class="progress-container">
            <div class="progress-track" id="progressTrack">
              <div class="progress-fill"></div>
            </div>
            <span class="progress-label-text" id="progressLabel">Initializing...</span>
          </div>
        </div>

        <div class="feature-cards">
          <div class="feature-card" data-delay="0">
            <span class="feature-card-icon">&#x1F512;</span>
            <span class="feature-card-label">Enterprise-grade security</span>
          </div>
          <div class="feature-card" data-delay="400">
            <span class="feature-card-icon">&#x26A1;</span>
            <span class="feature-card-label">Lightning-fast performance</span>
          </div>
          <div class="feature-card" data-delay="800">
            <span class="feature-card-icon">&#x1F310;</span>
            <span class="feature-card-label">Ready to scale globally</span>
          </div>
        </div>

        <div class="tip-area">
          <div class="tip-label">Did you know</div>
          <div class="tip-text" id="tipText"></div>
        </div>
      </div>
    </div>
  `,
})
export class HomeComponent implements AfterViewInit, OnDestroy {
  private intervals: number[] = []
  private timeouts: number[] = []
  private inputBannerCloseCleanup: (() => void) | null = null

  ngAfterViewInit() {
    const particlesEl = document.getElementById('particles')
    const connectorsEl = document.getElementById('connectors')
    const statusArea = document.getElementById('statusArea')
    const progressLabel = document.getElementById('progressLabel')
    const tipTextEl = document.getElementById('tipText')
    const inputBannerClose = document.getElementById('inputBannerClose')

    // Particles
    const createParticle = () => {
      if (!particlesEl) return
      const p = document.createElement('div')
      p.classList.add('particle')
      const size = Math.random() * 3 + 1
      const colors = ['rgba(167,139,219,0.5)', 'rgba(128,136,217,0.5)', 'rgba(90,155,213,0.5)', 'rgba(139,111,192,0.5)']
      const color = colors[Math.floor(Math.random() * colors.length)]
      p.style.cssText = `width:${size}px;height:${size}px;inset-inline-start:${Math.random() * 100}%;background:${color};box-shadow:0 0 ${size * 2}px ${color};animation-duration:${Math.random() * 15 + 12}s;animation-delay:${Math.random() * 10}s;`
      particlesEl.appendChild(p)
      this.timeouts.push(window.setTimeout(() => p.remove(), 30000))
    }
    for (let i = 0; i < 30; i++) this.timeouts.push(window.setTimeout(() => createParticle(), i * 200))
    this.intervals.push(window.setInterval(createParticle, 800))

    // Connectors
    const createConnector = () => {
      if (!connectorsEl) return
      const c = document.createElement('div')
      c.classList.add('connector')
      c.style.cssText = `top:${Math.random() * 100}%;width:${Math.random() * 300 + 200}px;animation-duration:${Math.random() * 4 + 4}s;animation-delay:${Math.random() * 6}s;`
      connectorsEl.appendChild(c)
      this.timeouts.push(window.setTimeout(() => c.remove(), 12000))
    }
    for (let i = 0; i < 8; i++) this.timeouts.push(window.setTimeout(() => createConnector(), i * 1500))
    this.intervals.push(window.setInterval(createConnector, 2000))

    // Status messages
    const statuses = [
      { text: 'Setting up your workspace', duration: 8000 },
      { text: 'Installing dependencies', duration: 10000 },
      { text: 'Configuring build tools', duration: 12000 },
      { text: 'Loading design system', duration: 14000 },
      { text: 'Preparing components', duration: 10000 },
      { text: 'Building page templates', duration: 8000 },
      { text: 'Setting up routing', duration: 12000 },
      { text: 'Applying design tokens', duration: 10000 },
      { text: 'Optimizing assets', duration: 10000 },
      { text: 'Running final checks', duration: 12000 },
      { text: 'Polishing details', duration: 8000 },
      { text: 'Almost there...', duration: 6000 },
    ]

    const phaseLabels = [
      'Getting started...', 'Setting up infrastructure...', 'Building your pages...',
      'Configuring features...', 'Optimizing & securing...', 'Final steps...',
    ]

    let currentStatusIndex = 0
    let liveOverride = false
    let lastLiveMessage: string | null = null
    let lastAwaiting = false
    let lastPrompt: string | null = null
    let dismissedPrompt: string | null = null

    const dismissInputBanner = () => {
      const banner = document.getElementById('inputBanner')
      dismissedPrompt = lastPrompt || 'Please check your terminal to respond.'
      if (banner) banner.hidden = true
    }
    inputBannerClose?.addEventListener('click', dismissInputBanner)
    this.inputBannerCloseCleanup = () => inputBannerClose?.removeEventListener('click', dismissInputBanner)

    const renderStatusMessage = (text: string) => {
      if (!statusArea) return
      const existing = statusArea.querySelector('.status-message')
      if (existing) {
        existing.classList.remove('active')
        existing.classList.add('exiting')
        this.timeouts.push(window.setTimeout(() => existing.remove(), 700))
      }
      const msg = document.createElement('div')
      msg.classList.add('status-message')
      const icon = document.createElement('div')
      icon.classList.add('status-icon', 'working')
      msg.appendChild(icon)
      const textEl = document.createElement('span')
      textEl.textContent = text
      msg.appendChild(textEl)
      statusArea.appendChild(msg)
      requestAnimationFrame(() => requestAnimationFrame(() => msg.classList.add('active')))
    }

    const updatePhaseLabel = (text: string) => {
      if (progressLabel) progressLabel.textContent = text
    }

    const showStatus = (index: number) => {
      renderStatusMessage(statuses[index % statuses.length].text)
      if (liveOverride) return
      const phaseIndex = Math.min(Math.floor((index / statuses.length) * phaseLabels.length), phaseLabels.length - 1)
      updatePhaseLabel(phaseLabels[phaseIndex])
    }

    const advanceStatus = () => {
      showStatus(currentStatusIndex % statuses.length)
      const duration = statuses[currentStatusIndex % statuses.length].duration
      this.timeouts.push(window.setTimeout(() => {
        currentStatusIndex++
        advanceStatus()
      }, duration))
    }

    this.timeouts.push(window.setTimeout(() => advanceStatus(), 2000))

    const pollStatus = async () => {
      const banner = document.getElementById('inputBanner') as HTMLElement | null
      const promptEl = document.getElementById('inputBannerPrompt')
      try {
        const res = await fetch('/scaffold-status.json?t=' + Date.now(), { cache: 'no-store' })
        if (!res.ok) throw new Error('no status')
        const data = await res.json() as { message?: string; awaitingInput?: boolean; inputPrompt?: string }
        if (data.message) {
          liveOverride = true
          if (data.message !== lastLiveMessage) {
            lastLiveMessage = data.message
            updatePhaseLabel(data.message)
          }
        } else {
          if (liveOverride) {
            const phaseIndex = Math.min(Math.floor((currentStatusIndex / statuses.length) * phaseLabels.length), phaseLabels.length - 1)
            updatePhaseLabel(phaseLabels[phaseIndex])
          }
          liveOverride = false
          lastLiveMessage = null
        }
        const awaiting = !!data.awaitingInput
        const prompt = data.inputPrompt || 'Please check your terminal to respond.'
        const awaitingChanged = awaiting !== lastAwaiting
        const promptChanged = prompt !== lastPrompt
        if (!awaiting) dismissedPrompt = null
        if (awaitingChanged || promptChanged) {
          lastAwaiting = awaiting
          lastPrompt = prompt
          if (promptEl) promptEl.textContent = prompt
        }
        if (banner) banner.hidden = !awaiting || dismissedPrompt === prompt
      } catch {
        if (liveOverride) {
          const phaseIndex = Math.min(Math.floor((currentStatusIndex / statuses.length) * phaseLabels.length), phaseLabels.length - 1)
          updatePhaseLabel(phaseLabels[phaseIndex])
        }
        liveOverride = false
        lastLiveMessage = null
        if (!lastAwaiting) {
          lastPrompt = null
          if (banner) banner.hidden = true
        }
      }
    }
    pollStatus()
    this.intervals.push(window.setInterval(pollStatus, 1500))

    // Feature cards
    this.timeouts.push(window.setTimeout(() => {
      document.querySelectorAll('.feature-card').forEach(card => {
        const delay = parseInt((card as HTMLElement).dataset['delay'] || '0')
        this.timeouts.push(window.setTimeout(() => card.classList.add('visible'), delay))
      })
    }, 2500))

    // Tips
    const tips = [
      'Power Pages sites are built on Microsoft Dataverse, giving you enterprise-level data capabilities from day one.',
      'Your site automatically includes responsive design \u2014 it looks great on phones, tablets, and desktops.',
      'With role-based security, you can control exactly who sees what on your site.',
      'Power Pages integrates seamlessly with Power Automate, Power BI, and the entire Microsoft ecosystem.',
      'You can extend your site with custom code, and JavaScript for unlimited flexibility.',
      'Built-in content delivery networks ensure your pages load fast for users worldwide.',
      'Multi-language support lets you reach audiences across the globe with localized content.',
    ]

    let tipIndex = 0
    const showTip = () => {
      if (!tipTextEl) return
      tipTextEl.style.opacity = '0'
      tipTextEl.style.transform = 'translateY(8px)'
      this.timeouts.push(window.setTimeout(() => {
        tipTextEl.textContent = tips[tipIndex % tips.length]
        tipTextEl.style.opacity = '1'
        tipTextEl.style.transform = 'translateY(0)'
        tipIndex++
      }, 500))
    }
    this.timeouts.push(window.setTimeout(() => showTip(), 3500))
    this.intervals.push(window.setInterval(showTip, 12000))
  }

  ngOnDestroy() {
    this.inputBannerCloseCleanup?.()
    this.intervals.forEach(id => clearInterval(id))
    this.timeouts.forEach(id => clearTimeout(id))
  }
}
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall