build-check

Run SwiftLint and Xcode build checks on iOS projects.

40|22|Updated Jan 28, 2024
One-click install
npx skills add https://github.com/vultisig/vultisig-ios --skill build-check-vultisig
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-check
Source: https://github.com/vultisig/vultisig-ios/tree/main/.claude/skills/build-check
Command: npx skills add https://github.com/vultisig/vultisig-ios --skill build-check-vultisig

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the essential quality checks for iOS projects by running SwiftLint and performing a full Xcode build to catch linting issues and compilation errors early.

Core Features & Use Cases

  • SwiftLint check using a configured .swiftlint.yml to enforce coding standards.
  • Xcodebuild execution to validate compilation against the VultisigApp target.
  • CI/local development workflow integration to produce a clear PASS/LINT FAIL/BUILD FAIL result.

Quick Start

Run SwiftLint on the VultisigApp project and then perform a targeted Xcode build to verify a clean compile.

Frequently Asked Questions about build-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to verify my Swift code compiles cleanly in a CI environment?

You need a SwiftLint configuration file and a valid Xcode project file. Specifically, this workflow requires a configuration at VultisigApp/.swiftlint.yml and a project located at VultisigApp/VultisigApp.xcodeproj to run properly.

Does the build validation workflow require a specific Xcode project structure?

Yes, the build validation workflow requires a specific Xcode project structure. You must have a valid Xcode project at VultisigApp/VultisigApp.xcodeproj and a SwiftLint configuration at VultisigApp/.swiftlint.yml to execute the checks.

Why does my iOS build validation return a LINT FAIL status?

A LINT FAIL status indicates your Swift code violated the rules defined in your .swiftlint.yml configuration. The workflow runs SwiftLint before the Xcode build to enforce coding standards, blocking the build if linting issues are found.

Can I run Xcode build validation and SwiftLint locally before pushing iOS code?

Yes, you can run Xcode build validation and SwiftLint locally before pushing code. The workflow applies to local development and CI environments, catching lint and compilation issues early in the development cycle.