swift-java-migration

Installation
SKILL.md

Java to Swift Migration

The target is equivalent capability and behavior, not line-by-line resemblance. Compiling Swift is an intermediate checkpoint only.

Non-negotiable completion contract

  • Record every in-scope Java class, interface, enum, record, annotation, nested type, constructor, method, and externally visible contract.
  • Every record is IMPLEMENTED, ADAPTED with evidence, or explicitly excluded with approved rationale. Stubs, fatalError, empty bodies, placeholders, and silent omissions do not count.
  • Preserve values, errors, ordering, state, concurrency, serialization, resources, and side effects unless an intentional change is approved.
  • Swift-native architecture may replace Java mechanics but cannot reduce capability.
  • Do not declare completion before swift-java-migration-testing passes full source-test and differential gates.

Workflow

1. Freeze scope and baselines

Record source/target commits, Java and Swift tools, modules/targets, generated sources, platforms, feature flags, external dependencies, and exclusions. Capture the Java build/test baseline first.

2. Build the source ledger

Installs
2
First Seen
7 days ago
swift-java-migration — full-stack-skills/swift-skills