Loading...
Loading...
Formats xcodebuild and swift build output through xcsift into structured TOON format optimized for LLM consumption. Activates when running swift build, swift test, xcodebuild build, or xcodebuild test commands.
npx skill4agent add ldomaradzki/xcsift formatting-build-outputxcodebuild buildxcodebuild testswift buildswift test# Basic usage
xcodebuild build 2>&1 | xcsift -f toon
swift build 2>&1 | xcsift -f toon
# With warnings
xcodebuild build 2>&1 | xcsift -f toon -w
# With code coverage
swift test --enable-code-coverage 2>&1 | xcsift -f toon -c
xcodebuild test -enableCodeCoverage YES 2>&1 | xcsift -f toon -c
# With executable targets
xcodebuild build 2>&1 | xcsift -f toon -e
# Strict CI mode (fail on warnings)
xcodebuild build 2>&1 | xcsift -f toon -W -E| Flag | Description |
|---|---|
| TOON format (30-60% fewer tokens) |
| Show detailed warnings |
| Treat warnings as errors |
| Quiet mode (no output on success) |
| Include code coverage |
| Include executable targets |
| Exit with failure on build failure |
| Per-target phases and timing |
status: failed
summary:
errors: 1
warnings: 3
errors[1]{file,line,message}:
main.swift,15,"use of undeclared identifier"
warnings[3]{file,line,message}:
Parser.swift,20,"unused variable"2>&1