peekie-errors
/peekie-errors
List build errors from an Xcode `.xcresult` bundle via `peekie errors`. Trigger when the user asks about why a build broke or wants structured error output — e.g. "why is the build broken in /tmp/Build.xcresult?", "show me build errors from this CI run", "how many errors are there in this xcresult?", "give me JSON of compilation errors I can pipe to jq", "fail my CI step if errors > 0", "first three errors with file and line, please". One subcommand, flat sorted array per error, same shape as `peekie warnings`.
- Author
- dodobrands ↗
- Repository
- peekie ↗
- Licence
- Apache-2.0
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
List build errors from an Xcode `.xcresult` bundle via `peekie errors`. Trigger when the user asks about why a build broke or wants structured error output — e.g. "why is the build broken in /tmp/Build.xcresult?", "show me build errors from this CI run", "how many errors are there in this xcresult?", "give me JSON of compilation errors I can pipe to jq", "fail my CI step if errors > 0", "first three errors with file and line, please". One subcommand, flat sorted array per error, same shape as `peekie warnings`.
Triggers from the description
Original author description
List build errors from an Xcode `.xcresult` bundle via `peekie errors`. Trigger when the user asks about why a build broke or wants structured error output — e.g. "why is the build broken in /tmp/Build.xcresult?", "show me build errors from this CI run", "how many errors are there in this xcresult?", "give me JSON of compilation errors I can pipe to jq", "fail my CI step if errors > 0", "first three errors with file and line, please". One subcommand, flat sorted array per error, same shape as `peekie warnings`.
How it works
- Synopsis
- Flags
- Output shape
- Recipes
- Don't
- See also
SKILL.md preview
---
name: peekie-errors
description: List build errors from an Xcode `.xcresult` bundle via `peekie errors`. Trigger when the user asks about why a build broke or wants structured error output — e.g. "why is the build broken in /tmp/Build.xcresult?", "show me build errors from this CI run", "how many errors are there in this xcresult?", "give me JSON of compilation errors I can pipe to jq", "fail my CI step if errors > 0", "first three errors with file and line, please". One subcommand, flat sorted array per error, same shape as `peekie warnings`.
---
# `peekie errors`
List every build error in a `.xcresult` bundle as a flat sorted JSON array (or human-readable list). Same shape as `peekie warnings`.
## Synopsis
```
peekie errors <xcresult-path> [flags]
```
## Flags
| Flag | Default | Notes |
|---|---|---|
| `<xcresult-path>` | — | **Required** positional. Path to the `.xcresult` bundle. |
| `--format json\|list` | `json` | Output format. |
| `-v, --verbose` | `false` | Debug-level logging to stderr. |
There is **no `--include` flag** on `peekie errors`. Filter with `jq`.
## Output shape
### `--format json` (default)
Flat sorted array, one entry per error:
```json
[
{"file": "AppDelegate.swift", "line": 87, "column": 5, "type": "Swift Compiler Error", "message": "Cannot find 'FooBar' in scope"},
{"file": "Network/Client.swift", "line": 154, "column": 12, "type": "Swift Compiler Error", "message": "Value of type 'URLSession' has no member 'asyncData'"}
]
```
- `line` / `column` are `null` when xcresult didn't emit them.
- `type` is the raw Apple `issueType` string — most commonly `Swift Compiler Error`, but anything in the errors bucket appears here.
Note: unlike `peekie warnings`, you should not see `#warning(...)` markers here — those land in `peekie warnings` even though Apple tags them `Swift Compiler Error` (see `peekie-warnings`).
### `--format list`
One line per error, grouped by file.
## Recipes
### Fail CI on any error
```bash
errors=$(peekie errors Build.xcresult | jq 'length')
if [ "$errors" -gt 0 ]; then
peekie errors Build.xcresult --format list
exit 1
fi
```
### Print first three errors with `file:line`
```bash
peekie errors Build.xcresult \
| jq -r '.[:3] | .[] | "\(.file):\(.line // "?"): \(.message)"'
```
### Group errors by file
```bash
peekie errors Build.xcresult | jq 'group_by(.file) | map({file: .[0].file, count: length})'
```
### Just the first error's message (handy for build-failure notifications)
```bash
peekie errors Build.xcresult | jq -r '.[0].message // "no errors"'
```
## Don't
- Don't pass `--include` — it doesn't exist on `peekie errors`. Pipe to `jq`.
- Don't expect warnings here — even `#warning(...)` developer markers (which Apple tags `Swift Compiler Error`) appear in `peekie warnings`, not here. If you want every diagnostic, run both commands.
- Don't reach for `xcrun xcresulttool get build-results` and parse it by hand — `peekie errors` already runs that and normalizes the output.
- Don't try `--format sonar` — only `peekie tests` supports it.
## See also
- `peekie-warnings` — same shape, but for warnings (including the `#warning(...)` quirk).
- `peekie-tests` — test failures from the same bundle (separate from build errors).
- `peekie` (umbrella) — CI recipe that checks errors, warnings, and coverage in one step.
Versions
The database has no other skills named peekie-errors.
Database snapshot: 13.11.2026 · package version 5245a70ccf74 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100peekie-warnings
List build warnings from an Xcode `.xcresult` bundle via `peekie warnings`. Trigger when the user asks about warnings — e.g. "what warnings did this build produce?", "show me deprecation warnings in /tmp/Build.xcresult", "group warnings by type", "how many warnings are in this… - 100peekie
Route Xcode `.xcresult` parsing work to the right `peekie` subcommand. Trigger on broad bundle intent — e.g. "look at this xcresult: /tmp/Build.xcresult", "parse this test bundle", "what's in this build artifact?", "can you summarize this `.xcresult`?", "I have an xcresult from… - 100axiom-fix-build
Use when the user mentions Xcode build failures, build errors, or environment issues. - 100build-fix
Expert skill for resolving build errors with minimal change principle. Use for build failures, type errors, compile errors. Keywords: build, fix, error, compile, typescript, type, resolve. - 100fix-build-errors
Use when a build, compilation, or type-check fails — diagnose the error, identify root cause, and apply the minimal fix to get green - 100xcuitest-suite
Authors XCUIest UI tests for iOS / iPadOS / tvOS and macOS desktop apps - uses the three-class XCUIApplication / XCUIElement / XCUIElementQuery pattern, sets accessibility identifiers on production code, runs via `xcodebuild test` with destination, parses the `xcresult` bundle.…