create-flow

bởi microsoft

Trình hướng dẫn tạo luồng có hướng dẫn. Sử dụng khi người dùng muốn tạo một luồng mới theo cách tương tác.

npx skills add https://github.com/microsoft/power-platform-skills --skill create-flow

Guided Flow Creation Wizard

Walk the user through creating a Power Automate flow step by step.

Tools

This skill uses the FlowAgent MCP tools. Clients surface them with a client-specific prefix — mcp__flowagent__<tool> (Claude Code) or flowagent-<tool> (Copilot CLI) — so they're referred to by bare name below. If MCP tools aren't available, run /setup to wire the FlowAgent MCP server.

Steps

  1. Gather requirements: Ask what the flow should do. Identify triggers, actions, connectors.

  2. Select environment: Call list_environments (use query to filter). Let user pick or auto-select.

  3. Check for templates: Call list_templates. If a template matches (approval, digest, webhook, etc.), offer to use scaffold_flow as a starting point.

  4. Discover connectors: For each connector, call get_connector with query to find the operation, then get_operation_details for exact parameters. Never guess parameter names or types.

  5. Verify connections: Call list_connections filtered by each connector. Confirm Connected status.

  6. Resolve dynamic values: For params with dynamicValues/dynamicTree annotations, call invoke_operation to get actual values (Teams channels, SharePoint sites, etc.).

  7. Review with user: Present the flow design. Use AskUserQuestion to confirm trigger, actions, and connections before creating.

  8. Generate definition: Build following all rules:

    • Always declare $authentication (SecureObject) and $connections (Object) parameters
    • Use correct action type: OpenApiConnection or OpenApiConnectionWebhook (from get_operation_details)
    • Do NOT include authentication in action inputs
    • Use Embedded source in connection references
    • HTTP Request triggers require Premium; prefer Button kind
  9. Validate: Call validate_flow (and optionally preflight_flow) to pre-check. For expressions, look up syntax with get_expression_help.

  10. Create: Call create_flow in Stopped state. Report ID and name.

  11. Optionally publish: Ask if user wants to enable. If yes, call publish_flow. For later one-off tweaks, use edit_flow (surgical) rather than resending the whole definition.

Thêm skills từ microsoft

oss-growth
microsoft
Cá tính tăng trưởng OSS
official
accessibility-aria-expert
microsoft
Phát hiện và sửa các vấn đề về khả năng tiếp cận trong giao diện web React/Fluent UI. Sử dụng khi xem xét mã để đảm bảo tương thích với trình đọc màn hình, sửa nhãn ARIA, đảm bảo…
official
generate-canvas-app
microsoft
[DEPRECATED — sử dụng canvas-app thay thế] Tạo một ứng dụng canvas Power Apps hoàn chỉnh.
official
django
microsoft
Các phương pháp tốt nhất cho phát triển web Django bao gồm models, views, templates và testing.
official
github-issue-creator
microsoft
Chuyển đổi ghi chú thô, nhật ký lỗi, ghi âm giọng nói hoặc ảnh chụp màn hình thành báo cáo vấn đề markdown sắc nét theo phong cách GitHub. Sử dụng khi người dùng dán thông tin lỗi, lỗi…
official
python-package-management
microsoft
Sử dụng uv để quản lý phụ thuộc và poethepoet để tự động hóa tác vụ.
official
runtime-validation
microsoft
Xác thực thời gian chạy cho các ứng dụng đã di chuyển — bao gồm chiến lược kiểm thử (giai đoạn lập kế hoạch) và thực thi kiểm thử (giai đoạn xác thực): xác minh khởi động,…
official
azure-postgres-ts
microsoft
Kết nối đến Azure Database for PostgreSQL Flexible Server bằng gói pg (node-postgres) với hỗ trợ xác thực mật khẩu và Microsoft Entra ID (không mật khẩu).
official