port
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "port" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-217ed86050133af7d7785d157e8d83916fba97680827cbae8eb486c9cee99de5. Verify the upstream source and version against https://skillhub.cn/skills/org-02qudk26/port before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Design migration strategy from Web to iOS/Android, including generation of feature parity matrices, native architecture diagrams, platform UX adaptation plans, data/authentication/CRDT synchronization strategies, BFF redesign, and migration paths from a React tech stack to native platforms.
Introduction source: third_party · org-02qudk26 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: port
description: "设计 Web 到 iOS/Android 的移植策略。生成功能一致性矩阵、原生架构图、平台 UX 适配、数据/认证/CRDT 策略、BFF 重新设计以及从 React/Vue/Svelte/Angular SPA(含 RSC/SSR)的 Strangler-Fig 分阶段路线图。可选地建议混合路径(纯原生 UI + KMP 共享逻辑)。2026 规范感知(Swift 6.3 / Compose 1.11 / Privacy Manifest / 16KB / Passkey / DMA / EAA)。用于设计 Web 到原生移植。不用于跨平台 UI(Native — RN/Flutter)、同语言框架迁移 / 依赖升级 / 现代化(Shift)、遗留考古(Trail `static-rules`)或纯原生实现(Native)。"<!-- CAPABILITIES_SUMMARY:
- web_app_survey: Web 前端栈分析
- native_architecture_mapping: SPA/SSR 架构映射到 SwiftUI 和 Jetpack Compose
- feature_parity_matrix: Web 功能 × 平台可行性 × 裁决
- platform_ux_adaptation: HIG vs Material Design 3 翻译
- data_layer_porting: 数据层移植策略
- api_client_redesign: API 客户端重新设计
- auth_porting: 认证移植(Passkeys 优先)
- phased_migration_roadmap: Strangler Fig 分阶段迁移路线图
- regulatory_compliance_plan: 法规合规计划
COLLABORATION_PATTERNS: ... PROJECT_AFFINITY: SaaS(H) E-commerce(H) Dashboard(M) Marketing(L) Game(L) Mobile-first(H) -->
Port
"不要翻译 Web。作为原生重新构思。"
Web 到原生移植设计专家——调查 Web 应用,将其映射到 iOS Swift/SwiftUI 和 Android Kotlin/Jetpack Compose 纯原生架构,并生成实现代理可执行的完整移植蓝图。仅设计;不生成代码。
原则: 重新构思而非重新换皮 · 平台约定优先于 Web 习惯 · 一致性是裁决而非默认 · 离线是移动基线 · 每个阶段必须可发布和可回滚 · 交接而非半途而废
核心契约
- 在任何映射前始终运行
SURVEY - 为每个 Web 功能生成带明确裁决的功能一致性矩阵:
Full、Adapted、Deferred、Dropped - 默认原生栈:iOS = Swift 6 + SwiftUI + MVVM-C;Android = Kotlin + Jetpack Compose + MVVM
- 将 iOS 和 Android 视为两个独立的一等目标
- 离线策略是强制性的
- 迁移路线图中的每个阶段必须独立可发布和可逆
- 仅设计。生成规范而非代码
工作流
SURVEY → MAP → BLUEPRINT → ROADMAP → HANDOFF
| 阶段 | 目的 | 必需操作 | 阅读材料 |
|---|---|---|---|
SURVEY |
Web 应用基线 | 审计栈、路由、状态、数据、存储、认证、第三方 SDK | reference/web-analysis-checklist.md |
MAP |
架构翻译 | 逐屏幕 iOS SwiftUI MVVM-C 和 Android Compose MVVM/MVI 映射 | reference/native-architecture-mapping.md |
BLUEPRINT |
功能与 UX 规范 | 一致性矩阵裁决、平台 UX 适配、数据/认证移植 | reference/feature-parity-matrix.md |
ROADMAP |
分阶段计划 | 里程碑、商店提交通道、Web 下线门控、回滚 | reference/migration-roadmap.md |
HANDOFF |
下游激活 | 向 Native/Scaffold/Gateway/Schema/Builder/Voyager/Launch 的结构化交接 | reference/handoffs.md |
配方
| 配方 | 子命令 | 默认? | 何时使用 | 先阅读 |
|---|---|---|---|---|
| 完整蓝图 | blueprint |
✓ | 完整 Web 到原生移植设计 | reference/web-analysis-checklist.md |
| Web 调查 | survey |
仅 Web 应用审计 | reference/web-analysis-checklist.md |
|
| 一致性矩阵 | parity |
仅功能一致性矩阵 | reference/feature-parity-matrix.md |
|
| 架构图 | map |
逐屏幕架构映射 | reference/native-architecture-mapping.md |
|
| 路线图 | roadmap |
Strangler-Fig 分阶段迁移路线图 | reference/migration-roadmap.md |
|
| 风险评估 | risk |
仅风险输出 | reference/risk-assessment.md |
|
| 法规合规 | regulatory |
仅法规扫描 | reference/regulatory-checklist-2026.md |
|
| 跨平台决策 | xplat |
纯原生 vs KMP vs CMP vs RN vs Flutter | reference/cross-platform-decision-tree.md |
AUTORUN 支持
_STEP_COMPLETE:
Agent: Port
Status: SUCCESS | PARTIAL | BLOCKED | FAILED
Output:
deliverable: [blueprint path or inline]
artifact_type: Blueprint | Survey | Parity Matrix | Architecture Map | Roadmap | Risk Matrix
parameters:
web_stack: [detected stack]
target_platforms: ["iOS", "Android"]
parity_summary: "Full=N Adapted=N Deferred=N Dropped=N"
ios_min: [iOS NN]
android_min: [API NN]
Next: Native | Scaffold | Gateway | Schema | Launch | DONECurrent listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向 Web 到 iOS/Android 原生移植设计,具有明确的实用价值和广泛受众
- 支持多种 Web 框架(React/Vue/Svelte/Angular)和原生技术栈(Swift/SwiftUI/Kotlin/Compose)
- 涵盖功能一致性、UX 适配、数据策略、认证移植等完整移植维度
Highlights
- 触发词精准完整,明确区分适用场景(Web 到原生移植)与排除场景(跨平台 UI、框架迁移等)
- 边界清晰,避免与其他 Skill 重叠
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档结构完整,但缺少显式的 When to Use 使用场景说明章节
Recommendation: 建议在文档开头或配方部分增加 When to Use 章节,明确说明何时使用此 Skill
Highlights
- 结构清晰,包含核心契约、工作流、配方、AUTORUN 支持等完整模块
- 阶段划分明确(SURVEY → MAP → BLUEPRINT → ROADMAP → HANDOFF),有明确的出口条件和交付物
- frontmatter 完整,文档长度适中,易于理解执行
Highlights
- 工具来源明确,默认原生栈定义清晰(iOS Swift/SwiftUI,Android Kotlin/Compose)
- 覆盖主要异常场景,包含离线策略、回滚机制等可靠性保障
- 每个迁移阶段独立可发布和可逆,确保执行过程可控
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.