Token导航 LogoToken导航

Agent Skill · 研究检索

integrate-backend(整合后端)

integrate-backend 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

integrate-backend 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 61,604。

总安装 349周安装 14GitHub Stars 228下载 113核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:integrate-backend(整合后端)
来源仓库:https://github.com/microsoft/power-platform-skills
仓库路径:skills/integrate-backend
安装命令:
npx skills add https://github.com/microsoft/power-platform-skills --skill integrate-backend
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/microsoft/power-platform-skills --skill integrate-backend

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

提供后端集成项目的规划与阶段分配建议,支持架构设计。适用于 Microsoft Power Platform 环境下的系统集成任务。包含数据流图、安全约束和依赖关系管理指引。

安装方式:npx skills add https://github.com/microsoft/power-platform-skills --skill integrate-backend。支持 Codex、Claude、Cursor、Gemini CLI 等平台,需注意环境兼容性。

来源仓库内路径:skills/integrate-backend

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/microsoft/power-platform-skills --skill integr…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

integrate-backend 怎么安装?

在终端执行 npx skills add https://github.com/microsoft/power-platform-skills --skill integrate-backen…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

integrate-backend 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

integrate-backend 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

integrate-backend 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

integrate-backend 用的人多吗?

公开数据是累计安装 349 次,近一周安装 14 次,下载 113 次,GitHub 228 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

integrate-backend 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
integrate-backend

整合后端 · 本页

349228接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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 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:

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 custom actions are found, note them — they will be factored into the recommendation in Phase 3.

Output: Project root confirmed, existing backend integrations identified, Dataverse custom actions discovered


Phase 2: Understand the Business Problem

Goal: Analyze the user's request to understand the underlying business problem, not just the technical ask

Actions:

2.1 Analyze the Request

From the user's request and the existing site state, determine:

  • What is the user trying to accomplish? (business outcome, not technology)
  • What data is involved? (Dataverse tables, external systems, user input)
  • Who triggers the operation? (user action, form submit, page load, scheduled)
  • Does the user need an immediate response? (real-time UI update vs. background processing)
  • Are external services involved? (payment gateways, email, Graph, SharePoint, third-party APIs)
  • Are credentials or secrets involved? (API keys, client secrets, tokens)
  • Must logic be hidden from the browser? (pricing rules, validation algorithms, business rules)
  • Is this a simple data operation or complex business logic? (CRUD vs. multi-step processing)
  • Does any write depend on a business rule that must be tamper-proof? (state transitions, approval conditions, computed values) — if yes, the server logic must validate AND execute the write, not just validate
  • Can existing Dataverse custom actions handle part of the requirement? If custom actions were discovered in Phase 1.3, check whether any align with the user's needs — server logic can wrap existing custom actions via InvokeCustomApi instead of building equivalent logic from scratch

2.2 Clarify if Ambiguous

If the request could map to multiple approaches and the right choice isn't clear, use AskUserQuestion to clarify:

QuestionWhen to ask
Does the user need to see the result immediately, or can it happen in the background?When the request involves processing that could be sync or async
Are external APIs or services involved (e.g., Stripe, SendGrid, SharePoint)?When the request mentions "integration" without specifics
Does this involve sensitive credentials that shouldn't be in the browser?When external service integration is mentioned
Is this a one-time action or a multi-step workflow?When the request could be a simple call or an orchestration

Output: Clear understanding of the business problem and technical requirements


Phase 3: Recommend Integration Approach

Goal: Present a recommendation with clear reasoning

Actions:

3.1 Apply the Decision Framework

Reference: ${CLAUDE_PLUGIN_ROOT}/skills/integrate-backend/references/decision-framework.md

Use the decision matrix, intent mapping, and Secure Action Principle from the reference to determine the right approach. Consider:

  1. Can Web API alone handle this? If it's straightforward Dataverse CRUD with no external calls, no secrets, no server-side logic, and no business rules governing the write — recommend Web API. It's the simplest option.
  2. Does it need Server Logic? If any of these apply, Server Logic is needed:

- External API calls (HttpClient) - Credentials/secrets must stay on the server - Business logic must be hidden from the browser - Multiple Dataverse queries should be batched into one endpoint - Server-side validation that can't be bypassed - Wrapping a Dataverse Custom API/Action for portal consumption — if custom actions were found in Phase 1.3, check whether any match the requirement before recommending building from scratch - The write depends on a business rule that must be tamper-proof (state transitions, approval conditions, computed values) — server logic must validate AND execute the write

  1. Does it need Cloud Flows? If any of these apply, Cloud Flows are the right fit:

- The operation is async — the user doesn't need an immediate result - Background processing: sending emails, notifications, processing orders - Multi-step workflows across systems with Power Automate connectors - Long-running processes that exceed the 120-second server logic timeout - Non-developers should be able to modify the workflow

  1. Does it need a combination? Common combinations:

- Web API + Cloud Flow: UI reads/writes non-sensitive Dataverse fields, some actions trigger background flows - Server Logic + Cloud Flow: Real-time endpoint validates and executes the action, async flow does follow-up (e.g., server logic transitions status, Cloud Flow sends notification) - Web API + Server Logic: Web API for safe direct reads/writes, server logic for operations that need business rule enforcement (server logic validates AND writes for those operations)

3.1.1 Security Review — Apply the Secure Action Principle

Before finalizing the plan, review every item assigned to Web API and ask: "If a user skipped any preceding server logic validation and called this Web API endpoint directly, could they violate a business rule?"

If the answer is yes, that write does not belong in a Web API item. Move the write into the server logic item that validates it. The server logic should validate AND execute the write using Server.Connector.Dataverse.

Common patterns that must use validate-and-execute server logic (not Web API):

PatternWhy it must be server-side
Status/state transitions (Draft → Submitted → Approved)Client could jump to any status by sending a direct PATCH
Conditional writes (only allowed before a deadline, only for certain roles)Client could write after deadline or from wrong role context
Computed field writes (server calculates a score, price, or derived value)Client could submit any value if it writes the field directly
Multi-table atomic operations (award bid + reject others + update event)Partial execution from client could leave data inconsistent
Writes that depend on the current state of other recordsClient's stale view of data could lead to invalid writes

Correct plan structure for state transitions:

Phase 1: Server Logic — "transition-order" endpoint
  - POST: accepts { entityId, targetStatus }
  - Reads current record, validates transition is allowed, writes new status
  - Returns { success, previousStatus, newStatus }

Phase 2: Web API — Order table CRUD
  - Read: list/filter orders (safe for Web API)
  - Create: new orders in Draft status (safe — initial state, no rule to enforce)
  - Update: description, notes, dates (safe — no business rules on these fields)
  - NOTE: Status changes are NOT here — they go through the server logic endpoint

Incorrect plan structure (anti-pattern):

❌ Phase 1: Server Logic — "validate-transition" endpoint
  - POST: accepts { entityId, targetStatus }
  - Reads current record, validates transition
  - Returns { valid: true/false }   ← only validates, doesn't write

❌ Phase 2: Web API — Order table CRUD
  - Update: includes status field  ← client writes status after "validation"
  - PROBLEM: client can skip Phase 1 and write any status directly

3.2 Render the HTML Plan

Build the plan data and render an HTML plan before asking for approval. The plan visualizes:

  • Key Concepts — Educational overview of Web API, Server Logic, and Cloud Flows (hardcoded in template)
  • Overview — Stats per approach, approach chips, design rationale
  • Data Flow — Visual flow diagrams showing how data moves for each user action, with steps color-coded by approach
  • Implementation Order — Phase-grouped items with dependencies, complexity badges, and implementation commands
  • Integration Items — Each item with its approach, reasoning, and implementation details

Prepare a JSON object with these keys:

KeyDescription
SITE_NAMESite name from powerpages.config.json
PLAN_TITLEShort title (e.g., "Backend Integration Plan")
SUMMARY1-3 sentence summary of the integration strategy
ITEMS_DATAArray of integration items (see format below)
DATA_FLOWS_DATAArray of data flow diagrams (see format below)
RATIONALE_DATAArray of design rationale entries (icon, title, desc)

ITEMS_DATA format:

{
  "name": "Create PayPal Order",
  "approach": "webapi|serverlogic|cloudflow",
  "description": "What this item does",
  "reasoning": "Why this approach was chosen",
  "phase": 1,
  "status": "new|existing|extends",
  "complexity": "low|medium|high",
  "depends": "Name of item this depends on (if any)",
  "details": [
    { "label": "Endpoint", "value": "/_api/serverlogics/create-paypal-order" },
    { "label": "Secrets", "value": "PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET" }
  ],
  "docs": [
    { "label": "Server Logic Overview", "url": "https://learn.microsoft.com/..." }
  ]
}

Phase assignment rules — assign a phase number to each item based on dependencies:

  1. Items with no dependencies go in the earliest phase appropriate for their approach
  2. Items that depend on other items go in a later phase than their dependency
  3. Items in the same phase have no dependencies on each other and can be built in parallel
  4. Recommended default ordering: Server Logic foundations first (validate-and-execute endpoints for state transitions, batch queries), then Web API CRUD for non-sensitive fields (reads, creates with safe defaults, updates to fields with no business rules), then advanced Server Logic (multi-table transactions), then Cloud Flows (async follow-ups)
  5. Security constraint: A Web API item must never write a field whose value is governed by a business rule enforced in a server logic item. If a field needs validation, the server logic item should write it directly — the Web API item should exclude that field from its scope

DATA_FLOWS_DATA format:

{
  "trigger": "User registers and pays",
  "description": "User fills the form, pays via PayPal, receives confirmation",
  "steps": [
    { "approach": "serverlogic", "name": "Validate Seats", "detail": "Check availability" },
    { "approach": "serverlogic", "name": "Create Order", "detail": "Server calls PayPal" },
    { "approach": "cloudflow", "name": "Send Email", "detail": "Async confirmation" }
  ]
}

Important: In data flow diagrams, when a server logic step validates a business rule, the next step should NOT be a Web API write for the same field. The server logic step should validate AND execute. For example:

// ✅ Correct — server logic validates and writes status
{ "approach": "serverlogic", "name": "Submit Order", "detail": "Validates Draft→Submitted, writes new status" }

// ❌ Incorrect — split across server logic validation and Web API write
{ "approach": "serverlogic", "name": "Validate Transition", "detail": "Checks Draft→Submitted" },
{ "approach": "webapi", "name": "Update Status", "detail": "PATCH status to Submitted" }
Write the plan to `<PROJECT_ROOT>/docs/backend-plan.html` (create `docs/` if needed). Use the render script:

node "${CLAUDE_PLUGIN_ROOT}/scripts/render-backend-plan.js" --output "<OUTPUT_PATH>" --data "<DATA_JSON_PATH>"


The render script refuses to overwrite existing files. If the default path exists, choose a new descriptive filename (e.g., `backend-plan-payments.html`).

After rendering, open the HTML plan in the user's default browser:

open "<OUTPUT_PATH>" # macOS

start "<OUTPUT_PATH>" # Windows

xdg-open "<OUTPUT_PATH>" # Linux


### 3.3 Present Plan Summary

Do **not** restate the full plan in the CLI. The HTML file is the single detailed plan artifact.

In the CLI, give only a brief summary:

- Total items and how many per approach
- Whether the plan uses one approach or a combination
- The actual output path
- A note that the browser-opened HTML contains the full details including data flow diagrams

### 3.4 Confirm with User

Use `AskUserQuestion`:

| Question | Options |
| --- | --- |
| Here's the integration plan. The HTML plan is open in your browser with data flow diagrams and per-item reasoning. Does this approach look right? | Yes, proceed (Recommended), Change approach, Cancel |

**If "Change approach"**: Ask what they'd prefer and why, update the plan, and present again.

**If "Cancel"**: Stop the workflow.

**Output**: User-approved integration approach

---

## Phase 4: Route to Skill(s)

**Goal**: Invoke the appropriate skill(s) to implement the approved approach, respecting phase ordering and building in parallel within each phase

**Actions**:

### 4.1 Build the Phase Execution Plan

Group the approved items by their `phase` number from the plan. Each phase is a batch of independent items — items within a phase have no dependencies on each other and can be built in parallel.

| Approach | Skill to invoke | What to pass |
| --- | --- | --- |
| Web API | `/integrate-webapi` | The user's request + tables for this phase + existing patterns |
| Server Logic | `/add-server-logic` | The user's request + endpoints for this phase + SDK features needed + secrets identified + any matching Dataverse custom actions from Phase 1.3 |
| Cloud Flow | `/add-cloud-flow` | The user's request + async operations for this phase |

### 4.2 Execute Phase by Phase

Process phases in order (Phase 1, then Phase 2, etc.). **Complete all items in a phase before moving to the next** — later phases depend on earlier phases.

**Within each phase**, maximize parallelism:

- **Single approach in the phase**: Invoke the skill once with all items for that phase. Tell the skill: *"These N items are independent — implement them in parallel where possible."*
- **Multiple approaches in the same phase**: Invoke each skill for its items. Since items in the same phase have no cross-dependencies, the order of skill invocation within a phase does not matter. When invoking the second skill, pass context from the first so it can follow the same frontend patterns (e.g., naming conventions, file organization).

**Example** — a plan with 4 phases:

| Phase | Items | Skill(s) | Parallelism |
| --- | --- | --- | --- |
| 1 | Validate Transition (serverlogic), Dashboard Metrics (serverlogic) | `/add-server-logic` | Both items passed together — skill builds them in parallel |
| 2 | Supplier Updates (webapi), Bid CRUD (webapi), PR Creation (webapi) | `/integrate-webapi` | All 3 items passed together — skill builds them in parallel |
| 3 | Award Bid (serverlogic) | `/add-server-logic` | Single item — sequential |
| 4 | Approval Notification (cloudflow), Expiry Alerts (cloudflow) | `/add-cloud-flow` | Both items passed together — skill builds them in parallel |

When invoking each skill, include:

1. **Which items to implement** — list the specific item names from the plan for this phase
2. **Parallelism guidance** — *"These items are in the same phase and have no dependencies on each other. Implement them in parallel where possible."*
3. **Context from previous phases** — what was created so far (files, patterns, services) so the skill can build on it

### 4.3 Summary

After all phases complete, present a brief summary of everything that was created:

| Phase | Approach | What was created |
| --- | --- | --- |
| 1 | Server Logic | [endpoints created, SDK features used] |
| 2 | Web API | [files created, tables integrated] |
| 3 | Server Logic | [endpoints created] |
| 4 | Cloud Flow | [flows registered, triggers wired] |

Remind the user to deploy with `/deploy-site` if they haven't already.

### 4.4 Record Skill Usage

> Reference: `${CLAUDE_PLUGIN_ROOT}/references/skill-tracking-reference.md`

Follow the skill tracking instructions in the reference to record this skill's usage. Use `--skillName "IntegrateBackend"`.

**Output**: All recommended backend integrations implemented

---

## Important Notes

### When NOT to Use This Skill

If the user's request clearly and unambiguously maps to a single approach, **skip this skill and go directly to the implementation skill**:

- "Create a server logic endpoint for..." → `/add-server-logic`
- "Integrate Web API for the contacts table" → `/integrate-webapi`
- "Add a cloud flow for sending emails" → `/add-cloud-flow`

This skill is for **ambiguous requests** where the user describes a business problem and needs help choosing the right approach.

### Examples: What Routing Looks Like

**Example 1: Simple Dataverse CRUD → Web API**

User: I need to show a list of products on the homepage and let users filter by category.

Recommendation: Web API Reason: This is straightforward Dataverse read operations with filtering. No external APIs, no secrets, no server-side logic needed. Skill: /integrate-webapi


**Example 2: External API with credentials → Server Logic**

User: Add payment processing through Stripe. The API key must stay on the server.

Recommendation: Server Logic Reason: Calls an external API (Stripe) with credentials that must be protected. Server logic hides the code and credentials from the browser. Skill: /add-server-logic


**Example 3: Background email → Cloud Flow**

User: When a user submits the contact form, send them a confirmation email and notify the support team on Teams.

Recommendation: Cloud Flow Reason: Email and Teams notifications are async — the user doesn't need to wait for them. Cloud Flows have built-in connectors for Outlook and Teams. Skill: /add-cloud-flow


**Example 4: Server-side validation → Server Logic (validate-and-execute)**

User: Add validation that rejects orders when quantity exceeds inventory. Check the actual Dataverse data, not just the form.

Recommendation: Server Logic (validate-and-execute) Reason: Server-side validation that can't be bypassed from the browser. The server logic checks inventory AND creates/updates the order in a single call — the client doesn't write the order via Web API because quantity validation would be bypassable. Skill: /add-server-logic


**Example 5: Dashboard performance → Server Logic**

User: The dashboard makes 3 separate API calls to load contacts, orders, and products. It's slow.

Recommendation: Server Logic Reason: Batching multiple Dataverse queries into a single server endpoint reduces round-trips and improves load time. Skill: /add-server-logic


**Example 6: CRUD + background processing → Web API + Cloud Flow**

User: Let users submit support tickets from the portal. After submission, assign it to the right team and send an email.

Recommendation: Web API + Cloud Flow Reason: The ticket creation is a Dataverse write (Web API). The assignment and email happen in the background after the user submits (Cloud Flow). Phases: Phase 1 → /integrate-webapi (ticket CRUD) Phase 2 → /add-cloud-flow (assignment + email, depends on ticket creation)


**Example 7: Validate + process + notify → Server Logic + Cloud Flow**

User: When a user places an order, validate inventory, process the payment through Stripe, and send a confirmation email.

Recommendation: Server Logic + Cloud Flow Reason: Inventory validation and Stripe payment need real-time server-side processing with credentials (Server Logic). The confirmation email is async (Cloud Flow). Phases: Phase 1 → /add-server-logic (validate inventory + process payment — parallel) Phase 2 → /add-cloud-flow (confirmation email, depends on payment)


**Example 8: State transitions + CRUD → Server Logic (validate-and-execute) + Web API**

User: Build a procurement workflow with status transitions (Draft → Submitted → Approved) and let users edit request details.

Recommendation: Server Logic + Web API Reason: Status transitions must be tamper-proof — server logic validates the transition AND writes the new status to Dataverse in one call (the Secure Action Principle). Editing non-sensitive fields like description or notes is safe via Web API since no business rule governs those writes. Phases: Phase 1 → /add-server-logic (transition-request endpoint that validates AND writes status changes) Phase 2 → /integrate-webapi (read/list requests, edit description and notes — but NOT status, which goes through server logic)

NOTE: The Web API item must NOT include the status field in its Update operations. Status writes go exclusively through the server logic endpoint.


### Progress Tracking

Before starting Phase 1, create a task list with all phases using `TaskCreate`:

| Task subject | activeForm | Description |
| --- | --- | --- |
| Verify site exists | Verifying site prerequisites | Locate project root, scan for existing backend integrations |
| Understand business problem | Analyzing requirements | Determine what the user needs, clarify ambiguities |
| Recommend integration approach | Evaluating approaches | Apply decision framework, present recommendation |
| Route to implementation skill(s) | Implementing backend integration | Invoke the approved skill(s) and summarize results |

Mark each task `in_progress` when starting and `completed` when done via `TaskUpdate`.

---

**Begin with Phase 1: Verify Site Exists**

平台分布

Codex

38.1%
按下载量换算43

Claude

27.57%
按下载量换算31

Cursor

17.86%
按下载量换算20

Gemini CLI

10.46%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills