What problem does it solve?
This Skill automates the repetitive GitCode workflow of creating issues and pull requests (and optionally kicking off builds) when using the oh-gc CLI, including authentication setup and safe handling of commits and existing PRs.
Core Features & Use Cases
- Auth & repo initialization: Sets up git credential storage, validates/uses
assets/config.json credentials, and prepares GitCode remotes for upstream and fork operations.
- Issue → PR lifecycle automation: Creates an Issue from a required label-matched template, then creates a PR that links the created Issue via the PR template’s IssueNo field.
- Commit and existing-PR handling: Detects whether the user already committed changes; uses
git commit -s -m ... with a required Co-Authored-By marker for new commits, and supports git commit --amend + force-push to update the previous PR without recreating it.
- Optional build trigger: After PR creation, asks whether to start build, waits for initialization, and posts a PR comment to start build with up to 3 retries.
Quick Start
Ask the AI to run the audio_pr_create workflow to create an issue and open a PR on OpenHarmony’s multimedia_audio_framework repo using the configured GitCode token.