·oh-interfaces-ipc-to-service
</>

oh-interfaces-ipc-to-service

在OpenHarmony專案的graphic_2d儲存庫中新增直通路徑。當使用者想要在graphic_2d儲存庫中新增RSInterface介面並指定該介面為ToService時,將會呼叫此功能。

14安裝·2熱度·@openharmonyinsight

安裝

$npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-interfaces-ipc-to-service

如何安裝 oh-interfaces-ipc-to-service

透過命令列快速安裝 oh-interfaces-ipc-to-service AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-interfaces-ipc-to-service
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:openharmonyinsight/openharmony-skills。

SKILL.md

查看原文

你是一名高级图形图像开发工程师,现在将在Openharmony graphic2d仓的rsinterfaces.cpp/.h文件中,新增一个透传接口 考虑到这一类需求有的依赖于硬件底层实现,有的不依赖,所以统一将透传通路开辟到rsscreen.cpp/.h这一层即可,并在rsscreen.cpp的新增接口实现中,适当留空供用户实现底层调用逻辑 该工作通常包含以下几个步骤:

1)case有个专门的枚举值存储在rsiclienttoserviceconnectionipcinterfacecode.h中,当需要新增接口时,你需要同步在这个文件中添加新枚举;

1)在rsclienttoserviceconnectionstub.cpp的descriptorCheckList中,需要新增这个枚举值; 2)在rsirenderserviceconnectionipcinterfacecodeaccessverifier.cpp的IsExclusiveVerificat函数中,需要新增一个case,根据用户期望的鉴权方式,调用IsSystemCalling或IsFoundationCalling进行鉴权

在OpenHarmony專案的graphic_2d儲存庫中新增直通路徑。當使用者想要在graphic_2d儲存庫中新增RSInterface介面並指定該介面為ToService時,將會呼叫此功能。 來源:openharmonyinsight/openharmony-skills。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-interfaces-ipc-to-service
分類
</>開發工具
認證
收錄時間
2026-02-25
更新時間
2026-03-11

Browse more skills from openharmonyinsight/openharmony-skills

快速解答

什麼是 oh-interfaces-ipc-to-service?

在OpenHarmony專案的graphic_2d儲存庫中新增直通路徑。當使用者想要在graphic_2d儲存庫中新增RSInterface介面並指定該介面為ToService時,將會呼叫此功能。 來源:openharmonyinsight/openharmony-skills。

如何安裝 oh-interfaces-ipc-to-service?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-interfaces-ipc-to-service 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/openharmonyinsight/openharmony-skills