viva-insights-process-analysis
Analyse collaboration around a named business process, such as an annual audit, financial close, planning cycle or review programme, using Viva Insights Meeting Query and optional purpose-specific Person Query exports. Use when defining which process meetings count, reviewing title/date rules, comparing matched cycles, explaining changes in volume or meeting format, or refreshing a process report. Owns scope discovery, approved reporting, reconciliation and descriptive interpretation. Do not trigger for Purview audit-log parsing, compliance certification, event-log process mining, generic Copilot dashboards or an unrelated software audit.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 15
- Forks
- 2
01 前言 Front Matter
- name
- viva-insights-process-analysis
- metadata
- { "version": "1.0.0" }
- description
- Analyse collaboration around a named business process, such as an annual audit, financial close, planning cycle or review programme, using Viva Insights Meeting Query and optional purpose-specific Person Query exports. Use when defining which process meetings count, reviewing title/date rules, comparing matched cycles, explaining changes in volume or meeting format, or refreshing a process report. Owns scope discovery, approved reporting, reconciliation and descriptive interpretation. Do not trigger for Purview audit-log parsing, compliance certification, event-log process mining, generic Copilot dashboards or an unrelated software audit.
02 资源文件 10
- 资产文件examples/fixtures/synthetic-audit-cases.csv1.3 KB
- 参考文档examples/fixtures/synthetic-audit-policy.json509 B
- 参考文档examples/README.md2.2 KB
- 其他examples/run_classifier.R2.4 KB
- 脚本examples/run_example.py7.2 KB
- 脚本examples/test_examples.py3.5 KB
- 参考文档reference/comparisons.md4.6 KB
- 参考文档reference/evaluation.md3.9 KB
- 参考文档reference/review-and-precedence.md3.4 KB
- 参考文档reference/scope-contract.md3.6 KB
03 SKILL.md 正文
Collaboration around a business process
Help the analyst establish what qualifies, how much collaboration is observed, where it is organised and how comparable periods differ. Meeting titles are proxies for process activity. They do not prove process completion, quality, ownership or intervention impact.
This is an agent-guided local R/Python workflow. The bundled Python rehearsal and R classifier checks use fabricated audit events. They are not universal real-export adapters, a process-mining engine or an inference/report renderer.
Shared contracts and installation
Install alongside viva-insights-analysis from the same repository revision.
Read its analysis policy,
Meeting Query reference,
analysis conventions
and report verification.
Use its package discovery and installed-API checks for imports and analysis.
Read the workflow support
before claiming a maintained execution path.
If paired files are unavailable, ask for the installed core folder or a local sample-code checkout. Stop the affected execution if neither is supplied. Do not silently substitute personal skills or private services. No telemetry, credentials or live-product connector is required. Do not install dependencies, download data or publish files without the user's approval.
1. Agree the question and reporting contract
Recover supplied decisions before asking for the process definition, audience, R/Python preference, local inputs, output location, scope approver and comparison. Distinguish descriptive footprint/monitoring from an intervention-effect question. Record unknown intervention dates or participation without blocking a useful descriptive assessment.
Read scope contract. Record source fingerprints, query purpose/configuration, grain, fields/units, population, dates, cycle-year labels, coverage evidence, organisational lens, privacy and optional event-base rules. Keep raw coverage, complete months, complete weeks and process phases distinct. A filename or latest event is not completeness evidence.
Output: a short contract, open questions and readiness per requested result. Confirm material scope and comparison choices before publishing headline totals.
2. Explore scope, then freeze an approved definition
Read scope contract and review and precedence. Apply the core's reviewed quality profile and shared exclusions before topical analysis, keeping raw exports unchanged. Inspect fields locally and keep sensitive subjects/identifiers out of prompts and shared examples.
Create separate candidate and approved flags. Review positive, negative and borderline examples across years, languages, periods and organisational cuts. Make keywords, aliases, supported year codes, exclusions and annual gates explicit. Do not assume a generic word has the same business meaning everywhere. Verify Unicode/word-boundary behaviour in the actual R/Python regex backends.
Agree exact decision precedence. An occurrence-level decision never becomes a title-wide rule without approval. Preserve pending states and unmatched or ambiguous reviews. Never let a Keep bypass mandatory quality/date gates. Record whether a change applies retrospectively and show its membership impact.
Gate: unresolved scope permits diagnostics, not an approved process total. Retain an approved rule version and test worked examples before report building.
3. Build comparable analytical evidence
Read comparisons. Reconcile duplicate keys and source vintages under an explicitly approved policy. Use matched observed dates/phases across years. Compute each standalone category and an exact event-ID union, retaining intersections and outside-scope reconciliation privately.
Describe event count, attendee hours, hours per meeting, seasonality and supported format/behaviour measures. Use exported attendee hours. State the valid base and weighting for every metric. Separate count from time per event using the exact volume identity in the shared conventions.
Organisational fields in MQ describe the organiser's recorded reporting line. Report missing attribution, changed labels and unavailable comparisons. Do not infer attendee composition, headcount or a process owner from those fields. Apply the stricter organisational rule and a floor of 10 distinct people for this workflow. Verify the applicable person base; meeting counts and summed attendance cannot establish it. Apply any event-count stability threshold separately.
A purpose-specific PQ provides a separate employee-side lens with its own scope, window, eligibility and weighting. Do not sum it with MQ or assert that a custom process-hour metric implements the subject classifier. Joining needs a verified key, compatible definition and cardinality audit.
Output: reusable aggregate evidence, valid bases, coverage and reconciliations.
4. Challenge the conclusion
Separate source revision, scope revision, period changes and organisational composition from observed activity changes. Run agreed scope/window sensitivities. Show effect sizes and practical importance before significance labels.
If inference is requested, choose independent units, temporal dependence, test family and compatible methods first. Do not inherit a particular estimator, block width or significance threshold from the example. There is no bundled Meeting Query inferential engine.
For an intervention-effect request, require an identifying design and exposure
information. A supported Person Query exposure-outcome design belongs to
viva-insights-causal-analysis. A Meeting Query event-level design needs its
own inspected plan and implementation. Descriptive before/after differences,
fixed effects or significant tests alone do not establish impact.
5. Report, review and refresh
Use the shared report-verification workflow. Maintain a claim-level evidence ledger and concise commentary-led views, with visible dates, bases, denominator and caveats. Retain complete eligible supporting detail. Reconcile category overlaps and keep unavailable values distinct from observed zero.
Keep the analytical evidence fixed during editorial changes. Preserve manual edits when revising a publication, verify the candidate and source drift, remove only resolved comments, and publish only to the authorised target with rollback. When data/scope/windows change, rebuild dependent views and produce a reconciled bridge against the previous approved evidence.
References and rehearsal
| Read | When |
|---|---|
| Scope contract | Intake, readiness and discovery-to-approved reporting |
| Review and precedence | Keywords, review packs, exact decisions and rule changes |
| Comparisons | Matched cycles, denominators, organisational/PQ lenses and refreshes |
| Evaluation scenarios | Checking routing, safeguards and publication boundaries |
| Fabricated audit rehearsal | Exercising classification, reconciliation, privacy and partial periods locally |
Never transfer an engagement's aliases, dates, targets, exclusions, personal names or data into the public skill. The example's vocabulary and calendar are fictional choices that must not become defaults for another organisation.
04 同仓库更多 Skills
viva-insights-copilot-dashboards
Reproduce and customise the Viva Insights Consumption and Ways of Working or Developer Experience and Copilot reference dashboards with reusable R code. Use for building either demo, adapting Consumption or GitHub query exports into these dashboards, or changing their layout, grouping or periods. Do not use for general Person Query analysis, unrelated dashboards, direct GitHub API analytics, or causal impact estimation.
viva-insights-causal-analysis
Assess and analyse exposure-outcome relationships in Viva Insights Person Query exports using design-first panel diagnostics. Use when an analyst asks whether a workplace behaviour, Copilot metric or intervention affects another metric or a supplied organisational outcome, or requests within-person, prior-outcome, placebo or sensitivity comparisons. Verify actual outcome measurement frequency before using repeated organisational attributes as panel outcomes. Supports R and Python guidance with bounded synthetic examples. Do not use for routine descriptive dashboards, prediction-only tasks, arbitrary metric-pair scans or pipeline validation. An explicit request for the existing Copilot Causal Toolkit follows that toolkit's workflow.
viva-insights-analysis
Analyze Microsoft Viva Insights data with the open-source vivainsights R and Python packages. Use this skill whenever working with Viva Insights query exports (Person Query, Meeting Query, Consumption query, GitHub query, person-to-person or group-to-group network queries) or the vivainsights packages: importing and validating a query, computing metrics, segmenting Copilot usage (including experimental usage archetypes), building the standard visualisations, running network or information-value analysis, building a common deliverable (adoption dashboard, executive summary memo, ROI estimate), and avoiding the well-known export data pitfalls (IsManager strings, "#N/A" text, non-English locales, privacy thresholds, trailing-window metric plateaus, holiday weeks). It also points to the viva-insights-sample-code repo and its Frontier Analytics toolkit for ready-made prompts, starter kits, and schema docs.