axiom-build

charleswiltgen/axiom

Для диагностики сбоев сборки iOS, падений тестов и проблем окружения Xcode.

Звёзды1 265
Авторcharleswiltgen

Установка

SKILL.md

Build & Environment

You MUST use this skill for ANY build, environment, or Xcode-related issue before debugging application code.

<!-- --><!-- AXIOM_AUDITOR_INLINE_BEGIN — auto-maintained by scripts/build-inlined-auditors.ts; do not hand-edit --><!-- -->

Not on Claude Code? Where this router says "Launch some-auditor agent", read that auditor's file in this suite and follow it inline — the same procedure, needing only file search and read.

Available here: skills/modernization-helper.md. Homed in another suite: axiom-security/skills/security-privacy-scanner.md.

Agents that need Bash — builds, tests, simulators, crash symbolication — stay Claude Code-only; there is no inline equivalent for those.

<!-- --><!-- AXIOM_AUDITOR_INLINE_END --><!-- -->

When to Use

Use this router when you encounter:

  • Build failures (BUILD FAILED, compilation errors, linker errors)
  • Test crashes or hangs
  • Simulator issues (won't boot, device errors)
  • Xcode misbehavior (stale builds, zombie processes)
  • Dependency conflicts (CocoaPods, SPM)
  • Build performance issues (slow compilation)
  • Environment issues before debugging code

Routing Logic

This router invokes specialized skills based on the specific issue:

1. Environment-First Issues → xcode-debugging

Triggers:

  • BUILD FAILED without obvious code cause
  • Tests crash in clean project
  • Simulator hangs or won't boot
  • "No such module" after SPM changes
  • Zombie xcodebuild processes
  • Stale builds (old code still running)
  • Clean build differs from incremental build
  • Device Hub / predicted-vs-built issues in Xcode 27 (OS27)
  • Reproducing a device-only bug on a simulator (Device Hub) (OS27)

Why xcode-debugging first: 90% of mysterious issues are environment, not code. Check this BEFORE debugging code.

Invoke: skills/xcode-debugging.md


2. Slow Builds → build-performance

Triggers:

  • Compilation takes too long
  • Type checking bottlenecks
  • Want to optimize build time
  • Build Timeline shows slow phases

Invoke: skills/build-performance.md


3. SPM Dependency Conflicts → spm-conflict-resolver (Agent)

Triggers:

  • SPM resolution failures
  • "No such module" after adding package
  • Duplicate symbol linker errors
  • Version conflicts between packages
  • Swift 6 package compatibility issues
  • Package.swift / Package.resolved conflicts

Why spm-conflict-resolver: Specialized agent that analyzes Package.swift and Package.resolved to diagnose and resolve Swift Package Manager conflicts.

Invoke: Launch spm-conflict-resolver agent


4. Security & Privacy Audit → security-privacy-scanner (Agent)

Triggers:

  • App Store submission prep
  • Privacy Manifest requirements (iOS 17+)
  • Hardcoded credentials in code
  • Sensitive data storage concerns
  • ATS violations
  • Required Reason API declarations

Why security-privacy-scanner: Specialized agent that scans for security vulnerabilities and privacy compliance issues.

Invoke: Launch security-privacy-scanner agent or /axiom:audit security


5. iOS 17→18 Modernization → modernization-helper (Agent)

Triggers:

  • Migrate ObservableObject to @Observable
  • Update @StateObject to @State
  • Adopt modern SwiftUI patterns
  • Deprecated API cleanup
  • iOS 17+ migration

Why modernization-helper: Specialized agent that scans for legacy patterns and provides migration paths with code examples.

Invoke: Launch modernization-helper agent or /axiom:audit modernization


6. Build Failure Auto-Fix → build-fixer (Agent)

Triggers:

  • BUILD FAILED with no clear error details
  • Build sometimes succeeds, sometimes fails
  • App builds but runs old code
  • "Unable to boot simulator" error
  • Want automated environment-first diagnostics

Why build-fixer: Autonomous agent that checks zombie processes, Derived Data, SPM cache, and simulator state before investigating code. Saves 30+ minutes on environment issues.

Invoke: Launch build-fixer agent or /axiom:fix-build


7. Slow Build Optimization → build-optimizer (Agent)

Triggers:

  • Builds take too long
  • Want to identify slow type checking
  • Expensive build phase scripts
  • Suboptimal build settings
  • Want parallelization opportunities

Why build-optimizer: Scans Xcode projects for build performance optimizations — slow type checking, expensive scripts, suboptimal settings — to reduce build times by 30-50%.

Invoke: Launch build-optimizer agent or /axiom:optimize-build


8. General Dependency Issues → build-debugging

Triggers:

  • CocoaPods resolution failures
  • "Multiple commands produce" errors
  • Framework version mismatches
  • Non-SPM dependency graph conflicts

Invoke: skills/build-debugging.md


9. TestFlight Crash Triage → testflight-triage

Triggers:

  • Beta tester reported a crash
  • Crash reports in Xcode Organizer
  • Crash logs aren't symbolicated
  • TestFlight feedback with screenshots
  • App was killed but no crash report

Why testflight-triage: Systematic workflow for investigating TestFlight crashes and reviewing beta feedback. Covers symbolication, crash interpretation, common patterns, and Claude-assisted analysis.

Invoke: See axiom-shipping (skills/testflight-triage.md)


10. App Store Connect Navigation → app-store-connect-ref

Triggers:

  • How to find crashes in App Store Connect
  • ASC metrics dashboard navigation
  • Understanding crash-free users percentage
  • Comparing crash rates between versions
  • Exporting crash data from ASC
  • App Store Connect API for crash data

Why app-store-connect-ref: Reference for navigating ASC crash analysis, metrics dashboards, and data export workflows.

Invoke: See axiom-shipping (skills/app-store-connect-ref.md)


11. Crash Log Analysis → crash-analyzer (Agent)

Triggers:

  • User has .ips or .crash file to analyze
  • User pasted crash report text
  • Need to parse crash log programmatically
  • Identify crash pattern from exception type
  • Check symbolication status

Why crash-analyzer: Autonomous agent that parses crash reports, identifies patterns (null pointer, Swift runtime, watchdog, jetsam), and generates actionable analysis.

Invoke: Launch crash-analyzer agent or /axiom:analyze-crash


12. MetricKit API Reference → metrickit-ref

Triggers:

  • MetricKit setup and subscription
  • MXMetricPayload parsing (CPU, memory, launches, hitches)
  • MXDiagnosticPayload parsing (crashes, hangs, disk writes)
  • MXCallStackTree decoding and symbolication
  • Field crash/hang collection
  • Background exit metrics

Why metrickit-ref: Complete MetricKit API reference with setup patterns, payload parsing, and integration with crash reporting systems.

Invoke: See axiom-performance (skills/metrickit-ref.md)


13. Hang Diagnostics → hang-diagnostics

Triggers:

  • App hangs or freezes
  • Main thread blocked for >1 second
  • UI unresponsive to touches
  • Xcode Organizer shows hang diagnostics
  • MXHangDiagnostic from MetricKit
  • Watchdog terminations (app killed during launch/background transition)

Why hang-diagnostics: Systematic diagnosis of hangs with decision tree for busy vs blocked main thread, tool selection (Time Profiler, System Trace), and 8 common hang patterns with fixes.

Invoke: See axiom-performance (skills/hang-diagnostics.md)


14. Live Debugging → lldb

Triggers:

  • Need to reproduce a crash interactively
  • Want to set breakpoints and inspect state
  • Crash report analyzed, now need live investigation
  • Need to attach debugger to running app

Why lldb: Crash reports tell you WHAT crashed. LLDB tells you WHY.

Invoke: skills/lldb.md


16. Runtime Console Capture → xclog-ref

Triggers:

  • Need to see what the app is logging at runtime
  • App crashes but no crash report (need console output)
  • Silent failures (network, data, auth) with no UI feedback
  • Want to capture print()/os_log() output from simulator
  • Need structured log output for analysis
  • "What is the app printing?"

Why xclog-ref: Xcode's debug console isn't accessible externally. xclog combines simctl stdout/stderr with log stream JSON to capture everything print(), NSLog(), os_log(), and Logger emit — with structured fields (level, subsystem, category) for automated analysis.

Invoke: /axiom:console


15. Code Signing Issues → code-signing

Triggers:

  • "No signing certificate found"
  • "Provisioning profile doesn't include signing certificate"
  • errSecInternalComponent in CI
  • ITMS-90035 Invalid Signature on upload
  • Ambiguous identity / multiple certificates
  • Entitlement mismatch or missing capability
  • Setting up CI/CD code signing (GitHub Actions, fastlane match)
  • Certificate expired or revoked

Why code-signing: Code signing errors are NEVER code bugs — they are 100% configuration (certificates, profiles, entitlements, keychains). Diagnosing with CLI tools takes 5 minutes vs hours of guessing.

Invoke: See axiom-security (skills/code-signing.md) (workflows) or See axiom-security (skills/code-signing-diag.md) (troubleshooting)


Decision Tree

  1. Mysterious/intermittent/clean build fails? → xcode-debugging (environment-first)
  2. SPM dependency conflict? → spm-conflict-resolver (Agent)
  3. CocoaPods/other dependency conflict? → build-debugging
  4. Slow build time? → build-performance
  5. Security/privacy/App Store prep? → security-privacy-scanner (Agent)
  6. Want automated build fix (environment-first diagnostics)? → build-fixer (Agent)
  7. Want build time optimization scan? → build-optimizer (Agent)
  8. Modernization/deprecated APIs? → modernization-helper (Agent)
  9. TestFlight crash/feedback? → testflight-triage
  10. Navigating App Store Connect? → app-store-connect-ref
  11. Have a crash log (.ips/.crash)? → crash-analyzer (Agent)
  12. MetricKit setup/parsing? → metrickit-ref
  13. App hang/freeze/watchdog? → hang-diagnostics
  14. Need to reproduce crash interactively / inspect runtime state? → lldb
  15. Code signing error (certificate, profile, entitlement, Keychain)? → code-signing / code-signing-diag
  16. Need to see runtime console output (print/os_log)? → xclog-ref or /axiom:console

Anti-Rationalization

ThoughtReality
"I know how to fix this linker error"Linker errors have 4+ root causes. xcode-debugging diagnoses all in 2 min.
"Let me just clean the build folder"Clean builds mask the real issue. xcode-debugging finds the root cause.
"It's just an SPM issue, I'll fix Package.swift"SPM conflicts cascade. spm-conflict-resolver analyzes the full dependency graph.
"The simulator is just slow today"Simulator issues indicate environment corruption. xcode-debugging checks systematically.
"I'll skip environment checks, it compiles locally"Environment-first saves 30+ min. Every time.
"I'll read the crash report more carefully instead of reproducing"Crash reports show WHAT crashed, not WHY. Reproducing in LLDB with breakpoints reveals the actual state. skills/lldb.md has the workflow.
"I know my certificate is fine, let me check the code"Code signing errors are NEVER code bugs. 100% configuration. code-signing diagnoses with CLI in 5 min.
"I can't see what the app is logging without Xcode"xclog captures print() + os_log from the simulator. Structured JSON output with level, subsystem, category. /axiom:console.

When NOT to Use (Conflict Resolution)

Do NOT use axiom-build for these — use the correct router instead:

Error TypeCorrect RouterWhy NOT axiom-build
Swift 6 concurrency errors/skill axiom-concurrencyCode error, not environment
SwiftData migration errors/skill axiom-dataSchema issue, not build environment
"Sending 'self' risks data race"/skill axiom-concurrencyLanguage error, not Xcode issue
Type mismatch / compilation errorsFix the codeThese are code bugs

axiom-build is for environment mysteries, not code errors:

  • ✅ "No such module" when code is correct
  • ✅ Simulator won't boot
  • ✅ Clean build fails, incremental works
  • ✅ Zombie xcodebuild processes
  • ❌ Swift concurrency warnings/errors
  • ❌ Database migration failures
  • ❌ Type checking errors in valid code

Example Invocations

User: "My build failed with a linker error" → Invoke: skills/xcode-debugging.md (environment-first diagnostic)

User: "Builds are taking 10 minutes" → Invoke: skills/build-performance.md

Пользователь: "SPM не разрешает зависимости" → Вызвать: spm-conflict-resolver agent

Пользователь: "Два пакета требуют разных версий одной и той же зависимости" → Вызвать: spm-conflict-resolver agent

Пользователь: "Ошибка компоновщика duplicate symbol" → Вызвать: spm-conflict-resolver agent

Пользователь: "Мне нужно подготовиться к проверке безопасности App Store" → Вызвать: security-privacy-scanner agent

Пользователь: "Нужен ли мне Privacy Manifest?" → Вызвать: security-privacy-scanner agent

Пользователь: "Есть ли в моём коде жёстко заданные учётные данные?" → Вызвать: security-privacy-scanner agent

Пользователь: "Как мне перейти с ObservableObject на @Observable?" → Вызвать: modernization-helper agent

Пользователь: "Обнови мой код, чтобы использовать современные паттерны SwiftUI" → Вызвать: modernization-helper agent

Пользователь: "Стоит ли мне всё ещё использовать @StateObject?" → Вызвать: modernization-helper agent

Пользователь: "Бета-тестировщик сообщил, что моё приложение упало" → Вызвать: See axiom-shipping (skills/testflight-triage.md)

Пользователь: "Я вижу сбои в App Store Connect, но не знаю, как их исследовать" → Вызвать: See axiom-shipping (skills/testflight-triage.md)

Пользователь: "Мои логи сбоев не символизированы" → Вызвать: See axiom-shipping (skills/testflight-triage.md)

Пользователь: "Мне нужно просмотреть отзывы TestFlight" → Вызвать: See axiom-shipping (skills/testflight-triage.md)

Пользователь: "Как найти сбои в App Store Connect?" → Вызвать: See axiom-shipping (skills/app-store-connect-ref.md)

Пользователь: "Где метрика crash-free users в ASC?" → Вызвать: See axiom-shipping (skills/app-store-connect-ref.md)

Пользователь: "Как экспортировать данные о сбоях из App Store Connect?" → Вызвать: See axiom-shipping (skills/app-store-connect-ref.md)

Пользователь: "Проанализируй этот лог сбоя" [вставляет содержимое .ips] → Вызвать: crash-analyzer agent or /axiom:analyze-crash

Пользователь: "Разбери этот файл .ips: ~/Library/Logs/DiagnosticReports/MyApp.ips" → Вызвать: crash-analyzer agent or /axiom:analyze-crash

Пользователь: "Почему упало моё приложение? Вот отчёт..." → Вызвать: crash-analyzer agent or /axiom:analyze-crash

Пользователь: "Как настроить MetricKit для сбора данных о сбоях?" → Вызвать: See axiom-performance (skills/metrickit-ref.md)

Пользователь: "Как разобрать MXDiagnosticPayload?" → Вызвать: See axiom-performance (skills/metrickit-ref.md)

Пользователь: "Что находится в MXCallStackTree и как его декодировать?" → Вызвать: See axiom-performance (skills/metrickit-ref.md)

Пользователь: "Моё приложение иногда зависает" → Вызвать: See axiom-performance (skills/hang-diagnostics.md)

Пользователь: "Главный поток заблокирован, и UI не отвечает" → Вызвать: See axiom-performance (skills/hang-diagnostics.md)

Пользователь: "Xcode Organizer показывает диагностику зависаний для моего приложения" → Вызвать: See axiom-performance (skills/hang-diagnostics.md)

Пользователь: "Моё приложение было убито watchdog во время запуска" → Вызвать: See axiom-performance (skills/hang-diagnostics.md)

Пользователь: "У меня есть отчёт о сбое, и мне нужно воспроизвести его в отладчике" → Вызвать: skills/lldb.md

Пользователь: "Как мне установить точки останова, чтобы поймать этот сбой?" → Вызвать: skills/lldb.md

Пользователь: "Моя сборка завершается с ошибкой BUILD FAILED, но без подробностей об ошибке" → Вызвать: build-fixer agent or /axiom:fix-build

Пользователь: "Сборка иногда проходит, иногда падает" → Вызвать: build-fixer agent or /axiom:fix-build

Пользователь: "Как мне ускорить время сборки в Xcode?" → Вызвать: build-optimizer agent or /axiom:optimize-build

Пользователь: "При попытке сборки не найден сертификат подписи" → Вызвать: See axiom-security (skills/code-signing-diag.md)

Пользователь: "errSecInternalComponent в моём GitHub Actions CI" → Вызвать: See axiom-security (skills/code-signing-diag.md)

Пользователь: "Как настроить подпись кода для GitHub Actions?" → Вызвать: See axiom-security (skills/code-signing.md)

Пользователь: "Что моё приложение выводит в консоль?" → Вызвать: /axiom:console

Пользователь: "Мне нужно увидеть вывод консоли симулятора" → Вызвать: /axiom:console

Пользователь: "Приложение падает молча, в UI нет ошибки" → Вызвать: /axiom:console

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: axiom-build](https://darkplay.ru/ai/skills/charleswiltgen-axiom-axiom-build)

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

Build Error Resolveraffaan-m · Специалист по устранению ошибок сборки и TypeScript. Используйте ПРОАКТИВНО при сбое…
225 587 ★
Code Architectaffaan-m · Проектирует архитектуру функций, анализируя существующие паттерны и соглашения кодовой…
225 587 ★
Cpp Build Resolveraffaan-m · Специалист по ошибкам сборки C++, CMake и линковки.
225 587 ★
Dart Build Resolveraffaan-m · Специалист по ошибкам сборки Dart/Flutter, зависимостей и build_runner.
225 587 ★
Django Build Resolveraffaan-m · Специалист по ошибкам Django: pip/Poetry, миграции, импорты, collectstatic.
225 587 ★
Go Build Resolveraffaan-m · Специалист по ошибкам сборки Go: исправляет build, go vet и предупреждения линтера.
225 587 ★
Java Build Resolveraffaan-m · Специалист по ошибкам сборки Java/Maven/Gradle: определяет Spring Boot или Quarkus и…
225 587 ★
Kotlin Build Resolveraffaan-m · Специалист по ошибкам сборки Kotlin/Gradle: компилятор, зависимости и Gradle.
225 587 ★
Pytorch Build Resolveraffaan-m · Специалист по ошибкам PyTorch: формы тензоров, CUDA, градиенты и DataLoader.
225 587 ★
React Build Resolveraffaan-m · Чинит сборки React в Vite, webpack, Next.js и других: JSX, гидратация, типы.
225 587 ★

Лучшие ИИ-инструменты для программирования

ИИ для программирования

Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные

GenAPIGenapi
По запросу
5.0
Notepad++ AINotepad-plus-plus
По запросу
4.9
GitHub CopilotGitHub
По подписке
4.9
Creatium MaxCremax
По запросу
4.8
Emacs AIGnu
По запросу
4.8
KiteKite
По запросу
4.8
Amazon Q DeveloperAmazon
По запросу
4.8
VECTA
Есть бесплатный тариф
4.8
SoftPractice
Есть бесплатный тариф
4.8
VibeForge
Есть бесплатный тариф
4.7

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8