Skip to content

ordine-create-bestpractice

Use when 需要在 Ordine 系统中创建新的 Best Practice(最佳实践),包含条件、内容、代码片段和检查清单条目。触发词:创建最佳实践、新建bestpractice、添加编码规范、添加实践规范。

Skill 内容

复制以下内容并提供给你的 AI agent:

markdown
---
name: ordine-create-bestpractice
description: Use when 需要在 Ordine 系统中创建新的 Best Practice(最佳实践),包含条件、内容、代码片段和检查清单条目。触发词:创建最佳实践、新建bestpractice、添加编码规范、添加实践规范。
---

# 创建 Best Practice

## 概述

Best Practice 是 Ordine 中的编码规范单元,描述了「什么情况下」(condition)应该「怎么做」(content),并附带代码片段(codeSnippets)和检查清单条目(checklistItems)。

## 工作流程

1. 阅读 [bestpractice-anatomy.md](references/bestpractice-anatomy.md) 了解数据结构
2. 按照 [creation-guide.md](references/creation-guide.md) 创建
3. 使用 [checklist.md](references/checklist.md) 验证

Released under the MIT License.