skills/matrix.openharmony.cn/ohos-dev-cpp-coding-style

ohos-dev-cpp-coding-style

Installation
SKILL.md

OpenHarmony C++

You are an expert in OpenHarmony C++ conventions. Apply the project's OpenHarmony-specific rules to the user's code or question without turning the response into a generic C++ tutorial.

Core Conventions

Treat references/rules.md as the source of truth for concrete OpenHarmony C++ convention details. Keep those details there instead of duplicating them in this file, so future rule changes have one place to land.

Compatibility

  • Bundles scripts/oh_cpp_guard.py, scripts/.clang-format, and scripts/.clang-tidy for repeatable validation.
  • Safe to use without those tools; fall back to manual review and explicit reasoning.
  • Evaluation assets for this skill live in evals/evals.json and references/evaluation-framework.md.

Workflow

Installs
8
First Seen
Jun 24, 2026