Skip to content

microsoft/power-platform-skills / plugins/power-pages/skills/deploy-pipeline

deploy-pipeline

Verified

Triggers a Power Platform Pipeline deployment run for a Power Pages solution. Selects a target stage, validates the package, optionally configures deployment settings (environment variables, connection references), then deploys and polls for completion. Use when asked to: "deploy pipeline", "run pipeline", "trigger deployment", "deploy to staging", "deploy to production", "run power platform pipeline", "deploy solution via pipeline", "promote solution", "push to staging", "push to production".

FileKindSize
SKILL.mdskill md106.9 KB
assets/deploy-history-template.htmlother16.0 KB
scripts/validate-deploy-pipeline.jsscript2.6 KB

assets/deploy-history-template.html

View on GitHub
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title>Deploy: __SOLUTION_FRIENDLY_NAME__ → __STAGE_NAME__</title>
<style>
:root {
  --bg:#faf9f8; --surface:#ffffff; --surface2:#f3f2f1; --surface3:#edebe9;
  --border:#e1dfdd; --border-light:#c8c6c4;
  --text:#323130; --text-dim:#605e5c; --text-bright:#201f1e;
  --accent:#0078d4; --accent-bg:#eff6fc; --accent-border:#c7e0f4;
  --succeeded:#107c10; --succeeded-bg:#f0fff0; --succeeded-border:#bad0ba;
  --failed:#a4262c; --failed-bg:#fdf3f4; --failed-border:#f1aaad;
  --pending:#ca5010; --pending-bg:#fff4ef; --pending-border:#f7d1bc;
  --warning:#ca5010; --warning-bg:#fff4ef; --warning-border:#f7d1bc;
  --info:#0078d4;
  --mono:'Cascadia Code','Consolas',monospace;
  --sans:'Segoe UI','Segoe UI Web (West European)',-apple-system,system-ui,sans-serif;
  --radius:8px; --radius-sm:4px;
  --shadow-4:0 1.6px 3.6px 0 rgba(0,0,0,0.132),0 0.3px 0.9px 0 rgba(0,0,0,0.108);
  --shadow-8:0 3.2px 7.2px 0 rgba(0,0,0,0.132),0 0.6px 1.8px 0 rgba(0,0,0,0.108);
  --sidebar-w:176px;
  --topbar-h:66px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:var(--sans);background:var(--bg);color:var(--text);font-size:14px;line-height:1.6;}

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.topbar{height:var(--topbar-h);background:var(--surface);box-shadow:var(--shadow-4);padding:0 28px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;position:sticky;top:0;z-index:20;}
.topbar-left{display:flex;align-items:center;gap:14px;}
.logo{width:36px;height:36px;border-radius:var(--radius);background:linear-gradient(135deg,#107c10,#0078d4);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:#fff;font-family:var(--mono);flex-shrink:0;}
.topbar-title{font-size:16px;font-weight:700;color:var(--text-bright);}
.topbar-sub{font-size:11px;color:var(--text-dim);margin-top:1px;}
.topbar-meta{font-size:12px;color:var(--text-dim);text-align:right;}

/* ── Page layout ─────────────────────────────────────────────────────────── */
.page-layout{display:flex;min-height:calc(100vh - var(--topbar-h));}

/* ── Vertical tab sidebar ────────────────────────────────────────────────── */
.tab-sidebar{width:var(--sidebar-w);flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);position:sticky;top:var(--topbar-h);height:calc(100vh - var(--topbar-h));overflow-y:auto;padding:24px 0 20px;}
.sidebar-section-label{font-size:10px;font-weight:700;color:var(--text-dim);text-transform:uppercase;letter-spacing:0.8px;padding:0 18px;margin-bottom:6px;margin-top:20px;}
.sidebar-section-label:first-child{margin-top:0;}
.tab-btn{display:flex;align-items:center;gap:9px;width:100%;padding:9px 18px;font-family:var(--sans);font-size:13px;font-weight:500;color:var(--text-dim);background:none;border:none;border-left:3px solid transparent;cursor:pointer;text-align:left;transition:color 0.12s,background 0.12s,border-color 0.12s;outline:none;line-height:1.3;}
.tab-btn:hover{color:var(--text-bright);background:var(--surface2);}
.tab-btn.active{color:var(--accent);border-left-color:var(--accent);background:var(--accent-bg);font-weight:600;}
.tab-icon{font-size:14px;flex-shrink:0;opacity:0.75;}

/* ── Content area ────────────────────────────────────────────────────────── */
.content-area{flex:1;min-width:0;}
.tab-content{display:none;}
.tab-content.active{display:block;}

/* ── Main / section ──────────────────────────────────────────────────────── */
.main{max-width:860px;margin:0 auto;padding:32px 28px 64px;}
.section{margin-bottom:32px;}
h2{font-size:19px;font-weight:700;color:var(--text-bright);letter-spacing:-0.3px;margin-bottom:4px;}
.section-desc{font-size:13px;color:var(--text-dim);margin-bottom:18px;}
h3{font-size:14px;font-weight:600;color:var(--text-bright);margin-top:20px;margin-bottom:10px;}

/* ── Status banner ───────────────────────────────────────────────────────── */
.status-banner{border-radius:var(--radius);padding:18px 24px;margin-bottom:24px;display:flex;align-items:center;gap:16px;box-shadow:var(--shadow-4);}
.status-banner.succeeded{background:var(--succeeded-bg);border:2px solid var(--succeeded-border);}
.status-banner.failed{background:var(--failed-bg);border:2px solid var(--failed-border);}
.status-banner.pending-approval{background:var(--pending-bg);border:2px solid var(--pending-border);}
.status-icon{font-size:28px;flex-shrink:0;}
.status-text{flex:1;}
.status-label{font-size:18px;font-weight:700;margin-bottom:2px;}
.status-banner.succeeded .status-label{color:var(--succeeded);}
.status-banner.failed .status-label{color:var(--failed);}
.status-banner.pending-approval .status-label{color:var(--pending);}
.status-detail{font-size:13px;color:var(--text-dim);}

/* ── Summary bar ─────────────────────────────────────────────────────────── */
.summary-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:24px;}
.summary-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;box-shadow:var(--shadow-4);}
.summary-label{font-size:11px;font-weight:600;color:var(--text-dim);text-transform:uppercase;letter-spacing:0.5px;margin-bottom:4px;}
.summary-value{font-size:14px;font-weight:700;color:var(--text-bright);font-family:var(--mono);}
.summary-value.status-succeeded{color:var(--succeeded);}
.summary-value.status-failed{color:var(--failed);}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;margin-bottom:16px;box-shadow:var(--shadow-4);}

/* ── Tables ──────────────────────────────────────────────────────────────── */
table{width:100%;border-collapse:collapse;}
th{background:var(--surface2);text-align:left;padding:9px 12px;font-size:12px;font-weight:600;color:var(--text-dim);border-bottom:2px solid var(--border);text-transform:uppercase;letter-spacing:0.3px;}
td{padding:9px 12px;font-size:13px;border-bottom:1px solid var(--border);vertical-align:top;}
td code{font-family:var(--mono);font-size:12px;background:var(--surface2);padding:1px 5px;border-radius:3px;}
td.label-col{font-weight:600;color:var(--text-dim);font-size:12px;width:190px;text-transform:uppercase;letter-spacing:0.3px;}
tr:last-child td{border-bottom:none;}
tr:hover td{background:var(--surface2);}

/* ── Component chips ─────────────────────────────────────────────────────── */
.table-chip{display:inline-block;font-family:var(--mono);font-size:11px;background:var(--surface2);border:1px solid var(--border);border-radius:3px;padding:2px 7px;margin:2px 2px 2px 0;line-height:1.6;}
.contents-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px;}
.contents-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;box-shadow:var(--shadow-4);}
.contents-card-label{font-size:11px;font-weight:600;color:var(--text-dim);text-transform:uppercase;letter-spacing:0.5px;margin-bottom:8px;}

/* ── Validation badge ────────────────────────────────────────────────────── */
.validation-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:700;border:1px solid;}
.validation-badge.passed{background:var(--succeeded-bg);color:var(--succeeded);border-color:var(--succeeded-border);}
.validation-badge.failed{background:var(--failed-bg);color:var(--failed);border-color:var(--failed-border);}

/* ── Note boxes ──────────────────────────────────────────────────────────── */
.note-box{padding:12px 16px;border-radius:var(--radius);font-size:13px;line-height:1.5;margin-bottom:12px;}
.note-box.info{background:var(--accent-bg);border:1px solid var(--accent-border);}
.note-box.warning{background:var(--warning-bg);border:1px solid var(--warning-border);}
.note-box.neutral{background:var(--surface2);border:1px solid var(--border);color:var(--text-dim);}
.note-box.succeeded{background:var(--succeeded-bg);border:1px solid var(--succeeded-border);}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 24px;margin:0 28px 28px calc(var(--sidebar-w) + 28px);box-shadow:var(--shadow-4);font-size:12px;color:var(--text-dim);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;}

/* ── Tab switch script ───────────────────────────────────────────────────── */
</style>
</head>
<body>

<div class="topbar">
  <div class="topbar-left">
    <div class="logo">DEP</div>
    <div>
      <div class="topbar-title">__SOLUTION_FRIENDLY_NAME__ → __STAGE_NAME__</div>
      <div class="topbar-sub">Power Platform Pipeline · Deployment Record</div>
    </div>
  </div>
  <div class="topbar-meta">__DEPLOYED_AT__</div>
</div>

<div class="page-layout">

  <nav class="tab-sidebar">
    <div class="sidebar-section-label">Deployment</div>
    <button class="tab-btn active" data-tab="overview">
      <span class="tab-icon">◈</span>Overview
    </button>
    <div class="sidebar-section-label">Detail</div>
    <button class="tab-btn" data-tab="solution">
      <span class="tab-icon">⬡</span>Solution
    </button>
    <button class="tab-btn" data-tab="config">
      <span class="tab-icon">⚙</span>Config &amp; Notes
    </button>
  </nav>

  <div class="content-area">

    <!-- ═══ TAB: Overview ════════════════════════════════════════════════════ -->
    <div id="tab-overview" class="tab-content active">
    <div class="main">

      <!-- Status banner -->
      <div class="status-banner __STATUS_CLASS__">
        <div class="status-icon">__STATUS_ICON__</div>
        <div class="status-text">
          <div class="status-label">__STATUS_LABEL__</div>
          <div class="status-detail"><code>__SOLUTION_NAME__</code> v__ARTIFACT_VERSION__ → __STAGE_NAME__</div>
        </div>
      </div>

      <!-- Summary bar -->
      <div class="summary-bar">
        <div class="summary-item">
          <div class="summary-label">Stage</div>
          <div class="summary-value">__STAGE_NAME__</div>
        </div>
        <div class="summary-item">
          <div class="summary-label">Version</div>
          <div class="summary-value">v__ARTIFACT_VERSION__</div>
        </div>
        <div class="summary-item">
          <div class="summary-label">Status</div>
          <div class="summary-value status-__STATUS_CLASS__">__STATUS_LABEL__</div>
        </div>
        <div class="summary-item">
          <div class="summary-label">Deployed At</div>
          <div class="summary-value" style="font-size:12px;font-family:var(--sans);">__DEPLOYED_AT__</div>
        </div>
      </div>

      <!-- Deployment details -->
      <div class="section">
        <h2>Deployment Details</h2>
        <p class="section-desc">Run metadata for this pipeline stage execution.</p>
        <div class="card" style="padding:0;overflow:hidden;">
          <table>
            <tbody>
              <tr><td class="label-col">Solution</td><td><code>__SOLUTION_NAME__</code> — __SOLUTION_FRIENDLY_NAME__</td></tr>
              <tr><td class="label-col">Artifact Version</td><td><code>__ARTIFACT_VERSION__</code> (from <code>__PREV_ARTIFACT_VERSION__</code>)</td></tr>
              <tr><td class="label-col">Stage</td><td>__STAGE_NAME__</td></tr>
              <tr><td class="label-col">Target Environment</td><td><code>__TARGET_ENV_URL__</code></td></tr>
              <tr><td class="label-col">Pipeline</td><td>__PIPELINE_NAME__</td></tr>
              <tr><td class="label-col">Stage Run ID</td><td><code>__STAGE_RUN_ID__</code></td></tr>
              <tr><td class="label-col">Deployed At</td><td>__DEPLOYED_AT__</td></tr>
              <tr><td class="label-col">Status</td><td>__STATUS_LABEL__</td></tr>
            </tbody>
          </table>
        </div>
      </div>

      <!-- Site Activation -->
      __ACTIVATION_SECTION__

    </div>
    </div>

    <!-- ═══ TAB: Solution ════════════════════════════════════════════════════ -->
    <div id="tab-solution" class="tab-content">
    <div class="main">

      <div class="section">
        <h2>Solution</h2>
        <p class="section-desc">What was deployed — solution metadata, validation outcome, and component inventory.</p>

        <!-- Solution metadata -->
        <div class="card" style="padding:0;overflow:hidden;margin-bottom:16px;">
          <table>
            <thead><tr><th colspan="2">Solution Metadata</th></tr></thead>
            <tbody>
              __SOLUTION_META_ROWS__
            </tbody>
          </table>
        </div>

        <!-- Validation result -->
        __VALIDATION_SECTION__

        <!-- Component inventory -->
        __SOLUTION_CONTENTS_SECTION__
      </div>

    </div>
    </div>

    <!-- ═══ TAB: Config & Notes ══════════════════════════════════════════════ -->
    <div id="tab-config" class="tab-content">
    <div class="main">

      <div class="section">
        <h2>Configuration &amp; Notes</h2>
        <p class="section-desc">Environment variable overrides applied at deploy time, AI deployment notes, and post-deployment action items.</p>

        __ENV_VARS_SECTION__
        __DEPLOYMENT_NOTES_SECTION__
        __POST_DEPLOY_WARNINGS__

      </div>
    </div>
    </div>

  </div><!-- .content-area -->
</div><!-- .page-layout -->

<div class="footer">
  <span>Generated by Claude Code · Power Platform Skills</span>
  <span>Pipeline: __PIPELINE_NAME__ · Run: <code>__STAGE_RUN_ID__</code></span>
</div>

<script>
(function(){
  var btns = document.querySelectorAll('.tab-btn');
  var tabs = document.querySelectorAll('.tab-content');
  btns.forEach(function(btn){
    btn.addEventListener('click', function(){
      var t = btn.getAttribute('data-tab');
      btns.forEach(function(b){ b.classList.remove('active'); });
      tabs.forEach(function(c){ c.classList.remove('active'); });
      btn.classList.add('active');
      var el = document.getElementById('tab-' + t);
      if(el) el.classList.add('active');
    });
  });
})();
</script>
</body>
</html>
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