diyu-architect

Guide architecture reviews and draft ADRs from control-plane.yaml.

Updated Jul 11, 2026
One-click install
npx skills add https://github.com/andyan77/diyu-agent --skill diyu-architect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diyu-architect
Source: https://github.com/andyan77/diyu-agent/tree/main/.claude/skills/diyu-architect
Command: npx skills add https://github.com/andyan77/diyu-agent --skill diyu-architect

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

架构评审、ADR撰写、trade-off分析、层间依赖验证等架构治理工作的一体化支持,帮助团队在变更中保持一致性和可追溯性。

Core Features & Use Cases

  • 跨层变更评审与 ADR 生成,提供可复用的架构建议和文档草案。
  • 依赖边界与层间守则校验,确保变更符合六层结构约束与 Port 契约。
  • 适用于阶段驱动的开发流程中的治理场景,如需求变更、架构漂移检测与文档输出。

Quick Start

提交变更请求后,自动生成 ADR 草案和架构建议,输出到 docs/architecture 以供评审。

Frequently Asked Questions about diyu-architect

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

FAQPage Schema
How do I automate ADR drafting from existing architecture documentation?

ADR drafting is automated by deriving architecture decision records directly from existing architecture docs and the current control-plane.yaml. The generated ADR drafts and architecture recommendations are output to docs/architecture for review.

What is the best way to validate layer dependencies and boundary rules during a change assessment?

Layer dependency validation is performed by checking proposed changes against Port contracts and the six-layer boundary rules. This cross-layer assessment ensures modifications comply with established architecture governance constraints.

Can I generate a trade-off analysis for cross-layer architecture changes?

Trade-off analysis is supported during cross-layer change assessments by providing reusable architecture recommendations. The evaluation derives context from architecture docs and control-plane.yaml to guide the trade-off decisions.

Does this architecture governance workflow require a control-plane.yaml file to operate?

A control-plane.yaml file is required as it serves as the primary source for deriving ADRs and validating layer dependencies. The architecture governance tasks depend on this configuration alongside existing architecture documentation.

When should I use an automated ADR generation tool for architecture reviews?

Automated ADR generation should be used during phase-driven development governance scenarios like requirement changes or architecture drift detection. It maintains consistency and traceability across cross-layer modifications.

What format does the ADR draft output use for architecture reviews?

ADR drafts and architecture recommendations are output as documentation files to the docs/architecture directory. This provides a standardized format for review teams to evaluate the proposed architectural changes.