# wuxie888/sunxue-skill architecture

> Architecture diagram of the GitHub repository wuxie888/sunxue-skill, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/wuxie888/sunxue-skill
- Repository: https://github.com/wuxie888/sunxue-skill

## Overview

孙学 Skill 是一套面向 Codex 的中文写作与诊断框架，不是应用程序或通用写作模板。用户提交素材与任务后，Skill 依次判断版本、胜负、注意力和筹码，选择结构并生成或诊断内容；其参考文件提供叙事原理、结构、事实边界与评估方法。README 描述了各文件职责与能力，但没有提供源代码片段，因此图中仅呈现文档明确说明的关系。

Main entry points: [`SKILL.md`](https://github.com/wuxie888/sunxue-skill/blob/main/SKILL.md) (原创与改写), [`references/diagnostic.md`](https://github.com/wuxie888/sunxue-skill/blob/main/references/diagnostic.md) (赢感诊断), [`references/sunology.md`](https://github.com/wuxie888/sunxue-skill/blob/main/references/sunology.md) (孙学六问), [`references/engines.md`](https://github.com/wuxie888/sunxue-skill/blob/main/references/engines.md) (七器引擎)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["用户工作流"]
  node_skill["Skill 工作流<br/>[SKILL.md]"]
  node_writing["原创与改写<br/>[SKILL.md]"]
  node_attention["注意力炼金<br/>[sunology.md]"]
  node_diagnosis["赢感诊断<br/>[diagnostic.md]"]
  node_planning["筹码策划<br/>[SKILL.md]"]
  node_result["文章或诊断"]
end

subgraph group_framework["孙学框架"]
  node_six_questions["孙学六问<br/>[sunology.md]"]
  node_engines["七器引擎<br/>[engines.md]"]
  node_structures["五种结构<br/>[structures.md]"]
  node_origin["叙事母本<br/>[origin-story.md]"]
end

subgraph group_references["方法与边界"]
  node_fact_boundaries["事实边界<br/>[SKILL.md]"]
  node_examples["校准样例<br/>[examples.md]"]
  node_evals["前向评估<br/>[evals.md]"]
end

node_user(("用户"))

node_user -->|"提交任务"| node_skill
node_skill -->|"执行工作流"| node_writing
node_skill -->|"转化注意力"| node_attention
node_skill -->|"诊断稿件"| node_diagnosis
node_skill -->|"策划筹码"| node_planning
node_skill -->|"应用六问"| node_six_questions
node_writing -->|"运用技法"| node_engines
node_writing -->|"选择结构"| node_structures
node_writing -->|"遵守边界"| node_fact_boundaries
node_writing -->|"借鉴技法"| node_origin
node_diagnosis -->|"检查问题"| node_six_questions
node_diagnosis -->|"参考评估"| node_evals
node_writing -->|"校准写作"| node_examples
node_writing -->|"生成内容"| node_result
node_diagnosis -->|"输出诊断"| node_result

click node_skill "https://github.com/wuxie888/sunxue-skill/blob/main/SKILL.md"
click node_writing "https://github.com/wuxie888/sunxue-skill/blob/main/SKILL.md"
click node_attention "https://github.com/wuxie888/sunxue-skill/blob/main/references/sunology.md"
click node_diagnosis "https://github.com/wuxie888/sunxue-skill/blob/main/references/diagnostic.md"
click node_planning "https://github.com/wuxie888/sunxue-skill/blob/main/SKILL.md"
click node_six_questions "https://github.com/wuxie888/sunxue-skill/blob/main/references/sunology.md"
click node_engines "https://github.com/wuxie888/sunxue-skill/blob/main/references/engines.md"
click node_structures "https://github.com/wuxie888/sunxue-skill/blob/main/references/structures.md"
click node_origin "https://github.com/wuxie888/sunxue-skill/blob/main/references/origin-story.md"
click node_fact_boundaries "https://github.com/wuxie888/sunxue-skill/blob/main/SKILL.md"
click node_examples "https://github.com/wuxie888/sunxue-skill/blob/main/references/examples.md"
click node_evals "https://github.com/wuxie888/sunxue-skill/blob/main/references/evals.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_skill,node_writing,node_attention,node_diagnosis,node_planning,node_result toneBlue
class node_six_questions,node_engines,node_structures,node_origin toneAmber
class node_fact_boundaries,node_examples,node_evals toneMint
class node_user toneIndigo
```

## Components

### 用户工作流

- [Skill 工作流](https://github.com/wuxie888/sunxue-skill/blob/main/SKILL.md): `SKILL.md`
- [原创与改写](https://github.com/wuxie888/sunxue-skill/blob/main/SKILL.md): `SKILL.md`
- [注意力炼金](https://github.com/wuxie888/sunxue-skill/blob/main/references/sunology.md): `references/sunology.md`
- [赢感诊断](https://github.com/wuxie888/sunxue-skill/blob/main/references/diagnostic.md): `references/diagnostic.md`
- [筹码策划](https://github.com/wuxie888/sunxue-skill/blob/main/SKILL.md): `SKILL.md`
- **文章或诊断**

### 孙学框架

- [孙学六问](https://github.com/wuxie888/sunxue-skill/blob/main/references/sunology.md): `references/sunology.md`
- [七器引擎](https://github.com/wuxie888/sunxue-skill/blob/main/references/engines.md): `references/engines.md`
- [五种结构](https://github.com/wuxie888/sunxue-skill/blob/main/references/structures.md): `references/structures.md`
- [叙事母本](https://github.com/wuxie888/sunxue-skill/blob/main/references/origin-story.md): `references/origin-story.md`

### 方法与边界

- [事实边界](https://github.com/wuxie888/sunxue-skill/blob/main/SKILL.md): `SKILL.md`
- [校准样例](https://github.com/wuxie888/sunxue-skill/blob/main/references/examples.md): `references/examples.md`
- [前向评估](https://github.com/wuxie888/sunxue-skill/blob/main/references/evals.md): `references/evals.md`

### Other components

- **用户**

## Connections

- 用户 → Skill 工作流: 提交任务 (evidence: `README.md`)
- Skill 工作流 → 原创与改写: 执行工作流 (evidence: `README.md`)
- Skill 工作流 → 注意力炼金: 转化注意力 (evidence: `README.md`)
- Skill 工作流 → 赢感诊断: 诊断稿件 (evidence: `README.md`)
- Skill 工作流 → 筹码策划: 策划筹码 (evidence: `README.md`)
- Skill 工作流 → 孙学六问: 应用六问 (evidence: `README.md`)
- 原创与改写 → 七器引擎: 运用技法 (evidence: `README.md`)
- 原创与改写 → 五种结构: 选择结构 (evidence: `README.md`)
- 原创与改写 → 事实边界: 遵守边界 (evidence: `README.md`)
- 原创与改写 → 叙事母本: 借鉴技法 (evidence: `README.md`)
- 赢感诊断 → 孙学六问: 检查问题 (evidence: `README.md`)
- 赢感诊断 → 前向评估: 参考评估 (evidence: `README.md`)
- 原创与改写 → 校准样例: 校准写作 (evidence: `README.md`)
- 原创与改写 → 文章或诊断: 生成内容 (evidence: `README.md`)
- 赢感诊断 → 文章或诊断: 输出诊断 (evidence: `README.md`)
