umbraco-review-checks

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Umbraco Extension Review Checks

Umbraco扩展审核检查

Reference skill containing all review checks for the
umbraco-extension-reviewer
agent.
本参考文档包含
umbraco-extension-reviewer
Agent所需的全部审核检查项。

Check Categories

检查分类

CategoryFileChecks
Code Quality
code-quality-checks.md
CQ-1 to CQ-9
Architecture
architecture-checks.md
AR-1 to AR-6
UI Patterns
ui-pattern-checks.md
UI-1 to UI-7
分类文件检查项
代码质量
code-quality-checks.md
CQ-1 至 CQ-9
架构
architecture-checks.md
AR-1 至 AR-6
UI模式
ui-pattern-checks.md
UI-1 至 UI-7

Quick Reference

快速参考

IDCheckSeverityAuto-Fix
Code Quality
CQ-1Extension Type UsageCriticalYes
CQ-2Manifest RegistrationHighNo
CQ-3Element ImplementationMediumPartial
CQ-4Context API UsageHighNo
CQ-5State ManagementMediumNo
CQ-6LocalizationMediumPartial
CQ-7Naming ConventionsLowNo
CQ-8ConditionsLowNo
CQ-9Property Editor Schema AliasCriticalNo
Architecture
AR-1Direct API Client AccessHighNo
AR-2No Workspace ContextHighNo
AR-3Source Pattern VerificationMediumNo
AR-4Inconsistent PersistenceMediumNo
AR-5Missing Repository LayerHighNo
AR-6Circular Context DependenciesCriticalNo
UI Patterns
UI-1Custom Error HandlingHighPartial
UI-2Layout Component IssuesHighNo
UI-3Non-UUI Component UsageMediumPartial
UI-4Enum/Select HandlingMediumPartial
UI-5Missing Loading StatesLowNo
UI-6Accessibility IssuesMediumNo
UI-7Inline StylesLowPartial
ID检查内容严重程度自动修复
代码质量
CQ-1扩展类型使用严重
CQ-2清单注册
CQ-3元素实现部分支持
CQ-4Context API 使用
CQ-5状态管理
CQ-6本地化部分支持
CQ-7命名规范
CQ-8条件判断
CQ-9属性编辑器Schema别名严重
架构
AR-1直接访问API客户端
AR-2缺少工作区上下文
AR-3源模式验证
AR-4持久化不一致
AR-5缺少仓储层
AR-6循环上下文依赖严重
UI模式
UI-1自定义错误处理部分支持
UI-2布局组件问题
UI-3非UUI组件使用部分支持
UI-4枚举/选择器处理部分支持
UI-5缺少加载状态
UI-6可访问性问题
UI-7内联样式部分支持

Usage

使用方法

Read the relevant category file(s) based on extension type:
Extension TypeLoad Files
DashboardAll three
WorkspaceAll three
Property Editorcode-quality, ui-pattern
Entity Actioncode-quality only
Context/Repositorycode-quality, architecture
根据扩展类型阅读对应的分类文件:
扩展类型需加载的文件
仪表板(Dashboard)全部三个
工作区(Workspace)全部三个
属性编辑器(Property Editor)code-quality, ui-pattern
实体操作(Entity Action)仅code-quality
上下文/仓储(Context/Repository)code-quality, architecture

Related Skills

相关技能

Pattern AreaSkill
Repository pattern
umbraco-repository-pattern
Workspace context
umbraco-workspace
Notifications
umbraco-notifications
Context API
umbraco-context-api
Localization
umbraco-localization
模式领域技能
仓储模式
umbraco-repository-pattern
工作区上下文
umbraco-workspace
通知
umbraco-notifications
Context API
umbraco-context-api
本地化
umbraco-localization

Source References

参考资源

UUI Library

UUI库

For UI pattern checks, refer to the UUI (Umbraco UI) library for component best practices.
Check locally first - The UUI source may be available in the workspace (e.g.,
Umbraco.UI/packages/
). Use Glob to search for it.
Online resources:
对于UI模式检查,请参考UUI(Umbraco UI)库的组件最佳实践。
优先检查本地资源 - UUI源码可能已存在于工作区中(例如:
Umbraco.UI/packages/
)。使用Glob进行搜索。
在线资源:

Umbraco CMS Source

Umbraco CMS源码

For architecture and pattern checks, compare against Umbraco CMS source implementations.
Check locally first - The Umbraco CMS source may be available in the workspace (e.g.,
Umbraco-CMS/src/Umbraco.Web.UI.Client/
). Use Glob to search for reference implementations.
Online resources:
When reviewing, prefer local source over web fetches for accuracy and speed.
对于架构和模式检查,请与Umbraco CMS的源码实现进行对比。
优先检查本地资源 - Umbraco CMS源码可能已存在于工作区中(例如:
Umbraco-CMS/src/Umbraco.Web.UI.Client/
)。使用Glob搜索参考实现。
在线资源:
审核时,优先使用本地资源而非网络资源,以确保准确性和速度。