oh-pdd-design-doc-generator

Generate HarmonyOS/OpenHarmony architecture and functional design documents from PRDs.

31|6|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-pdd-design-doc-generator
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: oh-pdd-design-doc-generator
Source: https://github.com/openharmonyinsight/openharmony-skills/tree/main/skills/oh-pdd-design-doc-generator
Command: npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-pdd-design-doc-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill includes references (resource) components.

What problem does it solve?

This Skill turns PRD inputs into structured HarmonyOS/OpenHarmony design documents while enforcing a strict chapter order and performing prior codebase analysis to keep the design compatible with existing architecture.

Core Features & Use Cases

  • PRD-driven Design Document Generation: Automatically generates both architecture design and functional design documents from a given PRD.
  • OpenHarmony Codebase Analysis for Compatibility: Scans bundle/build/interface/config files to extract component structure, dependencies, and interface references before writing design docs.
  • Mandatory Competitor Analysis in Architecture Chapter 2: Validates that Chapter 2 is exactly β€œη«Άε“ζ–Ήζ‘ˆεˆ†ζžβ€ and positioned between β€œιœ€ζ±‚θƒŒζ™―β€ and β€œιΈΏθ’™η³»η»ŸζžΆζž„εˆ†ζžβ€.
  • Standardized Outputs & Templates: Produces architecture_vX.md and functiondesign_vX.md with consistent sections, diagrams, and mapping rules.

Quick Start

Generate both architecture and functional design documents from your PRD by asking the AI to run the oh-pdd-design-doc-generator skill with the PRD file path.

Frequently Asked Questions about oh-pdd-design-doc-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate HarmonyOS architecture and functional design documents from a PRD?β–Ό

Generating architecture and functional design documents from a PRD involves mapping requirement sections to standardized markdown templates with consistent sections and diagrams, ensuring structural compliance for HarmonyOS projects.

What is the required chapter order for an OpenHarmony architecture design document?β–Ό

The required chapter order for an OpenHarmony architecture design document mandates a strict sequence, specifically placing competitor analysis exactly as Chapter 2 between the requirements background and the system architecture analysis.

Can I analyze the OpenHarmony codebase for compatibility before writing functional specifications?β–Ό

Yes, you can analyze the OpenHarmony codebase for compatibility before writing functional specifications by scanning bundle, build, interface, and config files to extract component structures and dependencies, ensuring the new design aligns with existing architecture.

Does PRD-to-design transformation automatically map requirement sections to architecture documents?β–Ό

PRD-to-design transformation automatically maps requirement sections to corresponding architecture document sections. This ensures that every functional need in the PRD is accurately reflected in the generated design documentation structure.

What are the limitations of automated design documentation generation for HarmonyOS?β–Ό

Limitations of automated design documentation generation include strict enforcement of predefined chapter ordering and structural templates, meaning custom sections outside the standardized architecture and functional design formats may be rejected or require manual adjustment.