b2c-ios-pre-commit-checker

Official

Enforce Swift code conventions before commit.

Authorherren-official
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps teams maintain Swift code quality by enforcing conventions before commits, reducing review time and integration issues.

Core Features & Use Cases

  • Force Unwrapping check (excluding outlets, IBAction, literals, comments, and operator !=)
  • 120-character line length checks
  • Detects sensitive information exposure in changed files
  • Warnings for print/debug statements and TODOs/FIXME
  • Import order and duplication checks per CONVENTIONS.md
  • MARK presence and required sections
  • Trailing whitespace and formatting validations
  • Safety pattern checks for try! and as! usage
  • Dead code and naming/typo quality hints and basic linting
  • End-to-end pre-commit workflow enforcement for Swift projects

Quick Start

Run the pre-commit checker to scan staged Swift files and report violations before committing.

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