project-exemption

Enforce DispatchQueue and NSLock concurrency for FileTransferManager.swift.

34|1|Updated Dec 20, 2025
One-click install
npx skills add https://github.com/wang93wei/SwiftMTP --skill project-exemption
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-exemption
Source: https://github.com/wang93wei/SwiftMTP/tree/main/.iflow/skills/project-exemption
Command: npx skills add https://github.com/wang93wei/SwiftMTP --skill project-exemption

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses a critical stability issue where the file transfer module crashes when using Swift 6 concurrency features, ensuring the application remains functional.

Core Features & Use Cases

  • Module Stability: Prevents crashes in the FileTransferManager.swift by enforcing the use of traditional concurrency models.
  • Compatibility Enforcement: Mandates the use of DispatchQueue and NSLock for the file transfer module, while allowing other modules to adopt Swift 6 features.
  • Use Case: When developing new features for SwiftMTP, this rule ensures that any changes to the file transfer logic do not introduce instability due to premature adoption of Swift 6 concurrency.

Quick Start

Apply the project-exemption rule to the FileTransferManager.swift file to maintain its traditional concurrency model.

Frequently Asked Questions about project-exemption

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

FAQPage Schema
Why does my file transfer module crash when using Swift 6 concurrency features?

Swift 6 concurrency features can cause crashes in file transfer modules; enforcing traditional models like DispatchQueue and NSLock prevents this instability while maintaining application functionality.

How do I prevent Swift 6 concurrency crashes in my file transfer module?

To prevent Swift 6 concurrency crashes, apply a project exemption rule mandating traditional concurrency models using DispatchQueue and NSLock instead of new Swift 6 features for the file transfer module.

Can I use Swift 6 concurrency features in other modules while keeping the file transfer module stable?

Yes, a project exemption rule isolates the file transfer module by enforcing DispatchQueue and NSLock, allowing other application modules to safely leverage Swift 6 concurrency advancements.

What is the best way to enforce traditional concurrency in a Swift file transfer module?

The best way to enforce traditional concurrency in a Swift file transfer module is applying a project exemption rule that mandates DispatchQueue and NSLock, preventing crashes from premature Swift 6 concurrency adoption.

When should I exempt a module from Swift 6 concurrency strictness?

Exempt a module from Swift 6 concurrency strictness when it handles critical operations like file transfer; mandating DispatchQueue and NSLock prevents application crashes associated with premature adoption of new concurrency features.