ios-naming-conventions

Validate Swift naming conformance in iOS code against Payoo Merchant project standards.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/daispacy/py-claude-marketplace --skill ios-naming-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-naming-conventions
Source: https://github.com/daispacy/py-claude-marketplace/tree/main/py-plugin/skills/ios-naming-conventions
Command: npx skills add https://github.com/daispacy/py-claude-marketplace --skill ios-naming-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates inconsistent and unclear naming in Swift code, which often leads to confusion, reduced readability, and increased onboarding time for new developers. It ensures your codebase speaks a consistent language, making it easier to understand and maintain.

Core Features & Use Cases

  • Comprehensive Validation: Automatically checks class names, variables, functions, and IBOutlets against established Swift naming standards (e.g., PascalCase for types, camelCase for variables).
  • Abbreviation Detection: Identifies and suggests fixes for common abbreviations (e.g., PayVC to PaymentViewController) and generic names, promoting descriptive identifiers.
  • Use Case: Before merging a pull request, activate this Skill to automatically scan all modified Swift files and generate a report highlighting naming violations, such as amt instead of paymentAmount or missing boolean prefixes like loading instead of isLoading.

Quick Start

Check the naming conventions in the 'UserViewModel.swift' file.

Frequently Asked Questions about ios-naming-conventions

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

FAQPage Schema
How do I enforce consistent naming conventions in Swift code?

Naming conventions in Swift enforce consistency by establishing rules for types (PascalCase), variables (camelCase), functions (verb-based camelCase), and IBOutlets. This Skill validates your code against these standards, identifying violations like generic abbreviations (`amt` instead of `paymentAmount`) and missing boolean prefixes (`loading` instead of `isLoading`), then generates a structured report of non-conformances.

Why do Swift naming conventions matter for code reviews?

Inconsistent naming reduces readability, increases onboarding friction, and complicates maintenance. Swift naming conventions establish a shared language across your codebase. Using this Skill during code reviews catches violations before merge, ensuring descriptive identifiers and preventing ambiguous abbreviations that slow down developer understanding.

What does this Skill check in iOS code?

This Skill performs static analysis on Swift files, validating class names, variables, functions, and IBOutlets against Payoo Merchant project standards. It detects PascalCase violations in types, camelCase deviations in variables, missing verb-based patterns in functions, and absent suffixes in IBOutlets, then outputs a comprehensive violation report.

Can I use this Skill to validate Swift code during pull requests?

Yes. Activate this Skill before merging to automatically scan all modified Swift files and generate a naming violations report. It identifies issues like abbreviated variable names, missing boolean prefixes, and non-descriptive identifiers, making it ideal for quality gates and automated code review workflows.

Does this Skill detect generic or unclear naming patterns?

Yes. The Skill includes abbreviation detection to identify and flag common generic names and unclear identifiers. It suggests fixes for patterns like `PayVC` (should be `PaymentViewController`) and `amt` (should be `paymentAmount`), promoting descriptive, self-documenting code.

What's the best way to onboard developers to Swift naming standards?

Run this Skill during developer onboarding to scan existing code and generate a baseline violations report. This teaches naming standards through real-world examples in your codebase, making implicit conventions explicit. Developers see exactly which patterns the project enforces before committing their own code.