audit-build-warnings
Skill by bitwarden
Audits and fixes compiler and lint warnings in the Bitwarden iOS app. It builds the app, sorts warnings into Swift 6 concurrency and actionable groups, and fixes the actionable ones after you confirm exclusions. Made for Bitwarden iOS developers preparing a PR.
Install audit-build-warnings
Built from the published package, never by AI.
git clone --depth 1 https://github.com/bitwarden/ios /tmp/ios && mkdir -p ~/.claude/skills && cp -r /tmp/ios/.claude/skills/audit-build-warnings ~/.claude/skills/audit-build-warningsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/bitwarden/ios /tmp/ios && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ios/.claude/skills/audit-build-warnings ~/.gemini/antigravity-cli/skills/audit-build-warningsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install audit-build-warnings in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill builds the Bitwarden iOS app, captures all compiler and lint warnings, and sorts them into Swift 6 concurrency warnings and actionable warnings. It supports the Bitwarden, Authenticator, BitwardenKit and TestHarness schemes, with Bitwarden as the default. Before building, it runs an auto-fix script for SwiftFormat and SwiftLint, then reads simulator settings from the project's config files.
The skill writes a temporary report to a gitignored folder and asks which warnings to exclude. It then fixes the remaining actionable warnings one file at a time, such as file length, line length and retroactive conformances, and re-lints the changed files. Swift 6 concurrency warnings are never fixed. The skill is for Bitwarden iOS developers who want to clean up warnings before a pull request.
Written from the project's SKILL.md and checked against it.
What it can do
- Project generationGenerates the Xcode project for the selected scheme using XcodeGen and a spec file.
- Pre-build auto-fixRuns an auto-fix script for SwiftFormat and SwiftLint before the build so those warnings are not reported.
- Build and captureRuns xcodebuild build-for-testing on an iOS Simulator and saves all output to a temp file.
- Warning categorizationSorts warnings into Swift 6 concurrency warnings and actionable warnings, with default skips for vendored code.
- Guided fixesFixes actionable warnings one file at a time, such as line length, file length and retroactive conformances.
- Verification lintRuns SwiftLint and SwiftFormat on the changed files to catch new violations after fixes.
- Report generationWrites a markdown report of warnings by category to a gitignored temp folder.
What you need
- Xcode with xcodebuild
- Mint for running SwiftLint, SwiftFormat and XcodeGen
- XcodeGen
- iOS Simulator with device name and iOS version set in the project config files
Try asking
- Audit build warnings for the Authenticator scheme and show a summary.
- Fix the actionable build warnings in the Bitwarden scheme after I confirm exclusions.
- Clean up build warnings before I open my pull request.
Good to know
- Swift 6 concurrency warnings are never fixed in this workflow.
- BitwardenSdk types are not modified directly; retroactive conformances are used instead.
- Changes that need public API changes, module moves or SDK changes are stopped for human review.
- If the build fails, the skill reports errors and stops before any warning fixes.
Security check
B- Allowed to use Edit, Write without limitsIn
SKILL.md
Checked automatically: .claude/skills/audit-build-warnings/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: AskUserQuestionBash(grep:*)Bash(mkdir:*)Bash(mint run swiftformat:*)Bash(mint run swiftlint:*)Bash(mint run xcodegen:*)Bash(rm .claude/tmp/bitwarden_build_output.txt)Bash(rm .claude/tmp/build_warnings_report.md)Bash(Scripts/audit-build-warnings-prep.sh)Bash(xcodebuild:*)EditGrepReadWrite
Alternatives to audit-build-warnings
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
audit-build-warnings: common questions
Does this skill fix Swift 6 concurrency warnings?
No. The source says these warnings are never fixed in this workflow because they need actor annotations or protocol changes that require intentional review.
Which schemes does it support?
It supports Bitwarden (the default), Authenticator, BitwardenKit and TestHarness, each with its own XcodeGen spec file.
Where does the report go?
The report and build output are written to .claude/tmp, which is gitignored. The source says the report must not be written to Docs/ or other tracked directories.
How do I install audit-build-warnings?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is audit-build-warnings free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is audit-build-warnings safe to use?
It scores 74 of 100. Grades: maintenance A, licence C, quality A. Security check: grade B (allowed to use edit, write without limits). Review the code before you install. How grades work.
What are alternatives to audit-build-warnings?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
