项目代码规范守护者 — 分析项目代码规范/风格/UI风格/架构约定,沉淀为分模块、按需加载的规范文件。 在代码生成、修改、Bug修复、Code Review、技术问答等场景中自动加载相关规范片段进行约束。 支持规范自动增量升级,从每轮对话中提取新规范信息并更新对应模块文件。 触发词:「分析项目规范」「查看规范」「按规范写代码」「这个项目用什么风格」「规范检查」「按项目规范修改」「修复这个bug」「帮我改代码」「写一个XX接口/组件/页面」。 当用户的项目工作目录中存在 .code-spec/ 目录时,本 Skill 自动生效。 Project code spec guardian — Analyzes code conventions/style/UI patterns/architecture, distills them into modular, on-demand loaded spec files. Auto-loads relevant specs during code generation, modification, bug fixing, code review, and technical Q&A. Supports auto-incremental evolution by extracting new spec info from each conversation turn. Triggers: "analyze specs", "show specs", "write code per specs", "fix this bug", "help me modify code", "write an API/component/page".

Install

openclaw skills install @gmmg55/code-spec-guardian