crm-ios-pre-commit-checker

Official

Enforce Swift code conventions before commit.

Authorherren-official
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Swift projects often suffer from inconsistent code style and risky patterns that slip into commits. This skill enforces a set of pre-commit checks to catch violations before they enter the repository.

Core Features & Use Cases

  • Enforces Force Unwrapping rules (excluding IBOutlets/IBActions) to reduce runtime crashes.
  • Flags statements exceeding 120 characters and detects potential exposure of sensitive data.
  • Checks import order and ensures required MARK sections are present for readability and navigation.
  • Provides structured error and warning reports to guide developers during commit reviews.
  • Integrates with git pre-commit workflows to block faulty commits and prompt fixes.

Quick Start

Run the pre-commit check during a commit to automatically validate changed Swift files and prevent commits with violations.

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: crm-ios-pre-commit-checker
Download link: https://github.com/herren-official/product-agents/archive/main.zip#crm-ios-pre-commit-checker

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.