oh-pr-workflow

Official

Automate OpenHarmony PR creation, review, and fixes.

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill removes the repetitive effort of managing the full OpenHarmony PR lifecycle on GitCode, including standardized commits, Issue/PR creation, gate/codecheck defect fixing, and review comment remediation.

Core Features & Use Cases

  • Standardized PR lifecycle on GitCode: creates DCO-signed commit messages, links/creates Issues, pushes to forks, and opens upstream PRs with CI trigger comments.
  • Gate (codecheck) defect auto-fixing: fetches failed gate defects from DCP using PR gate comment identifiers and applies best-effort fixes for known rules.
  • PR code review assistance with diff-aware mapping: pulls exact PR commits/files, prepares local review branches, presents review findings, and can auto-apply fixes for unresolved line-level review comments.
  • Use Case: When a PR fails the “代码门禁未通过” gate, fetch the defect list, auto-fix formatting/naming/nullptr issues where supported, squash into the original commit, and re-trigger build.

Quick Start

Run: /oh-pr-workflow 创建PR

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: oh-pr-workflow
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#oh-pr-workflow

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.