analyze-performance · microsoft, process-intelligence — скилл для Claude Code: обзор и установка
Скилл analyze-performance помогает находить узкие места, задержки передачи задач и оценивать совокупную нагрузку на шагах бизнес-процессов в Power Platform.
MIT ★ 1 167 обновлён 2026-10-29
/plugin marketplace add microsoft/power-platform-skills
/plugin install process-intelligence@power-platform-skillsЧто делает analyze-performance
Скилл задаёт строгий алгоритм разбора производительности процессов. Вместо хаотичных запросов агент сначала запрашивает среднюю длительность шагов через get_bottleneck_analysis_v2, а при необходимости оценивает суммарное время через get_attribute_statistics. Для детального поиска задержек на стыках операций подключаются вызовы get_edges_with_metrics_v2 и выборки кейсов с максимальным временем ожидания.
В правилах заложены чёткие аналитические границы: среднее время шага, умноженное на число кейсов, не равно общей нагрузке, а фильтры по событиям сохраняют кейсы целиком. Локальная сортировка рёбер графа на одной странице не даёт глобального рейтинга — агент обязан добирать страницы до полного покрытия перед ранжированием.
Какие задачи решает
- найти самые медленные операции по средней длительности
- рассчитать совокупную длительность шагов процесса
- выявить задержки при передаче задач между этапами
- отобрать кейсы с наибольшим временем ожидания
Примеры запросов агенту
- Найди пять самых медленных операций в процессе и покажи их среднее время
- Оцени суммарную нагрузку по шагам и выдели этапы с максимальным TotalDuration
- Проверь задержки передачи задач между этапами через get_edges_with_metrics_v2
Как установить analyze-performance
1Через маркетплейс плагинов
/plugin marketplace add microsoft/power-platform-skills/plugin install process-intelligence@power-platform-skillsКоманда ставит плагин process-intelligence целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add microsoft/power-platform-skills --skill analyze-performance -a claude-code3Вручную: положить файлы
~/.claude/skills/analyze-performance/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/analyze-performance/
1Через Skills CLI (Vercel)
npx skills add microsoft/power-platform-skills --skill analyze-performance -a codex2Вручную: положить файлы
.agents/skills/analyze-performance/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add microsoft/power-platform-skills --skill analyze-performance -a cursor2Вручную: положить файлы
.cursor/skills/analyze-performance/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install microsoft/power-platform-skills plugins/process-intelligence/skills/analyze-performance2Вручную: положить файлы
.github/skills/analyze-performance/SKILL.md1Через Skills CLI (Vercel)
npx skills add microsoft/power-platform-skills --skill analyze-performance -a gemini-cli2Командой платформы
gemini skills install https://github.com/microsoft/power-platform-skills --path plugins/process-intelligence/skills/analyze-performanceВручную: положить файлы
.devin/skills/analyze-performance/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об analyze-performance
Как установить analyze-performance в Claude Code?
Добавьте каталог командой /plugin marketplace add microsoft/power-platform-skills, затем выполните /plugin install process-intelligence@power-platform-skills.
Что делает скилл analyze-performance?
Он инструктирует Claude Code, какими вызовами API запрашивать метрики длительности операций, как различать среднее и суммарное время и как правильно интерпретировать узкие места в процессах.
Почему скилл не перемножает среднее время на число кейсов?
Кейсы не равны числу повторений конкретного события, поэтому такое перемножение искажает реальную нагрузку. Скилл требует брать метрику TotalDuration из get_attribute_statistics.
Исходный текст
SKILL.md · MIT
---
name: analyze-performance
description: Use when investigating slow activities, waiting, handoff duration, bottlenecks or cumulative activity workload.
allowed-tools: Read, AskUserQuestion
---
# Performance: averages are not total impact
Use the [shared contract](../../references/analysis-contract.md) and
[units/filter semantics](../../references/filters-and-units.md).
Reuse S, baseline F and metadata; do not request a baseline overview for an exact top-bottleneck question.
## Ordered recipe
Choose the smallest entry branch:
1. **Slow activities by mean:**
`get_bottleneck_analysis_v2 {S,itemsPerPage:5,itemsToSkip:0,mcpFilterOptions:F}`.
Omit absent F. `Duration` is **average activity duration**, already ranked descending.
Do not pass `attributeName`, `metrics`, `aggregation` or `limit`.
2. **Cumulative activity duration:** skip step 1 if this alone was requested.
From metadata take the exact Activity import attribute A; never assume its name is "Activity".
If advertised, call
`get_attribute_statistics {S,attributeName:A,filterOptions:F,itemsPerPage:5,itemsToSkip:0,metricToSortBy:"TotalDuration",sortOrder:"Descending"}`.
There is **no `_v2` suffix**. For an event-level Activity, TotalDuration sums matching
events; AvgDuration is their mean. Keep EventFrequency and CaseFrequency distinct.
RelativeCaseFrequency is a ratio; overlapping activity groups' case counts are not additive.
3. Only for unresolved evidence, choose a targeted drilldown:
`get_edges_with_metrics_v2 {S,filterOptions:F,itemsPerPage:20,itemsToSkip:0}` for handoffs,
or `get_cases_with_metrics_v2 {S,filterOptions:F,itemsPerPage:5,itemsToSkip:0,metricToSortBy:"WaitingTime",sortOrder:"Descending"}`.
Reuse earlier compatible results. Continue relevant drilldowns/pages without fixed call or
total-row ceilings; each query must resolve missing evidence, not repeat an answered question.
## Boundaries and stopping
Missing statistics: report the cumulative-measure gap, optionally average-only bottleneck evidence.
Never derive population totals from top-five averages or call a hidden statistics tool.
Edges expose no sort input: local ranking of one incomplete page is **page-local**, not global.
Report the native edge Duration mean; do not relabel it as an independently established waiting metric.
For a requested global edge ranking, retrieve necessary pages to complete coverage before ranking;
if coverage is incomplete, explicitly leave the global result unresolved.
Event/attribute filters retain whole cases, not just matching events.
Check timestamp imports before interpreting utilization: zero-duration conventions with
start-only data can produce nonzero ratios without measured active work. Keep raw values
and use same-scope cohort evidence; see the unit reference.
Stop once answered or evidence/capability is exhausted. Show at most five headline rows with separate
mean, total and frequency columns only when returned, scope/units and coverage.
High duration is an investigation lead, not proof of cause or a guaranteed time saving.
Mean activity duration times process case count is not total workload: cases are not activity
occurrences. Even known workload is not an intervention's removable delay.
Use the [investigation method](../../references/investigation-method.md) to label observations
and tested findings, retain counterevidence and identify a discriminating next check.
© Microsoft · MIT · microsoft/power-platform-skills
Похожие скиллы
Все скиллы по теме «Данные и базы» →Сначала — analyze-performance от других авторов.