Agent Skillsn0an/VivaDicta › start-logs-device-structured

start-logs-device-structured

GitHub

用于在物理iOS设备上开始结构化日志收集的准备阶段。通过记录当前时间戳和目标设备UDID,为后续使用sudo log collect抓取包括扩展在内的所有进程日志做准备。

.agents/skills/start-logs-device-structured/SKILL.md n0an/VivaDicta

Trigger Scenarios

需要捕获iOS真机应用日志以排查问题 准备进行结构化设备日志收集

Install

npx skills add n0an/VivaDicta --skill start-logs-device-structured -g -y
More Options

Non-standard path

npx skills add https://github.com/n0an/VivaDicta/tree/main/.agents/skills/start-logs-device-structured -g -y

Use without installing

npx skills use n0an/VivaDicta@start-logs-device-structured

指定 Agent (Claude Code)

npx skills add n0an/VivaDicta --skill start-logs-device-structured -a claude-code -g -y

安装 repo 全部 skill

npx skills add n0an/VivaDicta --all -g -y

预览 repo 内 skill

npx skills add n0an/VivaDicta --list

SKILL.md

Frontmatter
{
    "name": "start-logs-device-structured",
    "description": "Record timestamp for structured device log collection from physical iOS device (captures all processes including extensions)",
    "disable-model-invocation": true
}

start-logs-device-structured

Task

Prepare for structured device log capture by recording the current timestamp and target device UDID.

Instructions

  1. Find a connected physical iPhone:
    xcrun xctrace list devices | grep iPhone | grep -v Simulator | head -1
    
  2. Ensure the temp directory exists:
    mkdir -p llmtemp
    
  3. Record the current timestamp:
    date '+%Y-%m-%d %H:%M:%S' > llmtemp/.device-log-start-time
    
  4. Save the selected device UDID to:
    echo "<UDID>" > llmtemp/.device-log-udid
    
  5. Report the start time and device UDID to the user.
  6. Tell the user to reproduce the issue, then use the stop-logs-device-structured skill.

Notes

  • This skill does not start a background process. It only records state for later collection.
  • The app should already be installed and runnable on the target device.
  • The follow-up collection step uses sudo log collect, so the user will need interactive sudo access.

Related

Version History

  • c5601d4 Current 2026-07-25 08:15

Same Skill Collection

.agents/skills/analyze-unrecognized-apps/SKILL.md
.agents/skills/app-container-group/SKILL.md
.agents/skills/app-container/SKILL.md
.agents/skills/asc-aso-audit/SKILL.md
.agents/skills/asc-aso-rankings/SKILL.md
.agents/skills/asc-localize-metadata/SKILL.md
.agents/skills/asc-metadata-sync/SKILL.md
.agents/skills/asc-release-flow/SKILL.md
.agents/skills/asc-whats-new-writer/SKILL.md
.agents/skills/axe-simulator-control/SKILL.md
.agents/skills/coverage-report/SKILL.md
.agents/skills/diagram/SKILL.md
.agents/skills/ios-log-capture/SKILL.md
.agents/skills/ios-simulator-skill/SKILL.md
.agents/skills/krankie-audit/SKILL.md
.agents/skills/krankie-rankings/SKILL.md
.agents/skills/loc-report/SKILL.md
.agents/skills/pr/SKILL.md
.agents/skills/prcdx/SKILL.md
.agents/skills/release-prepare/SKILL.md
.agents/skills/screenshot/SKILL.md
.agents/skills/simulator-screenshot-time/SKILL.md
.agents/skills/spm-build-analysis/SKILL.md
.agents/skills/start-logs-device/SKILL.md
.agents/skills/start-logs/SKILL.md
.agents/skills/stop-logs-device-structured/SKILL.md
.agents/skills/stop-logs-device/SKILL.md
.agents/skills/stop-logs/SKILL.md
.agents/skills/swift-concurrency-pro/SKILL.md
.agents/skills/swift-testing-pro/SKILL.md
.agents/skills/swiftdata-pro/SKILL.md
.agents/skills/swiftui-liquid-glass/SKILL.md
.agents/skills/swiftui-performance-audit/SKILL.md
.agents/skills/swiftui-pro/SKILL.md
.agents/skills/xcode-build-benchmark/SKILL.md
.agents/skills/xcode-build-fixer/SKILL.md
.agents/skills/xcode-build-orchestrator/SKILL.md
.agents/skills/xcode-compilation-analyzer/SKILL.md
.agents/skills/xcode-project-analyzer/SKILL.md
.agents/skills/xcodebuild-testing/SKILL.md
.agents/skills/commit-push/SKILL.md

Metadata

Files
0
Version
fbf9c91
Hash
2b5af716
Indexed
2026-07-25 08:15

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 15:32
浙ICP备14020137号-1 $방문자$