contract-based-porting
CommunityGuarantee cross-language feature parity.
AuthorImL1s
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Cross-language porting often results in missing features or divergent behavior. This approach guarantees parity by porting contracts rather than lines, extracting the entire public API surface from a reference project first.
Core Features & Use Cases
- SSOT extraction: identify the reference's command/endpoint registry and capabilities to port the exact surface.
- Contract-driven tests: validate that the target implementation advertises and enforces all referenced contracts.
- Incremental porting: port contracts to Dart, wire up handlers, and iterate until parity is achieved across languages.
- Use cases: port Kotlin/Swift/Java features to Dart, migrate between frameworks, and maintain reliable feature parity.
Quick Start
Follow the three-step contract-based porting workflow: extract the SSOT from the reference project, write contract tests, and port implementations to meet the contract.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: contract-based-porting Download link: https://github.com/ImL1s/flutter-claude-skills/archive/main.zip#contract-based-porting Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.