AGENT SKILL

流程变体分析

analyze-variants

用于调查常见或缓慢的流程变体、重复工作、异常路径,或特定的流程挖掘(Process Mining)案例。

适用职业数据分析师
License 许可
MIT
最近更新
2026-11-14
Stars
★ 1.1k
Forks
232

01 前言 Front Matter

name
analyze-variants
description
Use when investigating common or slow variants, repeated work, unusual paths, or a specific Process Mining case.
allowed-tools
Read, AskUserQuestion

03 SKILL.md 正文

Variants, rework and exact cases

Use the shared contract and filters/units. Choose the branch answering the question; do not run a variant overview before an exact-case or rework request.

Ordered traces

Common or slow variants

  1. get_variants_with_metrics_v2 {S,filterOptions:F,itemsPerPage:5,itemsToSkip:0,metricToSortBy:"CaseCount",sortOrder:"Descending"}.
  2. Only if mean-case slowness still needs comparison, repeat with metricToSortBy:"CaseDuration". If the first complete result already answers it, stop. CaseDuration is a mean; variant Duration is not its substitute.

Cases with repeated work

  1. Copy F, appending to caseMetricConditionFilters: {metric:"CaseReworkCount",comparisonOperator:"GreaterThan",values:[0],isInclusive:true}.
  2. get_cases_with_metrics_v2 {S,filterOptions:Fplus,itemsPerPage:5,itemsToSkip:0,metricToSortBy:"ReworkCount",sortOrder:"Descending"}. A native count suffices; no formula or saved metric is needed.
  3. Only for unresolved transition evidence: get_edges_with_metrics_v2 {S,filterOptions:Fplus,itemsPerPage:10,itemsToSkip:0}. No edge sort exists; mark incomplete evidence page-local.

A specific case

  1. Reuse details to identify the metadata-proven case-key attribute K and its type T. Bind the exact user/returned value X, e.g. synthetic "Demo-17".
  2. Append {attributeName:K,dataType:T,attributeValues:[X],isInclusive:true} to F's attributeValueFilters; call get_cases_with_metrics_v2 {S,filterOptions:Fcase,itemsPerPage:5,itemsToSkip:0}.
  3. An optional same-cohort bottleneck/edge query can summarize activities/handoffs. If no exposed key expresses the case, stop; do not scan all cases or invent caseId.

Guardrails

Continue relevant pages or drilldowns until the question is answered or evidence cannot discriminate; no fixed call/total-row quota or automatic repeated queries. Show at most five headline rows by default. Use filterOptions, itemsPerPage and itemsToSkip, not filters, metrics, limit or offset. No variantId filter exists. For a user-specified sequence use only discovered attribute values and the advertised sequence-filter schema; do not reconstruct unavailable variant Values. No event-timeline or conformance-check tool exists. Rework/variation alone proves neither event order nor a conformance violation. Retain scope, versions, metric units and partial coverage.

Activity occurrence is not full payment, successful dismissal, business closure or compliance. Check the business outcome definition and available attributes/measures; route missing measures to derive-metric, never infer success from an event name. Missing events or terminal-looking traces may be censored, ongoing, legitimately ended or incompletely recorded. Do not choose without closure, recording and observation-coverage evidence. Use the investigation method: distinguish observed presence/counts from tested outcomes; mark an unresolved outcome inconclusive and retain definition provenance, baseline/test filters, evidence references and the next discriminating check.

04 同仓库更多 Skills

microsoft
microsoft/power-platform-skills

compare-site-configurations

Compare Power Pages site configurations between two environments, such as dev, test and production, or between a local download and the live site, and explain which differences change site behavior. Use when a site works in one environment but not another (for example, works in dev but fails in test), to check configuration drift before promoting or deploying, or to see what changed between two sites. Produces a shareable HTML report and a JSON file that VS Code can import.

★ 1.1k
microsoft
microsoft/power-platform-skills

Process Intelligence 配置与登录

setup

当 Process Intelligence 需要搭建、显式的云/账户/环境配置、登录、连接诊断,或从认证错误中恢复时使用。

SRE 工程师开发环境与工具链管理
★ 1.1k
microsoft
microsoft/power-platform-skills

流程智能问题报告撰写

report-issue

当用户需要针对失败操作起草流程智能(Process Intelligence)缺陷报告或支持摘要时使用。

数据分析师调试与故障排查
★ 1.1k
microsoft
microsoft/power-platform-skills

流程挖掘问题调查

investigate-process

当需要从多个分析视角调查宽泛的流程挖掘(Process Mining)业务问题、观察到的模式或相互竞争的解释时使用。

数据分析师数据分析与报告
★ 1.1k
microsoft
microsoft/power-platform-skills

派生指标计算

derive-metric

当所需的度量指标缺失、需要复用已保存的自定义指标,或需要临时公式或派生标量时使用。

数据分析师数据分析与报告
★ 1.1k
microsoft
microsoft/power-platform-skills

流程队列对比分析

compare-cohorts

用于在统一的定义下比较流程队列(cohort)、部门、时间段或前后结果。

数据分析师数据分析与报告
★ 1.1k