Agent skill · Audited from source
Macios Ci Postmortem
skill · dotnet/maciosNOASSERTION licenceAudited 7 Oct 2026 · source bed039ebfded
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit bed039ebfded and found no filesystem, network or shell access and no hard-coded secrets. What it does: Post-mortem analysis of CI failures across recent PRs in dotnet/macios. Identifies flaky tests, infrastructure issues, and shared regressions by analyzing builds from the last week. Files or updates GitHub issues for…
Cite
Cite this page
ModelsAtlas. “Macios Ci Postmortem (dotnet/macios)”. Retrieved 7 Oct 2026. https://modelsatlas.com/skills/dotnet/macios-ci-postmortem
Trust audit
Audit 0.4.1 · source read 7 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 1 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (1)
LOWPrompt injectionprompt.credential_read · tools/scripts/License.txt:32
SECTION II: XAMARIN STUDIO ENTERPRISE AND XAMARIN STUDIO PROFESSIONAL: When you acquire an active and valid subscription for either Microsoft Visual Studio Enterprise or Microsoft Visual Studio Profes
- Why
- asks the agent to read credentials
- Fix
- —
Audit 0.4.1 · source sha bed039ebfded · 7 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherdotnet GitHub organizationOwner of the repository this skill is read from
- Source folderdotnet/macios/.agents/skills/macios-ci-postmortemThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdictbed039ebfdedA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Post-mortem analysis of CI failures across recent PRs in dotnet/macios. Identifies flaky tests, infrastructure issues, and shared regressions by analyzing builds from the last week. Files or updates GitHub issues for…
---
name: macios-ci-postmortem
description: Post-mortem analysis of CI failures across recent PRs in dotnet/macios. Identifies flaky tests, infrastructure issues, and shared regressions by analyzing builds from the last week. Files or updates GitHub issues for failures unrelated to any specific PR. Use when asked to "find flaky tests", "CI post-mortem", "what's been failing in CI", or "file issues for flaky failures".
---
# macios CI Post-Mortem
Analyze CI failures across recent PRs to identify flaky tests, infrastructure issues, and shared regressions that are not caused by any specific PR. File or update GitHub issues for these.
## References
Read these as needed during investigation:
- `references/azure-devops-cli.md` — az CLI commands, artifact naming conventions, and JSON parsing caveats.
## Overview
This skill operates in four phases:
1. **Discovery** — collect all recent PR-validation builds from AzDO
2. **Extraction** — for failed builds, extract normalized failure records
3. **Classification** — categorize failures as flaky, infrastructure, shared regression, or PR-specific
4. **Issue Actions** — propose GitHub issues, get user confirmation, then file/update
## Phase 1: Discovery — Collect Recent Builds
**Start from builds, not PRs.** This is faster, gives access to commit SHAs for rerun detection, and captures builds for PRs that may already be closed.
### Step 1.1: List recent PR-validation builds
Use the `az` CLI to get builds from the last 7 days. The macios CI runs on `devdiv.visualstudio.com/DevDiv`.
```bash
# Get the date 7 days ago in ISO format
SINCE=$(python3 -c "from datetime import datetime, timedelta; print((datetime.utcnow() - timedelta(days=7)).strftime('%Y-%m-%dT%H:%M:%SZ'))")
# List recent builds for the PR pipeline
az pipelines build list \
--org https://devdiv.visualstudio.com \
--project DevDiv \
--reason pullRequest \
--result failed \
--top 200 \
-o json > /tmp/postmortem_builds.json
```
Also fetch partially succeeded builds (these contain test failures):
```bash
az pipelines build list \
--org https://devdiv.visualstudio.com \
--project DevDiv \
--reason pullRequest \
--result partiallySucceeded \
--top 200 \
-o json > /tmp/postmortem_builds_partial.json
```
### Step 1.2: Parse and filter builds
```python
import json
from datetime import datetime, timedelta, timezone
since = datetime.now(timezone.utc) - timedelta(days=7)
def load_builds(path):
with open(path) as f:
content = f.read()
return json.JSONDecoder().raw_decode(content)[0]
builds = load_builds('/tmp/postmortem_builds.json') + load_builds('/tmp/postmortem_builds_partial.json')
# Filter to last 7 days and macios pipelines
recent = []
for b in builds:
finish = b.get('finishTime', '')
if not finish:
continue
ft = datetime.fromisoformat(finish.replace('Z', '+00:00'))
if ft < since:
continue
# Only include macios pipelines
defn = b.get('definition', {}).get('name', '')
if 'macios' not in defn.lower() and 'xamarin-macios' not in defn.lower():
continue
recent.append({
'id': b['id'],
'result': b['result'],
'pr': b.get('triggerInfo', {}).get('pr.number', ''),
'sourceBranch': b.get('sourceBranch', ''),
'sourceVersion': b.get('sourceVersion', ''), # commit SHA — critical for rerun detection
'pipeline': defn,
'finishTime': finish,
})
print(f"Found {len(recent)} builds from {len(set(b['pr'] for b in recent if b['pr']))} PRs")
```
### Step 1.3: Group builds for rerun detection
Group by `(pr, pipeline, sourceVersion)`. Multiple builds with the same commit SHA for the same PR/pipeline are reruns.
```python
from collections import defaultdict
# Group: (pr, pipeline, commitSHA) -> [builds]
groups = defaultdict(list)
for b in recent:
key = (b['pr'], b['pipeline'], b['sourceVersion'])
groups[key].append(b)
# Also group by just (pr, pipeline) to see if new commits fixed things
pr_pipeline = defaultdict(list)
for b in recent:
key = (b['pr'], b['pipeline'])
pr_pipeline[key].append(b)
```
## Phase 2: Extraction — Get Failure Details
For each failed/partiallySucceeded build, extract failure information. Use a SQL database to track failures across builds.
### Step 2.1: Set up failure tracking
```sql
CREATE TABLE IF NOT EXISTS ci_failures (
id INTEGER PRIMARY KEY AUTOINCREMENT,
build_id INTEGER,
pr TEXT,
pipeline TEXT,
commit_sha TEXT,
finish_time TEXT,
job_name TEXT,
failure_type TEXT, -- 'TestFailure', 'BuildFailure', 'TimedOut', 'Crashed', 'Infrastructure'
test_fullname TEXT, -- e.g. 'MonoTouchFixtures.SomeTest.TestMethod'
platform TEXT, -- e.g. 'ios', 'tvos', 'macos', 'maccatalyst'
config TEXT, -- e.g. 'Debug (ARM64)', 'Release (x64)'
error_signature TEXT, -- normalized error message / top stack frame
raw_message TEXT
);
```
### Step 2.2: For each build, get the timeline and TestSummary artifacts
Only process builds with failures. For efficiency, first check the timeline for failed jobs, then only download artifacts for those jobs.
```bash
# Get timeline
az devops invoke --area build --resource timeline \
--route-parameters project=DevDiv buildId=<buildId> \
--org https://devdiv.visualstudio.com -o json > /tmp/timeline_<buildId>.json
```
Parse the timeline to find failed jobs:
```python
import json
with open(f'/tmp/timeline_{build_id}.json') as f:
data = json.JSONDecoder().raw_decode(f.read())[0]
failed_jobs = []
for r in data.get('records', []):
if r.get('type') == 'Job' and r.get('result') == 'failed':
failed_jobs.append({
'name': r['name'],
'id': r['id'],
'logId': r.get('log', {}).get('id'),
})
```
### Step 2.3: Download TestSummary artifacts (fast triage)
TestSummary artifacts are small and quick to download. Use them first to identify which jobs failed:
```bash
artiExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit bed039e
git clone https://github.com/dotnet/macios git -C macios checkout bed039ebfded
The author documents no install command, so this uses the repository directly. Our verdict covers commit bed039ebfded only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| GitHub Copilot | Mentioned in its text, not tested | Skills for GitHub Copilot · About GitHub Copilot |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
bed039ebfded
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/dotnet/macios-ci-postmortem/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review skills →dotnet/macios
Investigate and fix flaky/random CI test failures in dotnet/macios. Trigger on GitHub issues describing intermittent test failures, CI postmortem issues, or when asked to fix a flaky test. Analyzes test code, identifies…
dotnet/macios
Create C# bindings for Apple frameworks in dotnet/macios. USE FOR: binding new APIs, implementing .todo file entries, creating Xcode SDK bindings, binding AVFoundation/UIKit/AppKit or any Apple framework, "bind this…
dotnet/macios
Investigate and triage CI failures for dotnet/macios from Azure DevOps build URLs. Use this skill whenever the user shares a DevOps build link, asks about CI failures, wants to understand why a build failed, or asks to…
dotnet/macios
.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
dotnet/macios
Update dotnet/macios to a new Xcode beta and validate it end-to-end. Use this skill when a user asks to bump Xcode beta versions, update macios SDK/version constants, run xtro-sharpie sanitization, and run introspection…
dotnet/macios
Download updated expected app size files from Azure DevOps CI artifacts for the current branch. Use when app size tests fail in CI and the user wants to update the expected files locally. Trigger on "update app size",…
Add this badge to your README
[](https://modelsatlas.com/skills/dotnet/macios-ci-postmortem/)
<a href="https://modelsatlas.com/skills/dotnet/macios-ci-postmortem/"><img src="https://modelsatlas.com/skills/dotnet/macios-ci-postmortem/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Macios Ci Postmortem
What does the Macios Ci Postmortem skill do?
Is Macios Ci Postmortem safe to install?
What can Macios Ci Postmortem access on my machine?
Which assistants does Macios Ci Postmortem work with?
How current is this page?
Sources
- github.com/dotnet/macios/tree/main/.agents/skills/macios-ci-post — the audited source at commit bed039ebfded and every finding aboveObserved · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Macios Ci Postmortem skill do?
- Is Macios Ci Postmortem safe to install?
- What can Macios Ci Postmortem access on my machine?