Files
YG-Rules/skill/yg-rules-output/references/markdown-format.md

73 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Markdown Format
Markdown reports are generated from the same normalized rule rows used by Excel.
## Required Shape
```markdown
# 重点风险领域规则模型与脚本
> 根据本次规则生成任务产出的 Excel 内容同步整理,目录和章节以实际生成的风险领域为准。
---
## 目录
1. [过度负债](#1-过度负债)
---
## 1. 过度负债
### 风险描述
...
### 数据来源
- ...
---
### 规则模型1.1:规则名称
**序号**1
**风险描述**...
**制度依据**...
**业务规则描述**
...
**数据来源**
...
**系统规则文本**
...
**关联表逻辑**...
**系统固化逻辑**...
**返回结果**...
```
When SQL is enabled, append:
```markdown
**实现脚本SQL**
```sql
SELECT ...
```
```
## Grouping Rules
- Group by actual `risk_domain` from generated rows.
- Use `未分类` only when a row has no domain.
- Preserve original rule order within each domain.
- Do not force demo categories or fixed category counts.