xxf-swift-format

Community

统一 Swift 代码风格,CI 自动格式化与校验。

AuthorNBXXF
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Swift projects often suffer from inconsistent formatting across teams, causing review churn and readability issues. XXFSwiftFormat provides a centralized way to enforce a unified style by integrating SwiftFormat rules, configurations, and CI checks.

Core Features & Use Cases

  • Unified style enforcement: Apply a shared SwiftFormat configuration to all Swift sources.
  • Configurable rules & CI integration: Maintain a .swiftformat file and wire it into CI pipelines for automatic linting.
  • Use Case: On-boarding new projects or teams, updating formatting rules, or pre-commit style checks.

Quick Start

In your iOS project, enable SwiftFormat with the project’s .swiftformat configuration and run swiftformat --lint to enforce formatting during CI.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: xxf-swift-format
Download link: https://github.com/NBXXF/xxf_ios/archive/main.zip#xxf-swift-format

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.