Tanstack Start Best Practices
DeckardGer/tanstack-agent-skills
TanStack Start best practices for full-stack React applications.
Deploys an existing Power Pages code site to a Power Pages environment using PAC CLI.
$ npx skills add microsoft/power-platform-skills --skill deploy-site -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install microsoft/power-platform-skills deploy-site --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/power-pages/skills/deploy-site .claude/skills/deploy-site && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "deploy-site" agent skill from https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-pages/skills/deploy-site into .claude/skills/deploy-site/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deploy-site", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-pages/skills/deploy-siteType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add microsoft/power-platform-skills --skill deploy-site -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install microsoft/power-platform-skills deploy-site --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/power-pages/skills/deploy-site .agents/skills/deploy-site && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "deploy-site" agent skill from https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-pages/skills/deploy-site into .agents/skills/deploy-site/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deploy-site", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/power-platform-skills --skill deploy-site -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install microsoft/power-platform-skills deploy-site --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/power-pages/skills/deploy-site .cursor/skills/deploy-site && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "deploy-site" agent skill from https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-pages/skills/deploy-site into .cursor/skills/deploy-site/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deploy-site", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/microsoft/power-platform-skills.git --path plugins/power-pages/skills/deploy-site--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add microsoft/power-platform-skills --skill deploy-site -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install microsoft/power-platform-skills deploy-site --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/power-pages/skills/deploy-site .gemini/skills/deploy-site && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "deploy-site" agent skill from https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-pages/skills/deploy-site into .gemini/skills/deploy-site/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deploy-site", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install microsoft/power-platform-skills deploy-siteInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add microsoft/power-platform-skills --skill deploy-site -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/power-pages/skills/deploy-site .github/skills/deploy-site && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "deploy-site" agent skill from https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-pages/skills/deploy-site into .github/skills/deploy-site/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deploy-site", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/power-platform-skills --skill deploy-site -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install microsoft/power-platform-skills deploy-site --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/power-pages/skills/deploy-site .opencode/skills/deploy-site && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "deploy-site" agent skill from https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-pages/skills/deploy-site into .opencode/skills/deploy-site/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deploy-site", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
deploy-siteDeploys an existing Power Pages code site to a Power Pages environment using PAC CLI.
Deploy Site is an agent skill from microsoft/power-platform-skills, published by the product's own GitHub organization. Deploys an existing Power Pages code site to a Power Pages environment using PAC CLI. Handles tooling verification, authentication, environment confirmation, building, and uploading. Use when the user wants to deploy, upload, or publish their code site.
Its SKILL.md is about 5.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering Authentication and Deployment. The repository describes itself as: A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and… The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 0d044b8. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadBashAskUserQuestionGlobGrepTaskCreateTaskUpdateTaskListFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
nodegitnpmFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
aka.msorg12345.crm.dynamics.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Deploy Site loads about 5.5k tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 2,638 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Bash, AskUserQuestion, Glob, Grep, TaskCreate, TaskUpdate, TaskListAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from microsoft/power-platform-skills at commit 0d044b8, republished under its MIT licence (© microsoft). 2,638 words, ~5,462 tokens.
.claude/skills/deploy-site/SKILL.md (or your agent's skills folder).Plugin check: Run
node "${PLUGIN_ROOT}/scripts/check-version.js"— if it outputs a message, show it to the user before proceeding.
Guide the user through deploying an existing Power Pages code site to a Power Pages environment using PAC CLI. Follow a systematic approach: verify tooling, authenticate, confirm the target environment, build and upload the site, and handle any blockers.
Initial request: $ARGUMENTS
Goal: Ensure PAC CLI is installed and available on the system PATH
Actions:
Create todo list with all 6 phases (see Progress Tracking table)
Run pac help to check if the PAC CLI is installed and available on the system PATH.
pac helpIf the command succeeds: PAC CLI is installed. Proceed to Phase 2.
If the command fails (command not found / not recognized):
Inform the user that PAC CLI is required but not installed.
Fetch installation instructions from https://aka.ms/PowerPlatformCLI using the following approach:
Tell the user: "PAC CLI is not installed. You can install it by running:"
dotnet tool install --global Microsoft.PowerApps.CLI.ToolIf dotnet is also not available, direct the user to https://aka.ms/PowerPlatformCLI for full installation instructions including .NET SDK setup.
After installation, verify by running pac help again.
If it still fails, stop and ask the user to resolve the installation manually.
Output: PAC CLI installed and verified
Goal: Ensure the user is authenticated with PAC CLI and has a valid session
Actions:
Run pac auth who to check the current authentication status.
pac auth whoIf authenticated: Extract the following values from the output:
Environment ID:Cloud: (e.g., Public, UsGov, UsGovHigh, UsGovDod, China)Proceed to Phase 3.
If not authenticated:
<!-- not-a-gate: free-text env URL fallback when PAC CLI auth is missing — data-gathering, no destructive action -->
Use AskUserQuestion to ask for the environment URL:
| Question | Header | Options |
|---|---|---|
You are not authenticated with PAC CLI. Please provide your Power Pages environment URL (e.g., https://org12345.crm.dynamics.com) so I can authenticate you. | Auth | (free text input via "Other") |
Provide two placeholder options to guide the user:
Once the user provides the URL, run the authentication command:
pac auth create --environment "<USER_PROVIDED_URL>"This will open a browser window for the user to sign in.
After the command completes, verify by running pac auth who again.
If authentication succeeds, proceed to Phase 3.
If authentication fails, present the error to the user and help them troubleshoot.
Output: Authenticated PAC CLI session with environment name and URL extracted
Goal: Ensure the user is deploying to the correct target environment
Actions:
<!-- gate: deploy-site:3.confirm-env | category=consent | cancel-leaves=nothing -->
🚦 Gate (consent · deploy-site:3.confirm-env): Echo the current environment and require explicit confirmation before any upload. Covers the follow-up "pick a different env" sub-prompt in the same section — wrong-env deploys are the #1 destructive shared-state failure for this skill, so this gate must fire even when PAC CLI shows a recognizable env.
Trigger: Phase 3 entry; environment resolved from PAC CLI. Why we ask: Site uploaded to wrong tenant / wrong env — committed to a Dataverse instance the user did not intend; cleanup requires manual deletion or another deploy from a different env. Cancel leaves: Nothing — no upload fired.
Present the current environment information to the user and ask them to confirm.
Use AskUserQuestion with the following structure:
| Question | Header | Options |
|---|---|---|
| You are currently connected to environment: <ENV_NAME> (<ENV_URL>). Do you want to deploy to this environment? | Environment | Yes, use this environment, No, let me choose a different one |
If "Yes, use this environment": Proceed to Phase 4.
If "No, let me choose a different one":
Run pac org list to retrieve all available environments:
pac org listParse the output to extract environment names and URLs.
Use AskUserQuestion to present the available environments as options (pick up to 4 most relevant, or let user specify).
Once the user selects an environment, switch to it:
pac org select --environment "<SELECTED_ENV_ID_OR_URL>"Verify the switch by running pac auth who again.
Output: Confirmed target environment for deployment
Goal: Locate the project, build it, and upload to Power Pages
Actions:
Determine the project root directory. The project root is the directory containing powerpages.config.json. Use Glob to search for it:
**/powerpages.config.json<!-- gate: deploy-site:4.1.multi-project | category=plan | cancel-leaves=nothing -->
🚦 Gate (plan · deploy-site:4.1.multi-project): More than one
powerpages.config.jsoncandidate found — pick the right project to deploy.Trigger: Phase 4.1 glob returned multiple matches. Why we ask: Wrong project uploaded — pollutes the target env with files from a different site. Cancel leaves: Nothing — no upload fired.
If found in the current working directory or a subdirectory, use that directory as PROJECT_ROOT. If multiple are found, ask the user which one to deploy using AskUserQuestion.
If not found, ask the user to provide the path to the project root.
If .powerpages-site already exists (i.e., this is not the first deployment), table permissions and site settings may have drifted from the code since the last deployment. Offer to audit before deploying.
<!-- gate: deploy-site:4.2.audit-permissions | category=plan | cancel-leaves=nothing -->
🚦 Gate (plan · deploy-site:4.2.audit-permissions): Re-deployment detected — offer to run
/audit-permissionsto catch drift between code and table permissions before push.Trigger:
.powerpages-siteexists (not first deployment). Why we ask: Stale permission YAML deploys, causing 403s for users until next audit run. Cancel leaves: Nothing — audit is read-only; declining just proceeds to build + upload.
Use AskUserQuestion:
| Question | Header | Options |
|---|---|---|
| This site has been deployed before. Would you like to run a permissions audit to verify table permissions match your current code before deploying? | Audit | Yes, audit permissions (Recommended), Skip — permissions are up to date |
If "Yes": Invoke /audit-permissions to run the audit. After the audit completes, resume with Step 4.3.
If "Skip": Proceed to Step 4.3.
If .powerpages-site does not exist (first deployment), skip this step — there are no existing permissions to audit.
Before uploading, ensure the site is built:
cd "<PROJECT_ROOT>"
npm run buildIf the build fails, stop and help the user fix the build errors before retrying.
Run the upload command:
pac pages upload-code-site --rootPath "<PROJECT_ROOT>"If the upload succeeds: Proceed to Phase 5 to verify the deployment.
If the upload fails: Check the error message:
.js) attachments → proceed to Phase 6.html type attachments are currently blocked → this is a misleading error. See Troubleshooting: HTML Blocked Attachment Error belowOutput: Site built and uploaded to Power Pages
Goal: Confirm the deployment was successful and handle post-deployment steps
Actions:
.powerpages-site FolderConfirm .powerpages-site exists and list its contents (web-roles/, site-settings/, table-permissions/).
Reference:
${PLUGIN_ROOT}/references/skill-tracking-reference.md
Follow the skill tracking instructions in the reference to record this skill's usage. Use --skillName "DeploySite".
Review the output from the pac pages upload-code-site command in Phase 4 (or Phase 6 retry). Verify it reported a successful upload with no errors.
Stage and commit deployment artifacts:
git add -A
git commit -m "Deploy site to Power Pages"Run the activation status check:
node "${PLUGIN_ROOT}/scripts/check-activation-status.js" --projectRoot "<PROJECT_ROOT>"Evaluate the JSON result:
activated is true: Inform the user their site is already activated (show websiteUrl if present). Proceed to step 5.6, then skip to Suggest Next Steps. Do NOT ask about activation.activated is false: Proceed to step 5.5.1.error is present: Fall back to step 5.5.1. Do not block the deployment flow.<!-- gate: deploy-site:5.5.1.activate | category=plan | cancel-leaves=nothing -->
🚦 Gate (plan · deploy-site:5.5.1.activate): Site deployed but not yet activated — offer to invoke
/activate-siteto provision the subdomain.Trigger: Phase 5.5 detected
activated:falseon a fresh deploy. Why we ask: Auto-activating writes the wrong subdomain (permanent for the site); auto-skipping leaves the site without a live URL. Cancel leaves: Nothing — no activation API call fired.
Ask the user if they want to activate the site using AskUserQuestion:
| Question | Header | Options |
|---|---|---|
| Site deployed successfully! Would you like to activate (provision) the site now so it gets a live URL? | Activate | Activate now (Recommended) — Provision the site with a subdomain and make it live, Skip for now — I'll activate later |
If "Activate now": Invoke the /activate-site skill. After activation completes, proceed to step 5.6 to clear the site cache.
If "Skip for now": Suggest next steps (see Suggest Next Steps).
After confirming the site is activated (either it was already activated in step 5.5, or the user just activated it in step 5.5.1), offer to clear the runtime cache so the deployed changes are immediately visible.
Prerequisites: The site must be activated and the project root must be known (from Phase 4.1).
<!-- gate: deploy-site:5.6.restart-cache | category=plan | cancel-leaves=nothing -->
🚦 Gate (plan · deploy-site:5.6.restart-cache): Restart the deployed site to flush its runtime cache. Brief production downtime (a few seconds) — explicit user consent required even though the action is recoverable.
Trigger: Site confirmed activated (either pre-existing or just activated in 5.5.1). Why we ask: Production users see stale content for several minutes until cache TTL expires. Cancel leaves: Nothing — the deploy itself already succeeded; cache will refresh on its own.
Use AskUserQuestion to confirm before proceeding:
| Question | Header | Options |
|---|---|---|
| Would you like to restart the site so your latest changes are immediately visible? This may cause a brief downtime (a few seconds). | Restart | Yes, restart site (Recommended), Skip — I'll restart later |
If "Skip": Skip to Suggest Next Steps.
If "Yes": Run the cache-clearing script, passing the project root:
node "${PLUGIN_ROOT}/scripts/clear-site-cache.js" --projectRoot "<PROJECT_ROOT>"The script reads siteName from powerpages.config.json, looks up the website via the Power Platform API, and restarts it to flush the runtime cache.
Evaluate the result:
success is true: Inform the user: "Site cache cleared — your latest changes should now be visible at <websiteUrl>."success is false: Warn the user that cache clearing failed and show the error, but do not block the deployment flow. The deployment itself succeeded; cache will eventually refresh on its own. Suggest the user can manually clear cache from the Power Pages admin center if needed.Output: Deployment verified, changes committed, activation offered, cache cleared
Goal: Resolve blocked JavaScript attachment errors and retry deployment
Actions:
Tell the user:
"The upload failed because JavaScript (.js) file attachments are blocked in your Power Pages environment. This is a security setting that prevents uploading .js files. To deploy a code site, this restriction needs to be relaxed for .js files."
<!-- gate: deploy-site:6.2.unblock-js | category=consent | cancel-leaves=attachment-block-modified -->
🚦 Gate (consent · deploy-site:6.2.unblock-js): Reactive
blockedattachmentsmodification — destructive shared-state change (tenant-wide env setting). Same shape asdeploy-pipeline:7.6.2.blocked-attachments.Trigger: Upload failed with the blocked-
.jserror. Why we ask: Auto-unblocking modifies a tenant security setting without explicit consent — visible across the entire environment, not just this site. Cancel leaves:attachment-block-modifiedis only possible if the user approved and then a downstream step partial-completed. Pure Cancel here leaves nothing — the original blockedattachments value is untouched.
Use AskUserQuestion:
| Question | Header | Options |
|---|---|---|
| Would you like to remove the JavaScript (.js) block from the environment's blocked attachments list? This is required to deploy code sites. | Unblock JS | Yes, remove the .js block (Recommended), No, do not change environment settings |
If "No": Stop and inform the user that the deployment cannot proceed without unblocking .js attachments.
If "Yes": Proceed to 6.3.
Run pac env list-settings to retrieve the current environment settings:
pac env list-settingsFind the blockedattachments property in the output. It will contain a semicolon-separated list of file extensions (e.g., ade;adp;app;asa;ashx;asmx;asp;bas;bat;cdx;cer;chm;class;cmd;com;config;cnt;cpl;crt;csh;der;dll;exe;fxp;hlp;hta;htr;htw;ida;idc;idq;inf;ins;isp;its;js;jse;ksh;lnk;mad;maf;mag;mam;maq;mar;mas;mat;mau;mav;maw;mda;mdb;mde;mdt;mdw;mdz;msc;msh;msh1;msh1xml;msh2;msh2xml;mshxml;msi;msp;mst;ops;pcd;pif;prf;prg;printer;pst;reg;rem;scf;scr;sct;shb;shs;shtm;shtml;soap;stm;tmp;url;vb;vbe;vbs;vsmacros;vss;vst;vsw;ws;wsc;wsf;wsh).
Remove js from the list. Parse the semicolon-separated values, filter out js, and rejoin with semicolons.
Update the setting:
pac env update-settings --name blockedattachments --value "<UPDATED_LIST_WITHOUT_JS>"Confirm the update was successful.
Run the upload command again:
pac pages upload-code-site --rootPath "<PROJECT_ROOT>"If it succeeds: Proceed to Phase 5 to verify the deployment.
If it fails again with a different error, present the error to the user and help troubleshoot.
Output: JavaScript unblocked and site deployed successfully
If the upload fails with an error like:
Error: Unable to upload webfile name 'index.html' with record Id <GUID> as '.html' type attachments are currently blocked on this environment.This error is misleading. The .html extension is not actually blocked — the real cause is a stale environment manifest file in the .powerpages-site folder. This manifest maps local files to Dataverse record IDs from a previous upload. When the mapping becomes outdated (e.g., after environment changes or record deletions), the upload fails with this confusing error.
Locate the environment-specific manifest file in the .powerpages-site folder. It follows the naming pattern <environment-host>-manifest.yml (e.g., demo1.crm.dynamics.com-manifest.yml). Use your file-search tool (e.g., Glob with pattern <PROJECT_ROOT>/.powerpages-site/*-manifest.yml) to find it.
Delete the manifest file at <PROJECT_ROOT>/.powerpages-site/<environment-host>-manifest.yml.
Retry the upload:
pac pages upload-code-site --rootPath "<PROJECT_ROOT>"If the retry succeeds, proceed to Phase 5. If it fails with a different error, present the error to the user and help them troubleshoot.
Important: Do NOT attempt to unblock
.htmlin the environment's blocked attachments list — the error is not caused by the attachment block setting.
If the user skips activation (or after activation completes), suggest:
/activate-site — Provision the site with a subdomain and make it live (if not already activated)/test-site — Test the deployed site in the browser (verify pages load, check API calls)/audit-permissions — Audit table permissions against current code (recommended after redeployments)/setup-datamodel — Create Dataverse tables for dynamic content/add-seo — Add meta tags, robots.txt, sitemap.xml, faviconpac pages uploadAlways use pac pages upload-code-site — never use pac pages upload. The pac pages upload command is designed for portal-studio-style sites and will corrupt code site metadata if used on a code site project. This applies to every upload step in this skill (Phase 4.4, Phase 6.4, and troubleshooting retries).
powerpages.config.json found, ask which project to deployBefore starting Phase 1, create a task list with all phases using TaskCreate:
| Task subject | activeForm | Description |
|---|---|---|
| Verify PAC CLI installation | Verifying PAC CLI | Check if PAC CLI is installed, install if missing |
| Verify authentication | Verifying authentication | Check current auth status, authenticate if needed |
| Confirm target environment | Confirming environment | Show current environment, let user confirm or switch |
| Deploy the code site | Deploying site | Locate project root, build, and upload via pac pages upload-code-site |
| Verify deployment | Verifying deployment | Confirm .powerpages-site folder exists, review upload output, commit changes, offer activation |
| Handle blocked JavaScript | Resolving JS block | If upload fails due to blocked JS, offer to unblock and retry |
Mark each task in_progress when starting it and completed when done via TaskUpdate. Phase 6 may be marked completed immediately if no JavaScript blocking issue is encountered. This gives the user visibility into progress and keeps the workflow deterministic.
Begin with Phase 1: Verify PAC CLI
© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/power-pages/skills/deploy-site of microsoft/power-platform-skills.
Open the folder on GitHubat commit 0d044b8
Deploy Site next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Deploy Site this skillmicrosoft/power-platform-skills | 972 | — | ~5.5k | Automated safety check: Notes | MIT | |
| Tanstack Start Best PracticesDeckardGer/tanstack-agent-skills | 222 | — | ~1k | Automated safety check: Pass | MIT | |
| Flow Nexus Platformruvnet/agentic-flow | 816 | 4 repos | ~6.4k | Automated safety check: Pass | None | |
| Authvercel/vercel-plugin | 301 | — | ~6.4k | Automated safety check: Notes | Custom licence | |
| Nuxt Studiosecondsky/claude-skills | 227 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Adobe Upgrade Migrationjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~1.1k | Automated safety check: Pass | MIT |
DeckardGer/tanstack-agent-skills
TanStack Start best practices for full-stack React applications.
ruvnet/agentic-flow
Comprehensive Flow Nexus platform management - authentication, sandboxes, app deployment, payments, and challenges
vercel/vercel-plugin
Authentication integration guidance — Clerk (native Vercel Marketplace), Better Auth, Descope, and Auth0 setup for Next.js applications, plus Sign in with Vercel, Vercel Passport, and Vercel KMS.
secondsky/claude-skills
This skill should be used when the user asks to "set up Nuxt Studio", "configure Studio OAuth", "deploy Studio to Cloudflare", "add visual editor to Nuxt", "configure studio.domain.com subdomain"…
jeremylongshore/tons-of-skills-marketplace
Migrate Adobe integrations away from Service Account JWT, Photoshop v1, retired Lightroom Firefly Services, or drifting SDK/API contracts with canaries and rollback.
jeremylongshore/tons-of-skills-marketplace
Configure Granola across multiple workspaces and teams with SSO/SCIM provisioning.
microsoft/power-platform-skills
Inspects and configures the web application firewall (WAF) in front of a Power Pages production site.
microsoft/power-platform-skills
Inspects and configures the security headers a Power Pages site sends to browsers — Content Security Policy, frame and clickjacking protection, cross-origin sharing, cookie behavior, and related…
microsoft/power-platform-skills
Scans a Power Pages site project for security issues in source code and dependencies.
microsoft/power-platform-skills
Runs a security scan on a deployed Power Pages site, fetches the latest scan report, and produces a plain-language summary.
microsoft/power-platform-skills
Creates Dataverse tables, columns, and relationships for a Power Pages site based on a data model proposal.
microsoft/power-platform-skills
Creates, edits, and manages Power Pages Server Logic files — server-side JavaScript that runs securely on the Power Pages runtime.
Categories
Deploys an existing Power Pages code site to a Power Pages environment using PAC CLI. Deploy Site is an agent skill from microsoft/power-platform-skills, published by the product's own GitHub organization. Deploys an existing Power Pages code site to a Power Pages environment using PAC CLI.
Deploy Site fits situations like: the user wants to deploy; publish their code site.
Run `npx skills add microsoft/power-platform-skills --skill deploy-site -a claude-code`. Or copy the skill folder (plugins/power-pages/skills/deploy-site in microsoft/power-platform-skills) into .claude/skills/deploy-site in your project. Claude Code loads it when a task matches its description.
Run `npx skills add microsoft/power-platform-skills --skill deploy-site -a codex`. Or copy the skill folder (plugins/power-pages/skills/deploy-site in microsoft/power-platform-skills) into .agents/skills/deploy-site in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/power-platform-skills --skill deploy-site -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deploy-site, .gemini/skills/deploy-site, .github/skills/deploy-site and .opencode/skills/deploy-site in your project.
Going by SKILL.md and its folder, Deploy Site needs the command-line tools its instructions call (node, git and npm). Its frontmatter pre-approves these tools: Read, Bash, AskUserQuestion, Glob, Grep, TaskCreate, TaskUpdate, TaskList.
SKILL.md names 2 domains. In commands or code: aka.ms and org12345.crm.dynamics.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Deploy Site is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5.5k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Deploy Site: Tanstack Start Best Practices (DeckardGer/tanstack-agent-skills, 222 stars), Flow Nexus Platform (ruvnet/agentic-flow, 816 stars), Auth (vercel/vercel-plugin, 301 stars) and Nuxt Studio (secondsky/claude-skills, 227 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
microsoft (a GitHub organization, an official publisher) maintains it in microsoft/power-platform-skills, which has 972 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on October 7, 2026.
Source: microsoft/power-platform-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.