combine-code-review

Community

Swift Combine code quality checks.

Authorjavierhbr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps Swift developers identify and fix common issues in their Combine framework code, preventing bugs related to memory leaks, operator misuse, and improper error handling.

Core Features & Use Cases

  • Memory Leak Detection: Identifies potential retain cycles caused by improper handling of AnyCancellable and strong self-captures.
  • Operator Misuse: Checks for incorrect usage of Combine operators like flatMap and switchToLatest.
  • Error Handling Validation: Ensures errors are handled gracefully and publisher chains remain alive.
  • Use Case: Before merging a feature branch, run this Skill on the new Combine code to catch a potential memory leak in a sink closure that could lead to UI crashes.

Quick Start

Use the combine-code-review skill to analyze the provided Swift code for Combine-related issues.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: combine-code-review
Download link: https://github.com/javierhbr/random-poc/archive/main.zip#combine-code-review

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.