Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

formatting-build-output

Skill by ldomaradzki

Formats Xcode and Swift Package Manager build and test output into compact TOON output. Useful for developers diagnosing Swift compile errors, reading test results and measuring code coverage.

  • Score 77
  • 524 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install formatting-build-output

Built from the published package, never by AI.

git clone --depth 1 https://github.com/ldomaradzki/xcsift /tmp/xcsift && mkdir -p ~/.claude/skills && cp -r /tmp/xcsift/plugins/claude-code/skills/xcsift ~/.claude/skills/formatting-build-output

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install formatting-build-output in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

xcsift is a formatter for Xcode and Swift Package Manager build output. It parses output from xcodebuild build, xcodebuild test, swift build and swift test and turns it into TOON, a format the source describes as token-efficient for LLMs. The output covers compile errors, warnings, failed tests, code coverage, slow tests and build timing. Flags control the warnings list, per-file coverage, executable targets, strict CI failure and per-target build info.

The skill tells the assistant to pipe these commands through xcsift with 2>&1 and -f toon. Informational commands such as xcodebuild -list or swift test --list-tests should run directly, because xcsift discards their output. The source says a pre-tool hook wraps build commands automatically when the plugin is installed. It is aimed at developers working on Swift or Xcode projects who need to diagnose compile errors, analyze test results and measure coverage.

Written from the project's SKILL.md and checked against it.

What it can do

  • Build output formattingPipes xcodebuild and swift build output into structured TOON output.
  • Compile error reportingLists compile errors with file, line and message.
  • Warning reportingShows warnings, typed as compile, runtime or swiftui, with -w for a detailed list.
  • Test failure analysisLists failed tests with suite, file, line, message and duration.
  • Code coverage summaryAdds a coverage summary with -c and per-file detail with --coverage-details.
  • Slow test detectionFlags tests slower than a threshold set with --slow-threshold.
  • Build timingReports build and test time, and per-target phases with --build-info.
  • Flaky test detectionDetects tests that both pass and fail, with no flag needed.
  • Strict CI modeUses -W to treat warnings as errors and -E to exit non-zero on build failure.

What you need

  • xcsift installed, via Homebrew or built from Swift source
  • Xcode with xcodebuild
  • Swift toolchain for swift build and swift test

Try asking

  • Build this Swift package and summarize any compile errors with file and line.
  • Run swift test with code coverage and list the failed tests.
  • Run xcodebuild test and show which tests are slower than 1 second.

Good to know

  • Informational xcodebuild and swift commands should not be piped, because xcsift discards their output.
  • Coverage shows null unless the coverage flags are added.
  • Coverage can target the wrong target and may need --coverage-path to override.
  • Stderr must be captured with 2>&1 or errors may not appear.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/claude-code/skills/xcsift/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to formatting-build-output

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

formatting-build-output: common questions

Why pipe Xcode build output through xcsift?

The source says xcsift parses verbose xcodebuild and SPM output into TOON format, which it describes as 30-60% fewer tokens than JSON. It is meant to be easier for LLMs to read.

Which Xcode commands should not use xcsift?

Informational commands such as xcodebuild -list, -showsdks, -version and swift test --list-tests should run directly. The source says xcsift discards their answers.

Why does code coverage show null?

The source says coverage needs --enable-code-coverage for SPM or -enableCodeCoverage YES for xcodebuild. Without that flag, coverage data is not available.

How do I install formatting-build-output?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is formatting-build-output free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is formatting-build-output safe to use?

It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to formatting-build-output?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

formatting-build-output Install

Add to stack

Loading.