arkweb-design-alignment

Detect and enumerate mismatches between ArkWeb design documents and implemented code.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

当 ArkWeb 的需求设计文档与最终代码实现出现偏差时,你很难系统性地发现所有差异、评估影响并把决策落到可执行的整改上。本技能把“设计 vs 实现”的差异完整识别出来,并通过用户逐项确认来推动回写设计、重做代码或记录遗留,直到差异对齐闭环。

Core Features & Use Cases

  • 三方信息比对:对 requirement.md、design.md、(可选)spec.md 与(可选)analysis.md 进行结构化提取,并在代码仓库中检索实际实现,生成差异清单。
  • 逐项用户决策循环:每次仅展示一个差异点,支持用户选择“接受实现/要求重做/暂时搁置”,并按决策分类执行后续动作。
  • 对齐落地与回归检查:接受实现会就地回写设计文档原始章节;要求重做会触发 coder+reviewer 重做循环(最多多轮校验);确保最终差异被处理并输出对齐总结。

Quick Start

调用 arkweb-design-alignment,并提供 requirement.md 与 design.md 的路径以及实现代码目录路径,让它逐项对比设计与实现差异并向你请求确认处理方式。

Frequently Asked Questions about arkweb-design-alignment

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

FAQPage Schema
How do I align ArkWeb design documents with actual implemented code?

To align ArkWeb design with code, this skill extracts and compares requirement, design, spec, and analysis documents against repository implementations. It generates a mismatch list and uses one-diff-at-a-time user decisions to drive iterative rewrites or code rework until alignment is closed.

What is design alignment for requirement and implementation differences?

Design alignment is the process of detecting and enumerating all mismatches between requirement documents and actual code. It validates implementation by reading design artifacts, grepping real code signatures, and processing user decisions to rewrite designs or rework code with regression checks.

How to review code diffs against requirement documents for feature delivery?

You can review code diffs by providing requirement.md and design.md paths along with the code directory. The skill performs structured extraction, compares them against repository implementation, and presents mismatches one at a time for you to accept, rework, or shelve.

Does design alignment support optional spec and analysis documents?

Yes, design alignment supports optional spec.md and analysis.md documents alongside mandatory requirement and design files. It performs three-way information comparison by structuring all provided artifacts and validating them against the actual codebase.

What happens when I accept an implementation mismatch during diff review?

When you accept an implementation mismatch during diff review, the skill automatically rewrites the original design document sections in-place to match the code. If you request rework instead, it triggers a coder and reviewer loop with regression checks.

When should I use iterative remediation for design versus implementation gaps?

Iterative remediation is needed during ArkWeb feature delivery when requirement, design, or spec documents diverge from repository code. It systematically processes each mismatch one at a time, ensuring every difference is either accepted, reworked, or shelved with an alignment summary.