wayfinder
MAmattpocock/skills336k5,004 new stars in the last 7 days
Creates, renames and deletes Microsoft Fabric Plan items. Reads and validates saved Microsoft Fabric Plan definitions. Summarizes or narrates Plan visuals from supplied values or a host visual-read tool, as prose or raw JSON. Load before calling any Plan visual-read tool, even for partial or failed reads. Never writes a narrative back. For Power BI report or semantic-model data use fabriciq; for report visuals use powerbi-report-cli.
Telemetry — MANDATORY. Every
api.fabric.microsoft.comcall must carryx-ms-fabric-skill: plan-cli(az rest:--headers "x-ms-fabric-skill=plan-cli"), including every LRO poll,fabric_lroand retry. Snippets omit it — add it anyway.
Create, rename and delete Plan items; read saved Plan definitions; and narrate supplied or completed, authorized visual data for Planning and Intelligence. Authoring creates, renames and deletes Plan items only -- it never edits sheets, visuals, definitions, narratives or editor state. Saving a narrative, visual data or a definition change remains unsupported in every mode.
Apply this skill before using a registered reader for a Plan summary, including partial or failed results. A tool schema describes retrieval, not the complete evidence and answer contract.
| Mode | Request | Guidance |
|---|---|---|
authoring | Create, rename/re-describe, or delete a Plan item | references/authoring.md |
consumption | Read a Plan definition or inspect saved configuration | Read Plan definitions |
consumption | Narrate supplied values or authorized visual read results | Narrative summaries |
consumption issues only read-only calls (Get Definition and whatever a
registered host reader documents). Any state-changing call -- Create, Update
or Delete of the Plan item -- requires authoring mode: say so, read
references/authoring.md, then proceed. A narrative
or definition-read request never becomes a write, and an authoring request
never edits a definition, sheet or visual.
If the mode is ambiguous after reading this table, ask one short clarifying question (the exact workspace and Plan, or the target and intended change) instead of guessing.
Reading the reference and composing a request body is NOT completing the task. Authoring ends with exactly one state-changing call for the requested change.
| Mode | Terminal write |
|---|---|
authoring | The POST .../plans, PATCH .../plans/{id} or DELETE .../plans/{id} for the requested change, confirmed by a readback. |
consumption | None -- this mode is read-only. |
Create may return 202 Accepted (LRO): capture the operation id and poll the
public host until Succeeded before reporting success. An acknowledgement is
not completion.
scripts/plan_definition.py,
not a read of its source, not a base64 decode. Read short payloads directly
(e30= is {}); a repeated part path is visible in the part list itself.
If an export path is supplied, decode it once with the bundled helper, using
the supplied path as EXPORT_PATH, with no redirection or fallback commands.
A relative path is relative to the current working directory: pass it exactly
as given, without first checking for it or searching (find, ls, glob):python3 skills/plan-cli/scripts/plan_definition.py "$EXPORT_PATH"
skills/plan-cli/ is this skill's own folder -- the directory that contains
this SKILL.md; use that absolute path and never search for the script. It
validates every part and prints the Plan name, its semantic model binding,
its sheets and visuals, and the sorted part paths. A direct read of the export file is also fine. Do not authenticate,
refetch, run existence probes or search with find/globbing. If missing,
report that path and stop. Answer from that output: do not invent a second
extraction command or pipeline (for example
cat <path> | jq '[.definition.parts[].path] | sort') to list paths or verify
the answer. If the output is incomplete or the script reports an error, report
it instead of improvising commands. Write the answer yourself; do not print it
with another command (jq -n, echo).
2. Otherwise confirm the exact workspace, Plan and environment using
COMMON-CORE.md and
COMMON-CLI.md; clarify ambiguity and delegate auth
to shared guidance. Any Fabric portal link for a Plan uses the public origin
https://api.fabric.microsoft.com. Do not ask for another origin. Get
Definition requires
read/write permissions and Item.ReadWrite.All despite being a read workflow.
3. Send POST /v1/workspaces/{workspaceId}/plans/{planId}/getDefinition with {}
exactly once, with the shared fabric_lro helper in COMMON-CLI.md or another
client that shows the 202 headers. Do not use az rest for this POST: it prints
nothing for a 202, so the operation ID is lost. Never
send a second Get Definition for the same Plan while one is running: overlapping
calls leave both operations stuck in Running. Poll the first call's operation.
Accept a complete 200 response or finish a 202 using the shared LRO pattern.
Prefer x-ms-operation-id, construct status/result paths on the initiating
host, reject conflicting identities and honor Retry-After. Never forward
credentials across hosts or redirects. Acknowledgement is not completion.
4. Follow HTTP JSON handling. Decode compression once,
then strict UTF-8/JSON and each InlineBase64 part. Already decompressed
curl --compressed output needs no second gzip pass. Reject duplicate paths,
unsupported payload types, malformed parts and missing definition.json;
never merge invalid parts or replay a request to repair local parsing.
5. Inspect saved sheets, visuals, sources and properties using
Consumption, Entities
and Sheet properties. Report export gaps;
reuse decoded parts for unchanged follow-ups.
Definitions and $schema URLs describe configuration and validation contracts,
not measured values, unsaved selection or freshness. Standalone HTTP/header
diagnostics are outside this skill; safe decoding/LRO handling supports reads only.
Read Visual narrative, Data fetcher and Visual narrative answer format before acting.
Honor the user's format throughout the conversation, including errors and follow-ups.
Capture the requested answer format before any tool call, including definition reads and validation. For JSON-only requests, make tool calls without assistant commentary: no "I'll fetch", tool announcement, interim finding or pagination update before or between calls. A sentence such as "Now calling the host visual read tool silently" or "Now reading the visual data silently" is itself the forbidden announcement -- declaring the call will be silent is not the same as making it silently. Emit only the final raw JSON object after the read outcome is known. Apply the same rule to errors, partial results and follow-ups.
| Requested answer | Required output |
|---|---|
| JSON only | One raw JSON object only. Reply must start with { and end with }. Never use Markdown code fences (no json, no ). No headings, preamble, progress prose or trailing note. The entire response must be parseable by json.loads. |
| Prose narrative | Plain-text opening that names the visual and adds no total, sum or other figure that was not supplied; then concise findings, with each category name and its value in separate bold spans in later paragraphs or requested bullets. State each figure once: no unrequested table, bullet recap or closing summary, and no remark on whether figures add up. |
| Unsupported write (narrative, visual data, definition or editor state) | Brief refusal in the requested format that uses the words "read-only", with the supplied narrative when applicable -- for example "I can't save this narrative to the Plan item: narratives and visual data are read-only in this skill. Here is the summary again:" followed by the narrative. Do not say where or how else it could be saved or edited (no editor, portal, tool or "normal editing surface"). Authoring mode does not change this -- it writes only the Plan item's displayName/description, or creates/deletes the item. |
Before sending prose, silently check each requested category paragraph against
the format: when both the name and value must be bold, enclose each in its own
**...** span, including the value's currency symbol, sign and separators.
Bolding only the name or only the value is incomplete. Keep the requested
plain-text opening unformatted: no bold or label prefix, not even the Plan,
sheet or visual name. Make this check on the draft itself, without another
tool call. For example, for supplied values East $50 and West $30:
Quarterly Revenue on the Summary sheet covers two regions.
**East** reported **$50**.
**West** reported **$30**.
For a requested values map, use null when evidence is unavailable because the
read failed, was cancelled or is still running. An empty map represents only a
completed, successful empty result. Preserve the actual outcome and coverage;
do not replace failure with success or populate values from another request.
A requested freshness field is "unknown" unless the evidence states a refresh
time; do not describe the source in that field.
Wrong: json { "source": "…" }
Right: { "source": "…" }
| Intent | Permitted operation |
|---|---|
| Create, rename or delete a Plan item | authoring mode: public Create/Update/Delete Plan, with LRO handling on create and a readback |
| Read a supplied definition | Local read and decoding only |
| Read a saved Plan definition | Public Get Definition and validated LRO polling/result retrieval if needed |
| Narrate visual values | Supplied/completed authorized evidence; optional registered host reads only when current values are missing |
| Save a narrative, visual data, sheet, visual or definition change | None; unsupported in every mode |
| Task | Reference |
|---|---|
| Create, rename or delete a Plan item | Authoring |
| Distinguish saved configuration from narrative evidence | Consumption |
| Decode and map returned definition parts | Entities |
| Decode Get Definition HTTP bodies during definition retrieval | HTTP JSON handling |
| Interpret saved sheet and visual configuration | Sheet properties |
| Establish narrative input and evidence scope | Visual narrative |
| Use optional registered reads when data is missing | Data fetcher |
| Interpret evidence and format the summary | Visual narrative answer format |
| Fabric CLI authentication, item discovery, and LRO mechanics | COMMON-CLI.md |
| Fabric concepts and control-plane behavior | COMMON-CORE.md |
| Request | Path |
|---|---|
| "Create a Plan named Budget 2027 in the Finance workspace." | Apply authoring mode: resolve the workspace, preflight the name, create, handle LRO if 202, readback. |
| "Delete the Budget 2026 Plan." | Apply authoring mode: resolve the exact item, echo displayName + id (the request already confirms), delete, readback. |
| "Read this Plan definition and list its sheets." | Inspect the supplied export locally; otherwise retrieve the confirmed Plan's definition. |
| "Narrate the Regional Sales visual in Intelligence." | Use its supplied/authorized evidence; ask for missing context or follow an available host read contract. |
| "Summarize the current Regional Sales visual on the Intelligence sheet." | Apply this skill first. Call an available host visual-read tool with no text before or between calls, then reply only in the requested format. Without a reader, ask for the data or report the missing reader. |
| "Save that summary back to the Plan." | Return the narrative here and refuse the unsupported write. |
authoring mode, to the exact resolved workspace and Plan, with a
readback confirming the change. Confirm destructive or identity-bearing actions
per references/authoring.md's pre-mutation gate.https://api.fabric.microsoft.com for every Plan link.x-ms-operation-id and same-host status/result paths over a cluster Location.?updateMetadata=true or any other undocumented query parameter
to a Plan item route.MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days