Agent skill · Code Review & Quality

coding-best-practices

Reviews Swift/iOS code for adherence to modern Swift idioms, Apple platform best practices, architecture patterns, and code quality standards. Use when user mentions best practices, code review, clean code, refactoring, or wants to improve code quality.

rshankrasgithub.com/rshankrasGitHub ↗
claude-coderead-onlyMIT
Install
npx skills add rshankras/claude-code-apple-skills --skill coding-best-practices --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 6
SKILL.md size: 10 KB
Bundled scripts: none
Allowed tools: ReadGlobGrep
Path: skills/ios/coding-best-practices/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 589
Language: Swift

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Coding Best Practices Skill Reviews Swift/iOS code for adherence to modern Swift idioms, Apple platform best practices, architecture patterns, and code quality standards. ## When This Skill Activates Use this skill when the user: - Asks for code review or code quality check - Mentions "best practices", "clean code", or "refactoring" - Wants to improve existing code - Requests architecture or design pattern review - Asks about Swift idioms or modern patterns - Wants performance optimization suggestions ## Review Process ### 1. Identify Scope - If user specifies files/classes, review those - Otherwise, ask which areas to focus on or review recent changes - Prioritize ViewModels, business logic, and data layer over simple views ### 2. Load Reference Patterns Before starting the review, familiarize yourself with the reference patterns by reading the following files in `.claude/skills/coding-best-practices/`: - **swift-patterns.md** - Optionals, type safety, collections, error handling, naming - **swiftui-patterns.md** - State management, view composition, performance - **architecture-patterns.md** - MVVM, code organization, memory management, security - **coredata-patterns.md** - Cor

What's inside
Steps it walks through
  1. When This Skill Activates
  2. Review Process
  3. 1. Identify Scope
  4. 2. Load Reference Patterns
  5. 3. Review Categories
  6. 4. Review Output Format
  7. Review Checklist
  8. Swift Language
  9. SwiftUI
  10. Architecture
  11. Core Data
  12. Memory Management
  13. Testing & Security
  14. Modern SwiftUI Baseline (What to Reach For Today)
Ships with 5 files
  • architecture-patterns.md
  • coredata-patterns.md
  • rules/swiftlint.yml
  • swift-patterns.md
  • swiftui-patterns.md
More from claude-code-apple-skills
All skills →
About this skill
What does the coding-best-practices skill do?

Reviews Swift/iOS code for adherence to modern Swift idioms, Apple platform best practices, architecture patterns, and code quality standards. Use when user mentions best practices, code review, clean code, refactoring, or wants to improve code quality.

How do I install it?

Run `npx skills add rshankras/claude-code-apple-skills --skill coding-best-practices --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going