
Integrate Backend
Architects backend integration strategies for Power Pages sites by analyzing business requirements and recommending the optimal approach—Web API, Server Logic, Cloud Flows, or combinations.
Install
npx skills add https://github.com/microsoft/power-platform-skills --skill integrate-backendWhat is this skill?
- Analyzes business requirements before recommending architecture
- Routes to specialized skills for Web API, Server Logic, or Cloud Flows implementation
- Recommends secure patterns where server-side validation protects business rules
Adoption & trust: 63 installs on skills.sh; 349 GitHub stars; 2/3 security scanners passed (skills.sh audits).
Recommended Skills
Journey fit
This skill belongs in the build phase because it helps developers design and implement the backend layer needed to support their application's data and business logic. Backend selection is a critical design decision that precedes implementation; this skill guides that decision-making process and routes to specialized skills for actual build-out.
Common Questions / FAQ
Is Integrate Backend safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Integrate Backend
> **Plugin check**: Run `node "${CLAUDE_PLUGIN_ROOT}/scripts/check-version.js"` — if it outputs a message, show it to the user before proceeding. # Backend Integration Analyze the user's business problem and recommend the right backend integration approach — **Web API**, **Server Logic**, **Cloud Flows**, or a combination — then route to the appropriate skill(s) to implement the solution. ## Core Principles - **Understand the problem first**: Never jump to a technology choice. Analyze the user's intent, data flow, security needs, and performance requirements before recommending. - **Recommend the simplest approach that works**: Web API for straightforward Dataverse CRUD, Server Logic when server-side processing is needed, Cloud Flows for async background work. Don't over-engineer. - **Secure actions belong on the server**: When a write depends on a business rule that must be tamper-proof (state transitions, approval workflows, computed values), the server logic must validate AND execute the write — not just validate and leave the write to a client-side Web API call. See the **Secure Action Principle** in the decision framework. - **Combinations are normal**: Many real scenarios need more than one approach. Recommend combinations when justified, but explain why each piece is needed. - **Route, don't implement**: This skill recommends and invokes the right skill(s). It does not create backend files itself. **Initial request:** $ARGUMENTS --- ## Workflow 1. **Verify Site Exists** — Locate the Power Pages project and check prerequisites 2. **Understand the Business Problem** — Analyze what the user needs and why 3. **Recommend Integration Approach** — Present the recommendation with reasoning 4. **Route to Skill(s)** — Invoke the appropriate backend skill(s) to implement --- ## Phase 1: Verify Site Exists **Goal**: Locate the Power Pages project root and confirm prerequisites **Actions**: 1. Create todo list with all 4 phases (see [Progress Tracking](#progress-tracking) table) ### 1.1 Locate Project Look for `powerpages.config.json` in the current directory or immediate subdirectories. **If not found**: Tell the user to create a site first with `/create-site`. ### 1.2 Explore Current State Use the **Explore agent** to quickly scan the site for existing backend integrations: > "Analyze this Power Pages code site for existing backend integrations: > 1. Check `.powerpages-site/server-logic/` — list any existing server logic endpoints > 2. Check `.powerpages-site/cloud-flow-consumer/` — list any registered cloud flows > 3. Search frontend code (`src/**/*.{ts,tsx,js,jsx,vue,astro}`) for calls to `/_api/` (Web API) and `/_api/serverlogics/` (Server Logic) and `/_api/cloudflow/` (Cloud Flows) > 4. Check for existing service layers or API utilities in `src/services/`, `src/shared/`, or similar > 5. List available web roles from `.powerpages-site/web-roles/*.webrole.yml` > Report what backend integrations already exist so we can build on them." ### 1.3 Discover Dataverse Custom Actions Check whether the user's Dataverse environment has existing custom actions that could be leveraged in the integration: ```bash node "${CLAUDE_PLUGIN_ROOT}/scripts/list-custom-actions.js" "<ENV_URL>" ``` The script returns Custom APIs (modern) and Custom Process Actions (legacy) with their names, descriptions, binding types, and parameters. If