Skip to content

Commit 37c246d

Browse files
committed
fix: address all review comments — README, cross-refs, response shapes, step numbering
- Add skills to docs/README.skills.md (fixes validate-readme CI check) - Update cross-skill references to use flowstudio- prefix (#1, #4, #7, #9) - Fix get_live_flow_run_action_outputs: returns array, index [0] (#2, #3) - Renumber Step 6→5, Step 7→6 — remove gap in build workflow (#8) - Fix connectionName note: it's the key, not the GUID (#10) - Remove invalid arrow function from Filter array expression (#11)
1 parent fcec8fb commit 37c246d

5 files changed

Lines changed: 23 additions & 14 deletions

File tree

docs/README.skills.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ See [CONTRIBUTING.md](../CONTRIBUTING.md#adding-skills) for guidelines on how to
112112
| [finalize-agent-prompt](../skills/finalize-agent-prompt/SKILL.md) | Finalize prompt file using the role of an AI agent to polish the prompt for the end user. | None |
113113
| [finnish-humanizer](../skills/finnish-humanizer/SKILL.md) | Detect and remove AI-generated markers from Finnish text, making it sound like a native Finnish speaker wrote it. Use when asked to "humanize", "naturalize", or "remove AI feel" from Finnish text, or when editing .md/.txt files containing Finnish content. Identifies 26 patterns (12 Finnish-specific + 14 universal) and 4 style markers. | `references/patterns.md` |
114114
| [first-ask](../skills/first-ask/SKILL.md) | Interactive, input-tool powered, task refinement workflow: interrogates scope, deliverables, constraints before carrying out the task; Requires the Joyride extension. | None |
115+
| [flowstudio-power-automate-build](../skills/flowstudio-power-automate-build/SKILL.md) | Build, scaffold, and deploy Power Automate cloud flows using the FlowStudio MCP server. Load this skill when asked to: create a flow, build a new flow, deploy a flow definition, scaffold a Power Automate workflow, construct a flow JSON, update an existing flow's actions, patch a flow definition, add actions to a flow, wire up connections, or generate a workflow definition from scratch. Requires a FlowStudio MCP subscription — see https://mcp.flowstudio.app | `references/action-patterns-connectors.md`<br />`references/action-patterns-core.md`<br />`references/action-patterns-data.md`<br />`references/build-patterns.md`<br />`references/flow-schema.md`<br />`references/trigger-types.md` |
116+
| [flowstudio-power-automate-debug](../skills/flowstudio-power-automate-debug/SKILL.md) | Debug failing Power Automate cloud flows using the FlowStudio MCP server. Load this skill when asked to: debug a flow, investigate a failed run, why is this flow failing, inspect action outputs, find the root cause of a flow error, fix a broken Power Automate flow, diagnose a timeout, trace a DynamicOperationRequestFailure, check connector auth errors, read error details from a run, or troubleshoot expression failures. Requires a FlowStudio MCP subscription — see https://mcp.flowstudio.app | `references/common-errors.md`<br />`references/debug-workflow.md` |
115117
| [flowstudio-power-automate-mcp](../skills/flowstudio-power-automate-mcp/SKILL.md) | Connect to and operate Power Automate cloud flows via a FlowStudio MCP server. Use when asked to: list flows, read a flow definition, check run history, inspect action outputs, resubmit a run, cancel a running flow, view connections, get a trigger URL, validate a definition, monitor flow health, or any task that requires talking to the Power Automate API through an MCP tool. Also use for Power Platform environment discovery and connection management. Requires a FlowStudio MCP subscription or compatible server — see https://mcp.flowstudio.app | `references/MCP-BOOTSTRAP.md`<br />`references/action-types.md`<br />`references/connection-references.md`<br />`references/tool-reference.md` |
116118
| [fluentui-blazor](../skills/fluentui-blazor/SKILL.md) | Guide for using the Microsoft Fluent UI Blazor component library (Microsoft.FluentUI.AspNetCore.Components NuGet package) in Blazor applications. Use this when the user is building a Blazor app with Fluent UI components, setting up the library, using FluentUI components like FluentButton, FluentDataGrid, FluentDialog, FluentToast, FluentNavMenu, FluentTextField, FluentSelect, FluentAutocomplete, FluentDesignTheme, or any component prefixed with "Fluent". Also use when troubleshooting missing providers, JS interop issues, or theming. | `references/DATAGRID.md`<br />`references/LAYOUT-AND-NAVIGATION.md`<br />`references/SETUP.md`<br />`references/THEMING.md` |
117119
| [folder-structure-blueprint-generator](../skills/folder-structure-blueprint-generator/SKILL.md) | Comprehensive technology-agnostic prompt for analyzing and documenting project folder structures. Auto-detects project types (.NET, Java, React, Angular, Python, Node.js, Flutter), generates detailed blueprints with visualization options, naming conventions, file placement patterns, and extension templates for maintaining consistent code organization across diverse technology stacks. | None |

skills/flowstudio-power-automate-build/SKILL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Step-by-step guide for constructing and deploying Power Automate cloud flows
1515
programmatically through the FlowStudio MCP server.
1616

1717
**Prerequisite**: A FlowStudio MCP server must be reachable with a valid JWT.
18-
See the `power-automate-mcp` skill for connection setup.
18+
See the `flowstudio-power-automate-mcp` skill for connection setup.
1919
Subscribe at https://mcp.flowstudio.app
2020

2121
---
@@ -271,7 +271,7 @@ else:
271271
272272
---
273273
274-
## Step 6 — Verify the Deployment
274+
## Step 5 — Verify the Deployment
275275
276276
```python
277277
check = mcp("get_live_flow", environmentName=ENV, flowName=FLOW_ID)
@@ -286,7 +286,7 @@ print("Actions:", list(acts.keys()))
286286
287287
---
288288
289-
## Step 7 — Test the Flow
289+
## Step 6 — Test the Flow
290290
291291
> **MANDATORY**: Before triggering any test run, **ask the user for confirmation**.
292292
> Running a flow has real side effects — it may send emails, post Teams messages,
@@ -456,5 +456,5 @@ The `body/recipient` parameter format depends on the `location` value:
456456
457457
## Related Skills
458458
459-
- `power-automate-mcp` — Core connection setup and tool reference
460-
- `power-automate-debug` — Debug failing flows after deployment
459+
- `flowstudio-power-automate-mcp` — Core connection setup and tool reference
460+
- `flowstudio-power-automate-debug` — Debug failing flows after deployment

skills/flowstudio-power-automate-build/references/action-patterns-core.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ Date today: @utcNow()
467467
Formatted date: @formatDateTime(utcNow(), 'dd/MM/yyyy')
468468
Add days: @addDays(utcNow(), 7)
469469
Array length: @length(variables('myArray'))
470-
Filter array: @array(filter(outputs('Get_Items')?['body/value'], item => equals(item?['Status'], 'Active')))
470+
Filter array: Use the "Filter array" action (no inline filter expression exists in PA)
471471
Union (new wins): @union(body('New_Data'), outputs('Old_Data'))
472472
Sort: @sort(variables('myArray'), 'Date')
473473
Unix timestamp → date: @formatDateTime(addseconds('1970-1-1', triggerBody()?['created']), 'yyyy-MM-dd')

skills/flowstudio-power-automate-build/references/action-patterns-data.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
Array operations, HTTP calls, parsing, and data transformation patterns.
44

55
> All examples assume `"runAfter"` is set appropriately.
6-
> Replace `<connectionName>` with the GUID from `connectionReferences`.
6+
> `<connectionName>` is the **key** in `connectionReferences` (e.g. `shared_sharepointonline`), not the GUID.
7+
> The GUID goes in the map value's `connectionName` property.
78
89
---
910

skills/flowstudio-power-automate-debug/SKILL.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A step-by-step diagnostic process for investigating failing Power Automate
1515
cloud flows through the FlowStudio MCP server.
1616

1717
**Prerequisite**: A FlowStudio MCP server must be reachable with a valid JWT.
18-
See the `power-automate-mcp` skill for connection setup.
18+
See the `flowstudio-power-automate-mcp` skill for connection setup.
1919
Subscribe at https://mcp.flowstudio.app
2020

2121
---
@@ -183,12 +183,13 @@ For each action **leading up to** the failure, inspect its runtime output:
183183

184184
```python
185185
for action_name in ["Compose_WeekEnd", "HTTP_Get_Data", "Parse_JSON"]:
186-
out = mcp("get_live_flow_run_action_outputs",
186+
result = mcp("get_live_flow_run_action_outputs",
187187
environmentName=ENV,
188188
flowName=FLOW_ID,
189189
runName=RUN_ID,
190190
actionName=action_name)
191-
# Check status + outputs
191+
# Returns an array — single-element when actionName is provided
192+
out = result[0] if result else {}
192193
print(action_name, out.get("status"))
193194
print(json.dumps(out.get("outputs", {}), indent=2)[:500])
194195
```
@@ -209,8 +210,13 @@ If the error mentions `InvalidTemplate` or a function name:
209210
```python
210211
# Example: action uses split(item()?['Name'], ' ')
211212
# → null Name in the source data
212-
outputs = mcp("get_live_flow_run_action_outputs", ..., actionName="Compose_Names")
213-
names = outputs["outputs"]["body"] # check for nulls in the body array
213+
result = mcp("get_live_flow_run_action_outputs", ..., actionName="Compose_Names")
214+
# Returns a single-element array; index [0] to get the action object
215+
if not result:
216+
print("No outputs returned for Compose_Names")
217+
names = []
218+
else:
219+
names = result[0].get("outputs", {}).get("body") or []
214220
nulls = [x for x in names if x.get("Name") is None]
215221
print(f"{len(nulls)} records with null Name")
216222
```
@@ -312,5 +318,5 @@ print(f"Status: {result['status']}, Body: {result.get('body')}")
312318

313319
## Related Skills
314320

315-
- `power-automate-mcp` — Core connection setup and operation reference
316-
- `power-automate-build` — Build and deploy new flows
321+
- `flowstudio-power-automate-mcp` — Core connection setup and operation reference
322+
- `flowstudio-power-automate-build` — Build and deploy new flows

0 commit comments

Comments
 (0)