·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