arsenilaputska/ios-performance-agent-skills/ios-disk-writes-expert
Claude Code and agent skill by arsenilaputska/ios-performance-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Investigate and reduce excessive disk writes in iOS apps using Xcode Organizer, Instruments, and code inspection. Use when Organizer flags high disk I/O or when you suspect wasteful persistence.
Install
npx vskill@latest install arsenilaputska/ios-performance-agent-skills/ios-disk-writes-expertSKILL.md
The same SKILL.md was published earlier as arsenilaputska/ios-performance-agent-skills/ios-disk-writes-expert.
iOS Disk Writes Expert
Use this skill to understand what your app is writing to disk and why, then to propose safe changes that reduce unnecessary persistent I/O.
Typical triggers
- Xcode Organizer shows high Disk Writes for your app.
- Production devices report battery or storage pressure.
- You see frequent
Data.write, cache flushes, or database commits in hot paths.
Investigation focus
When this skill is active, it should:
- Map the main disk‑write paths in the app:
- Image caches and thumbnail stores.
- Local databases (Core Data, Realm, SQLite, GRDB, etc.).
- Custom file‑based storage or loggers.
- Distinguish expected writes (e.g. user‑initiated saves, first‑time downloads) from wasteful writes (e.g. rewriting unchanged data, flushing caches too often).
- Check for:
- Repeated writes of identical or nearly identical payloads.
- Too‑frequent database commits or transaction boundaries in hot loops.
- Persistence triggered from high‑frequency events (timers, websocket messages, notifications) without throttling.
- Writes happening on the main thread.
- Suggest measurement or profiling steps if evidence is weak (e.g. use Instruments’ File Activity template).
Guardrails
- Do not remove persistence that users rely on (e.g. offline support) without an explicit product decision.
- Prefer debouncing, batching, and smarter cache policies over blanket deletion.
- Do not blindly move all writes to background queues without considering ordering and data consistency.
Expected output
Use the template in references/recommendation-format.md:
- Root‑cause hypothesis for the worst write path.
- Exact storage/caching components and call sites involved.
- Smallest safe change (e.g. batch window, deduplication, commit strategy).
- Validation plan (before/after Organizer metrics or targeted logging).
- Regression risks (e.g. stale data, slower sync, more complex failure modes).
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ios-disk-writes-expert/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/arsenilaputska/ios-performance-agent-skills/ios-disk-writes-expert)