/peekie:peekie-errorsfrom peekie
Lists build errors from Xcode .xcresult bundles as flat sorted JSON arrays. Useful for CI failure checks, structured error output, and piping to jq.
Ships in peekie. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
peekie errorsList every build error in a .xcresult bundle as a flat sorted JSON array (or human-readable list). Same shape as peekie warnings.
peekie errors <xcresult-path> [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.
--format json (default)Flat sorted array, one entry per error:
[
{"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 listOne line per error, grouped by file.
errors=$(peekie errors Build.xcresult | jq 'length')
if [ "$errors" -gt 0 ]; then
peekie errors Build.xcresult --format list
exit 1
fi
file:linepeekie errors Build.xcresult \
| jq -r '.[:3] | .[] | "\(.file):\(.line // "?"): \(.message)"'
peekie errors Build.xcresult | jq 'group_by(.file) | map({file: .[0].file, count: length})'
peekie errors Build.xcresult | jq -r '.[0].message // "no errors"'
--include — it doesn't exist on peekie errors. Pipe to jq.#warning(...) developer markers (which Apple tags Swift Compiler Error) appear in peekie warnings, not here. If you want every diagnostic, run both commands.xcrun xcresulttool get build-results and parse it by hand — peekie errors already runs that and normalizes the output.--format sonar — only peekie tests supports it.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.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub dodobrands/peekie --plugin peekie6 skills in this plugin
/peekieRoute 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 CI, what should I do with it?". Five dedicated sub-skills (`peekie-tests`, `peekie-warnings`, `peekie-errors`, `peekie-coverage`, `peekie-attachments`) cover the data axes; this umbrella picks the right one./peekie-attachmentsExtract and list test attachments (screenshots, logs, blobs) from an Xcode `.xcresult` bundle via `peekie attachments`. Trigger when the user asks about attached files in a bundle — e.g. "extract failure screenshots from /tmp/Tests.xcresult to /tmp/out", "save attachments for a single test", "what's attached to my failing tests?", "dump every attachment from this xcresult", "give me a manifest of attachments with file paths and content types", "I need just the attachments for `ExampleSUITests/failure()`". `--output-dir` is required. Note `--include` filters the printed manifest, NOT files written to disk — use `--test-id` to scope disk writes./peekie-coverageExtract code coverage from an Xcode `.xcresult` bundle via `peekie coverage`. Trigger when the user asks about coverage from a bundle — e.g. "what's the coverage in /tmp/Tests.xcresult?", "coverage per module please", "covered vs total lines for each file", "give me overall coverage as a percentage I can print in CI", "is coverage above 70%?", "JSON of coverage per file for a custom report". One subcommand, hierarchical modules → files JSON with covered/total line counts./peekie-testsParse and format test results from an Xcode `.xcresult` bundle via `peekie tests`. Trigger when the user asks anything about test outcomes from a bundle — e.g. "did the tests pass in /tmp/Tests.xcresult?", "show me failing tests from this build", "what tests failed?", "which tests were skipped?", "give me a JSON list of every test in this xcresult", "generate a SonarQube test report from this bundle", "I need the fully-qualified names of failing tests for CI", "extract test results plus their attachments". Covers the `tests` subcommand exhaustively: filtering by status, device labels for matrix runs, attachments export, sonar generic-test format./peekie-warningsList 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 xcresult?", "find all `#warning(...)` markers in my build", "give me JSON of build warnings I can pipe to jq", "are there any actor-isolation warnings?". One subcommand, flat sorted array per warning. Note Apple's `#warning(...)` directives are mis-tagged as `Swift Compiler Error` but appear here, not in `peekie errors`.Other plugins' skills for the same job