Oh graphic gitcode pr creator

From openharmonyinsight/openharmony-skills · View interactive version

Oh graphic gitcode pr creator is an AI agent skill from the GitHub repository openharmonyinsight/openharmony-skills. 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 P

How to use this skill

Skill file

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/PULL_REQUEST_TEMPLATE.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:

4. Create Issue

Use gitcode_create_issue to create issue with:

5. Create PR

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

Use gitcode_create_pull_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:

Bug Fix PRs

For bug fixes:

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.