一键导入
angular-ts-to-js-migration
Rules and workflow for migrating Angular TypeScript components to plain ES module JavaScript for the scripts/ bridge layer
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Rules and workflow for migrating Angular TypeScript components to plain ES module JavaScript for the scripts/ bridge layer
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Rules and workflow for integrating Constellation Mobile SDK into a Compose Multiplatform application
Rules and guidelines for overriding UI field components in the Compose Multiplatform SDK
Rules and guidelines for writing Android instrumented UI tests for the android-cmp-app sample
Rules and guidelines for creating components in the core Kotlin module
Rules and guidelines for writing unit tests for JavaScript components in the scripts/ bridge layer
Rules and guidelines for creating Compose Multiplatform UI components in the ui-components-cmp module
| name | angular-ts-to-js-migration |
| description | Rules and workflow for migrating Angular TypeScript components to plain ES module JavaScript for the scripts/ bridge layer |
When migrating .ts (Angular) components to .js:
@Component, @Input), and TypeScript typesFieldBaseComponent if possible and reasonable.ContainerBaseComponent if possible and reasonable.BaseComponentngOnInit → init() with componentsManager.onComponentAdded(this)ngOnDestroy → destroy() with super.destroy() and componentsManager.onComponentRemoved(this)onStateChange into checkAndUpdate()updateSelf → #updateSelf() (private); add #sendPropsUpdate() at endupdate(pConn, ...) method for external re-renderingthis.pConn$ → this.pConn; remove all as any casts