/ios-workflow:swift6-checkfrom ios-workflow
Scans an Xcode project for Swift 6 strict concurrency violations across categories like @MainActor, singletons, and Sendable. Optionally scoped to a single category.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /ios-workflow:swift6-check still runs it.
Project context: Values in angle brackets below (e.g.
<scheme>,<JIRA_KEY>,<flag-key-enum>) are resolved at runtime — detect them from the project (xcodebuild -list -jsonfor the scheme,git/ghfor repo & owner, the branch name for the Jira key, a codebase search for flag/font files), or ask if they cannot be inferred. This plugin ships no per-project config.
Analyze the current Swift 6 strict concurrency readiness. This is a dry-run — no code is modified.
If $ARGUMENTS is provided, scope the check to that category only (e.g., mainactor, singletons, dispatch-queue, completion-handlers, sendable, delegates).
If no argument, run a full scan.
Read docs/swift6-migration-status.md to understand what has already been migrated.
For each category (or the specified one), run targeted searches:
# ViewModels WITHOUT @MainActor
grep -rl "class.*ViewModel.*ObservableObject" <scheme>/ --include="*.swift" | while read f; do
grep -L "@MainActor" "$f"
done
Report: total ViewModels, annotated count, remaining count, list of unannotated files.
grep -rn "DispatchQueue\.main\.async" <scheme>/ --include="*.swift"
Report: total occurrences, files affected, top 10 files by count.
grep -rn "completion:.*@escaping" <scheme>/ --include="*.swift"
Report: total occurrences, files affected, top 10 files by count.
grep -rn "static var shared\|static let shared" <scheme>/ --include="*.swift"
For each singleton, check if it has @MainActor, actor isolation, or lock synchronization.
Report: total singletons, protected count, unprotected count, list with file paths.
# Classes without @Sendable or Sendable conformance
grep -rn "^class \|^final class \|^public class \|^public final class " <scheme>/ --include="*.swift" | grep -v "@Sendable\|: Sendable"
Report: total classes, Sendable count, remaining count.
grep -rn "weak var.*delegate" <scheme>/ --include="*.swift"
Report: total delegates, files affected.
If the user requests it or if config checklist shows targeted is enabled:
xcodebuild -scheme <scheme> -destination 'platform=iOS Simulator,name=iPhone 11,OS=latest' \
OTHER_SWIFT_FLAGS='-strict-concurrency=complete' \
-quiet build 2>&1 | grep -c "warning:"
Report total warnings count.
Output a summary table:
## Swift 6 Readiness Report
| Category | Total | Done | Remaining | Priority |
|----------|-------|------|-----------|----------|
| @MainActor ViewModels | X | X | X | HIGH |
| DispatchQueue.main.async | X | X | X | HIGH |
| Completion handlers | X | X | X | HIGH |
| Mutable singletons | X | X | X | CRITICAL |
| @Sendable classes | X | X | X | MEDIUM |
| Delegate patterns | X | X | X | LOW |
Recommended next: /swift6-fix <type>
If live counts differ from docs/swift6-migration-status.md, update the file with accurate numbers.
/swift6-fix session to get current state/swift6-fix session to verify progressWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub carloshpdoc/ios-workflow-claude --plugin ios-workflow22 commands in this plugin
/apollo-checkApollo Repository Investigation> **Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project (`xcodebuild -list -json` for the scheme, `git`/`gh` for repo & owner, the branch name for the Jira key, a codebase search for flag/font files), or ask if they cannot be inferred. This plugin ships no per-project config./apollo-migrateApollo Repository Migration> **Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project (`xcodebuild -list -json` for the scheme, `git`/`gh` for repo & owner, the branch name for the Jira key, a codebase search for flag/font files), or ask if they cannot be inferred. This plugin ships no per-project config./apollo-reviewApollo Migration Self-Review> **Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project (`xcodebuild -list -json` for the scheme, `git`/`gh` for repo & owner, the branch name for the Jira key, a codebase search for flag/font files), or ask if they cannot be inferred. This plugin ships no per-project config./apollo-statusApollo Migration Status> **Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project (`xcodebuild -list -json` for the scheme, `git`/`gh` for repo & owner, the branch name for the Jira key, a codebase search for flag/font files), or ask if they cannot be inferred. This plugin ships no per-project config./apollo-tasksCreate Apollo Migration Jira Tasks> **Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project (`xcodebuild -list -json` for the scheme, `git`/`gh` for repo & owner, the branch name for the Jira key, a codebase search for flag/font files), or ask if they cannot be inferred. This plugin ships no per-project config./bumpBump VersionBump the app version or build number across all targets in the current project.