openharmonyinsight/openharmony-skills

oh-graphic-gitcode-pr-creator

Automate Gitcode Pull Request creation workflow for OpenHarmony graphic subsystem including code commit, issue creation, and PR submission with proper template formatting.

First seen Feb 13, 2026

Installation

$ npx skills add openharmonyinsight/openharmony-skills --skill oh-graphic-gitcode-pr-creator

Summary

  • Automate Gitcode Pull Request creation workflow for OpenHarmony graphic subsystem including code commit, issue creation, and PR submission with proper template formatting.
  • Use when user needs to create a PR for the Gitcode platform, especially for OpenHarmony graphic projects that require specific PR templates with CodeCheck tables and Signed-off-by tags.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from openharmonyinsight/openharmony-skills · top by installs.

npx skills add openharmonyinsight/openharmony-skills

Browse all from openharmonyinsight/openharmony-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 33
Default branch main
Open issues 2
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,898 B
  • docs SUMMARY.md 394 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 59 installs

SKILL.md

OpenHarmony Graphic Gitcode PR Creator

Quick Start

Create a Gitcode PR by following these steps:

  1. Check git status - Verify modified files
  2. Commit changes - Add Signed-off-by to commit message
  3. Push to remote - Push branch to origin
  4. Create Issue - Create related issue
  5. Create PR - Use PR template from .gitcode/PULLREQUESTTEMPLATE.zh-CN.md

Workflow

1. Check Git Status

git status
git diff <file>

2. Commit Changes

Get user config and create commit with Signed-off-by:

git config user.name
git config user.email
git add <files>
git commit -m "<message>\n\nSigned-off-by: <name> <<email>>"

3. Push to Remote

git push origin <branch-name>

Note: You need to ask the user for the target branch name before creating the PR. Common options:

  • master (default for most cases)
  • OpenHarmony-6.1-Release (for 6.1 release branch)

4. Create Issue

Use gitcodecreateissue to create issue with:

  • Title: PR title
  • Body: Description of changes

5. Create PR

Read PR template from .gitcode/PULLREQUESTTEMPLATE.zh-CN.md and fill in:

  • Description: Summary of changes
  • Issue number: Link to created issue
  • Test & Result: Test information
  • CodeCheck: Fill all self-check results with "Pass"
  • L0新增用例自检结果: Check appropriate box

Use gitcodecreatepull_request with formatted body.

CodeCheck Template

When filling CodeCheck table, ensure all rows have "Pass" in the result column:

类型 自检项 自检结果
多线程 ... Pass
内存操作 ... Pass
外部输入 ... Pass
敏感信息 ... Pass
数学运算 ... Pass
初始化 ... Pass
权限管理 ... Pass

Common Patterns

Test Optimization PRs

For test file optimizations:

  • Description: "Optimize <test_file> - remove redundant code and improve coverage"
  • CodeCheck: All Pass (test code doesn't typically trigger security checks)
  • L0用例: Check "是,有新增L0用例,且完成自检"

Bug Fix PRs

For bug fixes:

  • Description: "Fix <bug_description> in <file>"
  • Test & Result: Describe test scenario and expected behavior
  • CodeCheck: All Pass

Important Notes

  • Always use the Chinese PR template for OpenHarmony projects
  • Ensure branch name is descriptive
  • Link PR to issue for traceability
  • Force push with --force when amending commits