arkweb-code-gen

Generate ArkWeb implementations from requirements design documents with build verification.

31|6|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill arkweb-code-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arkweb-code-gen
Source: https://github.com/openharmonyinsight/openharmony-skills/tree/main/workflows/arkweb/.aceharness/skills/arkweb-code-gen
Command: npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill arkweb-code-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill turns an ArkWeb requirement design document into a structured, end-to-end implementation workflow, reducing the risk of missing steps, deviating from the design, or shipping non-compilable changes.

Core Features & Use Cases

  • Requirement-driven 8-Phase execution: orchestrates environment pre-check, requirements analysis, design conformance gating, implementation, code review, fix loop, design-diff alignment, and compile-verify loops.
  • Team Lead orchestration with guardrails: delegates work to requirements-analysis, coder, reviewer, and builder while enforcing “no analysis/no coding by the Lead” boundaries.
  • Evidence and traceability requirements: mandates an evidence pack persisted to the docs repo to support API/subsystem/part discovery before implementation.
  • Design deviation control with user decision: pauses on [偏离-需用户确认] items and on later design-vs-implementation diffs with A/B/C user choices.

Quick Start

Use the arkweb-code-gen skill with your requirements design document path, and instruct the AI to implement the feature end-to-end starting from that document.

Frequently Asked Questions about arkweb-code-gen

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

FAQPage Schema
How do I generate ArkWeb code directly from a requirements design document?

To generate ArkWeb code from a requirements design document, you input the document path to orchestrate an 8-phase workflow covering analysis, coding, review, and compile-verify loops. The process ensures implementation conforms strictly to the specified APIs, parameters, and error codes.

How does multi-agent orchestration work for ArkWeb feature development?

Multi-agent orchestration for ArkWeb delegates tasks to specialized agents for requirements analysis, coding, reviewing, and building. A Team Lead agent manages this workflow while enforcing strict guardrails, ensuring no analysis or coding is performed directly by the Lead.

What is the best way to enforce design conformance during ArkWeb code generation?

The best way to enforce design conformance during ArkWeb code generation is using automated design conformance gates and design-diff alignment checks. The workflow pauses implementation when deviations are detected, requiring user confirmation via A/B/C choices before proceeding.

Why does my ArkWeb implementation workflow require an evidence pack?

Your ArkWeb implementation workflow requires an evidence pack persisted to the docs repo to support API, subsystem, and part discovery before coding begins. This traceability ensures all implementation steps are validated against the original requirements design.

Can I automate build verification and repair loops for ArkWeb code changes?

Yes, you can automate build verification for ArkWeb code changes through structured build error analysis and repair loops. The workflow validates compilation automatically, analyzing build errors and iterating fixes until the implementation compiles successfully.

What happens if the generated ArkWeb code deviates from the original design spec?

If generated ArkWeb code deviates from the design spec, the workflow pauses implementation and flags the item for user decision. You are presented with A/B/C choices to either accept the deviation or correct the implementation to align with the original design.