R021: hypium版本号>=1.0.26

Official

Ensure XTS projects use compliant hypium versions

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents build-time and runtime inconsistencies by ensuring independent XTS projects declare a compliant minimum version of @ohos/hypium in their root oh-package.json5.

Core Features & Use Cases

  • Detects version violations: Scans each independent XTS project’s root oh-package.json5 and checks devDependencies.@ohos/hypium is >= 1.0.26.
  • Avoids false positives from JSON5 comments: Ignores entries that are commented out with //, so disabled dependencies do not trigger errors.
  • Produces actionable findings: Reports the exact file path, line number, detected version snippet, and a formatted suggestion for upgrading.

Quick Start

Ask the AI to run rule R021 to scan all independent XTS project roots and report any oh-package.json5 entries where devDependencies.@ohos/hypium is below 1.0.26.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: R021: hypium版本号>=1.0.26
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#r021-hypium-1-0-26

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.