Ios runtime forensics workflow
Skill gaelic-ghost/socket/plugins/apple-dev-skills/skills/ios-runtime-forensics-workflow
Capture and interpret reproducible iOS Simulator performance and memory evidence. Use when an iOS issue needs ETTrace/symbolication, a memgraph, leak ownership traces, or before/after runtime proof rather than a code-only guess.From its SKILL.md
npx -y skills add gaelic-ghost/socket --skill ios-runtime-forensics-workflowAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.7 KB, 731 tokens by cl100k_base, as published. Nobody here has run it
iOS Runtime Forensics Workflow
Purpose
Provide two explicit evidence modes for a reproducible iOS Simulator issue: performance-trace for focused ETTrace/symbolicated latency or CPU work, and memory-graph for retained-object and leak ownership analysis. This skill owns evidence shape, not normal app build, launch, or UI driving.
When To Use
- Use
performance-tracefor launch/runtime latency, CPU-heavy stacks, or comparison traces. - Use
memory-graphfor leaks, retain cycles, memory growth, or objects that should release after a known interaction. - Route simulator discovery, build, install, launch, logs, screenshots, and UI driving to
xcode-build-run-workflow.
Single-Path Workflow
- Apply the Apple docs gate through
explore-apple-swift-docs. Confirm the current Xcode/Simulator evidence mechanism before acting. - Define one reproduction, start/stop boundary, target app build, simulator UDID, OS, Xcode version, and expected release or latency behavior.
- Select exactly one mode:
performance-traceormemory-graph. Do not mix CPU and ownership conclusions in one unsupported capture. - For
performance-trace, readreferences/performance-trace-evidence.md, capture a focused trace with matching symbols, and identify hot stacks only after symbolication. - For
memory-graph, readreferences/memory-graph-evidence.md, drive the release-producing flow, capture a memgraph, inspect app-owned retained types, and follow ownership evidence to the retaining path. - Make the smallest root-cause change, then recapture the same flow on the same simulator where practical.
- Report the exact capture boundary, tool/version context, what the artifact proves, what it does not prove, and the before/after delta.
Inputs
- reproducible simulator flow, target app/scheme, simulator UDID, and build configuration
- expected release/lifetime or performance boundary
- mode:
performance-traceormemory-graph - existing trace, memgraph, logs, screenshots, or symbol files when available
Outputs
- capture plan or artifact evidence with its scope and limitations
- app-owned hot stack or retaining ownership path when evidence supports it
- smallest remediation and same-flow recapture result
Guards and Stop Conditions
- Do not call a memory graph a leak proof until the expected lifetime and retaining path are established.
- Do not compare traces with different app builds, simulator/OS state, or workload boundaries as a regression result.
- Do not claim a symbolicated root cause from an unsymbolicated stack.
- Stop when the issue cannot be reproduced or a capture would include user-sensitive content without explicit approval.
Fallbacks and Handoffs
- Recommend
xcode-build-run-workflowfor all normal simulator execution and log/UI evidence. - Recommend
xcode-testing-workflowfor Instruments,xctrace, test plans, and broader Xcode performance work. - Recommend
swiftui-performance-auditwhen the user first needs a code-first SwiftUI hypothesis.
Customization
Use references/customization-flow.md. Evidence mode and reproducibility requirements are fixed; local customization cannot bypass same-flow comparison or artifact-scope reporting.
References
references/performance-trace-evidence.mdreferences/memory-graph-evidence.mdreferences/customization-flow.md- Recommend
references/snippets/apple-xcode-project-core.mdwhen the app needs reusable Xcode-project policy alongside simulator evidence work.
What ships with it: 7 files
34.4 KB alongside SKILL.md, 1 of them executable
agents/
- openai.yaml323 B
references/
scripts/
- customization_config.pyruns6.2 KB