code-analyzer

Analyze Swift/macOS codebases and document code quality and architectural concerns.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/kmshdev/claude-swift-toolkit --skill code-analyzer-kmshdev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-analyzer
Source: https://github.com/kmshdev/claude-swift-toolkit/tree/main/skills/code-analyzer
Command: npx skills add https://github.com/kmshdev/claude-swift-toolkit --skill code-analyzer-kmshdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manual code reviews and architecture assessments are time-consuming and error-prone, especially for large Swift/macOS projects. This skill provides a structured read‑only analysis that prioritizes code quality, architecture patterns, and security considerations without modifying the codebase.

Core Features & Use Cases

  • Structured review checklist covering organization, error handling, performance, security, and test coverage.
  • Module and architecture tracing to identify entry points, module graph, and pattern usage (MVVM, TCA, Hybrid).
  • Actionable recommendations with references to affected files and lines to guide improvements in PRs and design reviews.

Quick Start

Analyze a Swift/macOS project with this skill to generate a comprehensive read-only review that can be attached to a PR.

Frequently Asked Questions about code-analyzer

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

FAQPage Schema
How do I perform a read-only code review for a Swift macOS project?▼

A read-only code review for a Swift macOS project analyzes the codebase without modifying files, mapping entry points and tracing module graphs to document architectural patterns and quality concerns. It generates a structured checklist covering organization, error handling, performance, security, and test coverage.

What is the best way to identify architecture patterns like MVVM or TCA in a Swift codebase?▼

Identifying architecture patterns in a Swift codebase involves tracing the module graph and mapping entry points to evaluate pattern usage. This analysis detects structures like MVVM, TCA, or Hybrid approaches, providing actionable recommendations with references to affected files and lines.

Can I use automated code analysis for PR audits without changing the codebase?▼

Yes, automated read-only code analysis evaluates Swift codebases deterministically without mutating any files, making it suitable for PR audits. It provides a structured review checklist and actionable insights that can be directly attached to pull requests.

Does Swift code analysis cover security considerations and test coverage?▼

Swift code analysis covers security considerations and test coverage by generating a structured review checklist. This checklist evaluates organization, error handling, performance, and security risks, delivering actionable recommendations for design improvements.

How do I trace module dependencies and entry points in a macOS application?▼

Tracing module dependencies in a macOS application involves mapping entry points and generating a module graph to document architectural patterns. This read-only analysis identifies how modules interact, providing a structured checklist for risk analysis and design reviews.