一键导入
ios-log-capture
Reference guide for capturing console logs from iOS apps in Simulator or physical devices using native logging tools
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reference guide for capturing console logs from iOS apps in Simulator or physical devices using native logging tools
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run an ASO audit on canonical App Store metadata under `./metadata`, then a krankie-based competitor keyword-gap analysis (no Astro subscription). Krankie replacement for asc-aso-audit. Use after `asc metadata pull`.
Pull VivaDicta App Store keyword rankings via krankie (free, self-hosted), compare against the previous check, and write a dated rankings report to the Obsidian vault. Krankie-based replacement for asc-aso-rankings (no Astro subscription required).
Prepare a new VivaDicta release — version bump, What's New screen, App Store metadata, code sweep, and pre-submission checklist
Measure VivaDicta test code coverage from the terminal. Use when asked what the test coverage is, a module's or the whole-app coverage %, which lines/files are covered, to get coverage without opening Xcode, or to see coverage after writing tests. Covers both the fast per-SPM-module path (swift test + llvm-cov) and the canonical whole-app path (xcodebuild + xccov), and which first-party targets count.
Count Swift lines of code across the VivaDicta codebase and refresh the production-vs-test history chart. Use when asked how many LOC / lines of code the project has, for a codebase-size or LOC breakdown by SPM module / main app / extension, how big a module or extension is, the prod-vs-test ratio, or to update / regenerate the LOC growth chart embedded in documentation/Module-Architecture.md.
Writes, reviews, and improves Swift Testing code using modern APIs and best practices. Use when reading, writing, or reviewing projects that use Swift Testing.
| name | ios-log-capture |
| description | Reference guide for capturing console logs from iOS apps in Simulator or physical devices using native logging tools |
Use this skill when you need to capture console logs from iOS apps running in Simulator or on physical devices for debugging, testing, or monitoring purposes.
start-logs and stop-logs for simulator structured loggingstart-logs-device and stop-logs-device for real-time device print loggingstart-logs-device-structured and stop-logs-device-structured for full device log archivesxcodebuild-testing for running tests that may require log analysisaxe-simulator-control for automating simulator interactions before capturing logsUse start-logs to begin capture and stop-logs to summarize or filter the latest simulator log file.
Best for:
Logger output with timestamps, categories, and metadataHow it works:
start-logs runs ./scripts/launch_simulator.sh in a long-lived shell sessionxcrun simctl spawn ... log stream writes to logs/sim-YYYYMMDD-HHMMSS.logstop-logs stops the active stream and summarizes or filters the latest fileCaptures:
Logger output with subsystem filteringDoes not capture:
print() outputUse start-logs-device to launch the app on a physical device with ENABLE_PRINT_LOGS=1, then use stop-logs-device to stop the session and inspect the newest log file.
Best for:
print() output on real hardwareHow it works:
start-logs-device runs ./scripts/launch_device.sh in a long-lived shell sessionxcrun devicectl device process launch --console streams output into logs/device-YYYYMMDD-HHMMSS.logstop-logs-device stops the active session and summarizes the newest fileCaptures:
print() output enabled through ENABLE_PRINT_LOGS=1LoggerExtensionUse start-logs-device-structured to record a start timestamp and device UDID, then use stop-logs-device-structured to guide the user through running ./scripts/collect_device_logs.sh.
Best for:
.logarchive capture with later re-analysis in Console.appHow it works:
start-logs-device-structured stores the current timestamp and device UDID in llmtemp/stop-logs-device-structured asks the user to run ./scripts/collect_device_logs.shsudo log collect, writes logs/vivadicta_device_*.logarchive, and extracts logs/device_*.txtCaptures:
.logarchive artifactsstart-logs skill.stop-logs skill.errors, warnings, all, or a search term.start-logs-device skill.devicectl stream.stop-logs-device skill.start-logs-device-structured skill.stop-logs-device-structured skill../scripts/collect_device_logs.sh interactively.# Inspect recent simulator logs
ls -lt logs/sim-*.log | head -5
grep -i "error\\|fault" logs/sim-*.log
grep "\\[AppState\\]" logs/sim-*.log
# Inspect recent device print logs
ls -lt logs/device-*.log | head -5
grep -i "error" logs/device-*.log
# Inspect structured device archives
log show logs/vivadicta_device_*.logarchive \
--predicate 'subsystem == "com.antonnovoselov.VivaDicta"'
Logger, so simulator logging is usually the fastest high-signal option.ENABLE_PRINT_LOGS=1 and is best for flows where mirrored print output is useful.screenshot skill to capture visual state while reproducing a bug.