独立架构巡检 skill。不在 x-dev → x-verify → x-qa-gate 主流程内,由用户手动触发或大里程碑后调用。 调子 agent 做全项目视角的架构审查,核心两条主线:架构一致性(模块归属、边界类复用、分层、循环依赖、命名语义、错误处理一致性)与单一事实源(字段/枚举/默认值/prompt 规则/schema/文档是否多处重复维护并已漂移),辅以抽象合理性(奥卡姆,防过度设计)、模块契约清晰度、依赖方向健康。 触发:用户说"架构巡检"、"audit arch"、"架构一致性检查"、"看看有没有重复的事实源"、"单一事实源检查"、"arch review"、"这块架构合不合理",或大版本/重构里程碑后。
$npx -y skills add ktkid/x-dev-pipeline --skill x-audit-archInstalls into the current project.
Run `npx skills use "https://github.com/ktkid/x-dev-pipeline" --skill "ktkid/x-dev-pipeline/x-audit-arch"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/ktkid/x-dev-pipeline" that are relevant to the current task. Run `npx skills add "https://github.com/ktkid/x-dev-pipeline"` and select the relevant skills, then follow their instructions.