plan-alm
Creates an ALM (Application Lifecycle Management) plan for deploying a Power Pages site across environments. Gathers your promotion strategy, target environments, and approval requirements upfront, then generates a visual HTML plan document for your review and approval.
Install / Use
npx skills add microsoft/power-platform-skills --skill plan-almInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Our assessment of plan-alm
plan-alm scores 85/100 on our quality scale, 1960th of 2,892 Automation skills we index.
Its SKILL.md is 98 KB long, well organised into 18 sections with 10 code examples: long enough that it reads more like full documentation than a focused instruction file, which agents can find harder to follow.
It has 919 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 12 days ago, so plan-alm is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
plan-alm compared with similar skills
All 4 of these similar skills score higher than plan-alm; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| plan-alm (this skill)by microsoft | 85 | 919 | 12d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 92.4k | 21d ago | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 85.9k | today | MCP Server |
| rufloby ruvnet | 100 | 74.0k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 14d ago | SKILL.md |
Frequently asked questions
- How do I install plan-alm?
- Run
npx skills add microsoft/power-platform-skills --skill plan-alm. The install tabs above show the steps for each supported agent. - Which AI agents does plan-alm work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is plan-alm safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is plan-alm still maintained?
- The repository was last updated 12 days ago, so plan-alm is actively maintained.
Skill content
View source on GitHubname: plan-alm description: >- Creates an ALM (Application Lifecycle Management) plan for deploying a Power Pages site across environments. Gathers your promotion strategy, target environments, and approval requirements upfront, then generates a visual HTML plan document for your review and approval. plan-alm does not deploy anything itself — it is a planner. After you approve the plan, run the individual ALM skills (setup-solution, setup-pipeline, deploy-pipeline, or export-solution/import-solution); each detects the approved plan and executes the right step in order, keeping the plan updated as it runs. Use when asked to: "plan my alm", "set up alm", "create deployment plan", "plan my deployments", "help me deploy to multiple environments", "set up promotion strategy", "create cicd plan", "plan site promotion", "help me go to production", "set up pipeline for my site". user-invocable: true argument-hint: "Optional: 'pipelines' or 'manual' to skip strategy selection" allowed-tools: Read, Write, Edit, Bash, Glob, Grep, TaskCreate, TaskUpdate, TaskList, AskUserQuestion model: opus
Plugin check: Run
node "${PLUGIN_ROOT}/scripts/check-version.js"— if it outputs a message, show it to the user before proceeding.
plan-alm
A 4-phase planner that gathers ALM strategy from the user, generates an HTML deployment plan, and gets approval. It does not execute anything — execution is delegated to the individual ALM skills, which the user runs afterward.
Overview
This skill detects the current project state (existing solution, pipeline), asks targeted questions about the desired promotion strategy (Power Platform Pipelines or Manual export/import), generates a visual docs/alm-plan.html, and gets user approval. The four phases are: Phase 1 — Detect, Phase 2 — Gather strategy, Phase 3 — Generate plan, Phase 4 — Approve & save.
plan-alm never deploys. The plan's steps[] array records the recommended execution sequence. After approval, the user invokes the individual skills — setup-solution, setup-pipeline (or export-solution), and deploy-pipeline (or import-solution) — in that order. Each of those skills detects the approved plan via its Phase 0 gate, proceeds without re-nagging, and refreshes the plan on completion. This separation is deliberate: it keeps plan-alm safe to run unattended (e.g. under autopilot) because no single answer can trigger an irreversible deployment.
Do NOT create tasks at the start — strategy is unknown until Phase 2 completes. Create both tasks in Phase 3 once the strategy is determined.
Phase 1 — Detect Project State
Do NOT create tasks yet. Use natural language progress reporting only during this phase.
Steps:
-
Detect prior ALM deferral for this project. Before any discovery work, check whether the project root contains a
.alm-deferredmarker file. The marker is written by users who explicitly opted ALM-skill validators out of "missing artifacts" warnings (e.g. "this site is handled separately" or "ni-dev — no ALM"). If a user is now invokingplan-alm, we should surface that the marker is present and ask what to do, rather than silently proceeding (which would build a plan the user previously decided not to maintain) or silently removing the marker (which would re-enable nags on every other ALM skill).node "${PLUGIN_ROOT}/scripts/lib/check-alm-plan.js" --projectRoot "." --no-heartbeat
<!-- gate: plan-alm:1.deferral | category=progress | cancel-leaves=deferral-marker -->Use
--no-heartbeathere: this is a read-only deferral check by the planner, not an execution-skill Phase 0 gate. Without it,check-alm-plan.jswould promote an already-Approvedplan toIn Execution(and refresh the heartbeat) just because you re-openedplan-alm— but re-planning isn't execution. Execution skills call it without--no-heartbeatso the first one to run does theApproved → In Executionpromotion.🚦 Gate (progress · plan-alm:1.deferral):
.alm-deferredmarker present — continue and remove, continue and keep marker, or cancel. Determines whether downstream ALM skills resume gate enforcement.The helper returns
{ deferred, deferral, ... }. Ifdeferred === true, read the deferral reason (deferral.reasonor the raw marker text) and ask viaAskUserQuestion:"This project has an
.alm-deferredmarker —{reason}. ALM was previously deferred here, so the other ALM skills (setup-solution,setup-pipeline,deploy-pipeline, …) skip their plan-completeness checks for this project. How would you like to proceed?"| Question | Header | Options | |---|---|---| | How would you like to proceed? | ALM deferral marker | Continue planning and remove the marker (Recommended), Continue planning but keep the marker (record deferral context in plan), Cancel |
- Continue and remove marker (Recommended) → delete
.alm-deferred(the user is re-engaging with ALM). SetDEFERRAL_CLEARED = trueand proceed to step 1. - Continue and keep marker → set
DEFERRAL_PRESERVED = trueandDEFERRAL_REASON = {reason}. Proceed to step 1. Surface a one-line note in the Phase 1 step 9 user report (e.g. "Note:.alm-deferredis preserved — other ALM skills will continue to skip plan-completeness checks for this project.") so the user remembers the marker remains in effect after planning. - Cancel → exit cleanly (don't touch the marker).
If
deferred === false, skip this step silently and proceed to step 0b. - Continue and remove marker (Recommended) → delete
0b. Offer to approve an existing Draft in place (skip re-planning). The same check-alm-plan.js output from step 0 also carries exists and planStatus. When exists === true and planStatus === "Draft", the user already has a saved Draft plan — offer to approve it directly instead of regenerating the whole plan. (This is the only Draft→Approved path; without it, approving a draft means a full re-plan.)
🚦 Gate (plan · plan-alm:1.approve-draft): An existing Draft plan was found — approve it in place (no re-plan), re-plan from scratch, or cancel. Approving here writes the status via
set-plan-status.jsand exits without re-running discovery; no deployment is triggered.
Ask via AskUserQuestion:
"This site already has an ALM plan saved as Draft (
docs/alm-plan.html). What would you like to do?"
| Question | Header | Options | |---|---|---| | What would you like to do? | Existing draft plan | Approve this draft now — no re-plan (Recommended), Re-plan from scratch, Cancel |
-
Approve this draft now (Recommended) → capture the approver using the Phase 4 approver-capture procedure (the always-interactive prompt with git/OS-name prefill), then write the status atomically with the helper:
node "${PLUGIN_ROOT}/scripts/lib/set-plan-status.js" --projectRoot "." --status Approved --approver "{APPROVER}" --renderCommit (
git add docs/alm-plan.html docs/.alm-plan-data.json && git commit -m "Approve ALM plan for {siteName}"), run skill tracking (Phase 4 finalize), print the Phase 4 next-steps guidance, and exit. Do not continue to step 1 — there is nothing to re-plan. -
Re-plan from scratch → proceed to step 1 (the rest of Phase 1 regenerates the plan; Phase 4 saves the new version).
-
Cancel → exit cleanly (leave the Draft as-is).
If exists === false, or planStatus is anything other than "Draft" (Approved / In Execution / Completed / null), skip this step silently and proceed to step 1.
-
Resolve the site identity from the local project.
.powerpages-site/website.ymlis the source of truth forwebsiteRecordIdandsiteName, and it is present for both Power Pages site types:- Code / SPA sites — scaffolded by
/power-pages:create-siteand downloaded withpac pages download-code-site. These also have apowerpages.config.jsonand SPA source (src/, build output indist//build/). - Data-model sites (standard and enhanced data model / "EDM") — downloaded with
pac pages download --modelVersion 1|2. These have nopowerpages.config.json; instead.powerpages-site/holds the config tree (web-pages/,web-templates/,content-snippets/, …) plus a.powerpages-site/.portalconfig/manifest pair. There is no local build output.
Resolution order (first match wins):
.powerpages-site/website.yml(preferred, present for every downloaded/deployed site) — read with theReadtool and extract:idfield →websiteRecordIdnamefield →siteName(the file uses short keys; it isname:, notadx_name:)
powerpages.config.json(fallback — code/SPA sites only; used during plugin development from this repo root or for sites scaffolded but not yet deployed) — readsiteNameandwebsiteRecordId.
Determine
SITE_TYPE(recorded in planData assiteTypeand used to skip SPA-only assumptions below; it is a data field indocs/.alm-plan-data.json, not rendered in the HTML):declarativewhen.powerpages-site/.portalconfig/exists, or.powerpages-site/website.ymlresolved while nopowerpages.config.jsonis present. (This value was formerlydata-model; plans written before the rename may still carrydata-model, which is equivalent.)codewhenpowerpages.config.jsonis present.
If neither marker is found, stop with:
"No Power Pages site found in the current directory. Run this skill from your site project root — that's where
.powerpages-site/lives afterpac pages download-code-site(code/SPA site) orpac pages download --modelVersion 2(enhanced data-model site). If you haven't created the site yet, run/power-pages:create-sitefirst."environmentUrlis always re-confirmed frompac env whoin step 4 — it does not need to come from either source. - Code / SPA sites — scaffolded by
-
Check for
.solution-manifest.jsonin the project root:- Store
SOLUTION_DONE = trueif found,falseotherwise - If found, read
solution.uniqueNameand store asSOLUTION_UNIQUE_NAME
- Store
-
Check for
docs/alm/last-pipeline.jsonin the project root:- Store
PIPELINE_DONE = trueif found,falseotherwise - If found, read
pipelineNameandstages[]for later use
- Store
-
Run silently:
pac env whoCapture the environment URL and display name. Store as
DEV_ENV_URLandDEV_ENV_NAME. The URL label varies by PAC version: current PAC (2.8.x) prints it underOrg URL:; older builds usedEnvironment URL:— read whichever is present (there is noEnvironment URL:line on 2.8.x, so do not look only for that label). The display name is theFriendly Name:/Connected to...value. If you can't parse it reliably, leaveDEV_ENV_URLempty — Step 6'sverify-alm-prerequisites.jsresolves the authoritative URL frompac env whovia the sharedgetEnvironmentUrl()helper (which matches both labels) and returns it as.envUrl. -
Run silently:
node "${PLUGIN_ROOT}/scripts/lib/list-environments.js"Store the JSON array as
ENV_LISTfor pre-filling environment URLs in Phase 2. (This helper parsespac env list; the oldpac env list --output jsonis invalid on current PAC CLI —pac env listonly accepts--filter— so the helper exists to produce the JSON the table form doesn't. It prints[]and exits 0 if PAC is unauthenticated, so pre-fill simply degrades to manual entry.) Each entry is{ displayName, environmentId, environmentUrl, uniqueName, active }. -
Acquire dev environment token (silently):
node "${PLUGIN_ROOT}/scripts/lib/verify-alm-prerequisites.js" --envUrl "{DEV_ENV_URL}"Store
.tokenasDEV_TOKENand.userIdasuserId.*Track plan quality.
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
92.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Scrapling
85.9k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
ruflo
74.0k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
