| name | mingli-classical-interpreter |
| description | 将八字、子平法、调候、周易、梅花易数等命理古文整理为术语保真的现代白话、规则提炼、蒸馏候选。Use when processing classical Chinese astrology/divination texts before cangjie-skill distillation, especially to separate original text, commentary, examples, terms, decision rules, and website-ready rule candidates. |
Mingli Classical Interpreter
Mission
Turn 命理古文 into structured material that can be safely distilled by cangjie-skill and later converted into local web-app rules.
Do not perform generic literary translation. Preserve domain terms, identify uncertainty, and separate source authority levels.
Inputs
Accept one chapter or section at a time from:
- 《子平真诠评注》
- 《穷通宝鉴》
- 《周易》
- 《梅花易数》
- related bazi / yijing / meihua-yishu texts
Preferred input format:
source_book:
source_chapter:
source_url:
text:
Output Format
For each section, output:
# <book> / <chapter>
## 1. Source Boundary
- Source book:
- Chapter:
- Source URL:
- Text type: 原文 / 评注 / 例占 / 卦辞 / 爻辞 / 术语表 / 混合
- Authority level: 原典 / 后人评注 / 编者补充 / 待考
## 2. Key Terms
| Term | Keep As-Is? | Plain Explanation | Notes |
|---|---:|---|---|
## 3. Plain Chinese Rendering
Use modern Chinese, but keep core terms such as 用神、相神、月令、体卦、用卦、动爻、调候.
## 4. Rule Extraction
| Rule ID | Trigger/Input | Decision Logic | Output | Confidence | Source Span |
|---|---|---|---|---:|---|
## 5. Examples / Cases
Separate book examples from newly invented examples.
## 6. Skill Candidates
| Candidate Skill | Trigger | Inputs | Outputs | Boundary |
|---|---|---|---|---|
## 7. Website Rule Candidates
```json
[]
8. Ambiguities / Do Not Overinterpret
List unclear passages, textual variants, commentary conflicts, or rules that require later verification.
## Rules
1. Preserve technical terms before explaining them.
2. Never merge 原文 and 评注 into one authority layer.
3. Mark speculative interpretations as `待验证`.
4. Prefer small executable rules over broad summaries.
5. Avoid turning moral/philosophical text into deterministic predictions.
6. For CText sources, keep source URL and chapter name for citation.
7. When a rule depends on calendar calculation, mark it as requiring deterministic code rather than LLM judgment.
## Term Handling
Use `references/term-policy.md` when deciding whether to translate or preserve a term.