بنقرة واحدة
arkweb-security-patch-conflict
Resolve ArkWeb patch merge conflicts while preserving upstream security fix intent.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Resolve ArkWeb patch merge conflicts while preserving upstream security fix intent.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Expert assistant for ArkTS-JS Interoperability in ArkCompiler (ArkTS runtime). 触发场景:修改/调试 ArkCompiler 互操作层代码(static_core/plugins/ets/runtime/interop_js/)、实现 ArkTS 与 JS 跨语言调用、处理 ETS 和 JS 之间的值转换(js_convert/JSRefConvert)、分析 Interop 内存泄漏与 GC 安全点、以及进行相关代码规范审查。
Guide for adding and maintaining ArkTS <-> JS/TS interoperability tests in ArkCompiler. 触发场景:在 plugins/ets/tests/interop_js/tests/ 目录下创建新的 ArkTS 与 JS/TS 互操作(Interop)测试用例、调试/维护已有 Interop 测试、编写 C++ 运行器(GTest runner)或声明文件(.d.ets)时。
Use when an OpenHarmony C++ change must be checked for call-chain completeness, especially for data propagation, IPC/proxy/stub paths, virtual overrides, callbacks, or dlopen/dlsym boundaries. Produces evidence tables and modification coverage matrices; the helper script only discovers candidate edges.
Use when the user wants to download OpenHarmony daily build images or flash them to a real device (DAYU200/RK3568 or others). Triggers on daily build, DAYU200, RK3568, flashing, burning, hdc reboot, upgrading firmware.
为 C/C++ 项目生成 LLVM libFuzzer FUZZ 测试用例、执行 26 条安全规范审查、生成语义化种子数据。 兼容 OpenHarmony / Linux / Android 构建系统。 触发关键词:fuzz 测试、生成 fuzzer、创建 fuzz 用例、fuzz 规范检查、fuzz_test、LLVMFuzzerTestOneInput、种子数据/corpus
ETS-JavaScript interop Promise bridging system in ArkCompiler. Use this skill when working on cross-language Promise conversion between ETS (ArkTS) and JavaScript, including JSConvertPromise Wrap/Unwrap, EtsPromise proxy creation, EtsPromiseRef bridging, CreatePromiseLink, OnJsPromiseCompleted callbacks, connectPromise, SettleJsPromise, PromiseInteropResolve/Reject, EtsAwaitPromise/AwaitProxyPromise, callback queue management, or any code under js_convert.h (Promise section), js_job_queue, ets_promise, ets_promise_ref, std_core_Promise.cpp, or PromiseInterop.ets. Also use when debugging cross-VM Promise state synchronization, coroutine suspension/resumption during await, or napi_deferred lifecycle issues.
| name | arkweb-security-patch-conflict |
| description | Resolve ArkWeb patch merge conflicts while preserving upstream security fix intent. |
| descriptionZH | ArkWeb 冲突解决技能。git apply 失败或上下文漂移后,在允许文件范围内执行最小等价手工写入,并保持上游安全修复语义一致。 |
| tags | ["ArkWeb","conflict","merge"] |
用于 arkweb-security-patch-conflict-resolver。
遇到手工落地、manual_attempted / manual_applied、旧 blocker 清理和 issue 过滤 diff 裁决时,先读本 skill 内的 references/manual-landing-contract.md。不要引用其它 skill 的脚本或 md。
单 issue 模式写入 .ace-outputs/{runId}/07_conflict_resolution.md。
批量模式必须逐个 issue 处理,读取 .ace-outputs/{runId}/issues/{issue_id}/06_merge_result.md/json 中记录的目标子仓、patch_normalization[]、modified_files[] 和 blockers,并在当前工程目标 git 子仓内执行最小等价手工写入;每个 issue 写入 .ace-outputs/{runId}/issues/{issue_id}/07_conflict_resolution.md,总览写入 .ace-outputs/{runId}/07_conflict_resolution.md。
必须包含:
modified_files[] 范围内做最小等价改动。patch does not apply、三方合并缺 blob、上下文漂移和空 diff,不能只复述 git apply 失败;必须尝试最小手工写入,除非能证明不可在允许范围内完成。manual_attempted=false 和 manual_skip_reason。manual_attempted=true、manual_rewrite=true、最终变更文件、关键语义对应关系,并清除旧的 patch_apply_failed:*、no_real_file_change;旧 worktree_add_failed 只作为历史失败记录,不参与当前裁决。manual_applied=true、semantic_landed=true,清空当前合入 blocker,并允许该 issue 进入 ready_for_next。manual_attempted=true、manual_applied=false,保留最新 blocker,不能进入 ready_for_next。final_changed_files 必须只列出当前 issue 的允许文件和已登记本地适配文件。全局 worktree diff 只能作为诊断输入,不能原样写入该 issue 的结果。duplicate_file_overlap 和 deferred_for_archive;非 winner issue 不进入冲突解决。不得把非 winner 的重叠文件强行写入 winner issue 的结果。manual_attempted 状态变化或 diff 变化,必须输出 no_progress 并停止继续空转。