coding-best-practices

Review Swift/iOS code for MVVM adherence and modern idioms.

Updated Aug 5, 2025
One-click install
npx skills add https://github.com/DishaAnand/FocusNest --skill coding-best-practices-dishaanand
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: coding-best-practices
Source: https://github.com/DishaAnand/FocusNest/tree/main/.agents/skills/ios-development/coding-best-practices
Command: npx skills add https://github.com/DishaAnand/FocusNest --skill coding-best-practices-dishaanand

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides structured Swift/iOS code quality reviews to improve readability, maintainability, and adherence to modern idioms, architecture patterns, and best practices.

Core Features & Use Cases

  • Code quality reviews: Identify issues in Swift code, from naming to architecture.
  • Best practices guidance: Suggest modern Swift and iOS patterns (MVVM, memory management, error handling).
  • Use Case: When you want a comprehensive code review after implementing a feature or before merging, the skill analyzes ViewModels, Core Data usage, and UI separation.

Quick Start

Use the coding-best-practices skill to review a Swift file, for example ExpenseViewModel.swift, focusing on idioms, naming, error handling, and MVVM separation.

Frequently Asked Questions about coding-best-practices

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

FAQPage Schema
How do I review Swift code for MVVM architecture and memory management?▼

A Swift code quality review evaluates MVVM separation, memory management, and naming conventions. It analyzes ViewModels and data layers to enforce modern idioms and outputs a concise improvement report.

What are the best practices for improving Swift iOS code readability and maintainability?▼

Best practices for Swift iOS readability involve enforcing modern idioms, proper error handling, and architecture patterns. Reviewing code against these guidelines ensures maintainability across ViewModels and Views.

Can I get an automated code review for my iOS ViewModels and Core Data usage?▼

You can review iOS ViewModels and Core Data usage by running a structured code quality analysis. This process identifies architectural issues and provides a report with strengths and recommended changes.

Does this code review approach work for checking Swift error handling and UI separation?▼

Yes, this code review approach works for checking Swift error handling and UI separation. It evaluates adherence to architecture patterns and modern Swift idioms across Views and data layers.

How do I enforce modern Swift idioms and naming conventions in my iOS project?▼

To enforce modern Swift idioms and naming conventions, perform a structured code review focusing on readability and maintainability. This identifies deviations from best practices and suggests modern patterns.