---
name: jiaoyuan-skill
description: Use when the user wants to 用毛泽东思想方法论分析复杂问题, invokes /jys, /jiaoyuan, /教员, 教员帮我想想, 用矛盾论分析, 辩证分析, 找主要矛盾, 实践论, 持久战, 群众路线, 调查研究, or asks for a Mao Zedong thought-inspired analytical framework or HTML analysis report.
---

# 教员思维框架

Use Mao Zedong's core methodological writings as modern analytical tools. Apply the methods; do not imitate his voice, political style, or historical context. Treat every framework as a lens to test, not as authority.

## Operating Rules

- Use Chinese when the user writes Chinese; otherwise match the user's language.
- Start by restating the problem in 1-2 plain sentences. If the problem is ambiguous, ask one concise clarification question.
- Do not force the framework onto simple factual questions. If the answer is direct, answer directly and say a full dialectical analysis is unnecessary.
- Default to a step-by-step dialogue: complete one step, then pause for confirmation or correction.
- If the user asks for "直接完整分析", "生成报告", "导出", or otherwise wants an end-to-end result, run all steps in one pass and clearly mark assumptions.
- Separate facts from judgments. When facts are insufficient, stop or narrow the claim and give an investigation list.
- Use modern language. Avoid slogans, imitation, flattery, or political mobilization rhetoric.
- When using any framework F1-F12, read `references/frameworks.md` first and use only the relevant framework sections.
- When generating HTML, read `references/html-report-template.md` and follow its structure and checklist.

## Workflow

### Step 0: Confirm the Problem

Restate:
- What decision, contradiction, or confusion the user is facing
- Who the main actors are
- What outcome the user wants

Then proceed if the user confirms, or if the request is already clear.

### Step 1: Identify Contradictions

List 2-5 contradictions:
- Main contradiction
- Secondary contradictions
- Main aspect of the main contradiction
- Conditions under which the main and secondary contradictions may transform into each other

Pause after this step unless the user requested a full one-pass analysis.

### Step 2: Investigate the Situation

Separate:
- Known facts
- Sensory impressions or surface observations
- Reasoned judgments
- Missing information

If information is weak, give a short investigation plan before continuing.

### Step 3: Select Frameworks

Choose 1-3 frameworks from the matrix below. Explain why each one fits.

| Situation | Prefer |
|---|---|
| Many conflicts, priorities, or opposing forces | F1 Contradiction Analysis |
| Theory-practice gap, learning, validation | F2 Practice Theory or F3 Cognition Cycle |
| Long competition, weak vs strong, staged strategy | F4 Protracted Strategy and F6 Flexible Tactics |
| Starting from scarce resources or a small breakthrough | F5 Spark and F7 Edge-to-Center Strategy |
| Unclear facts or unreliable assumptions | F8 Investigation and F9 Field Inquiry |
| Users, teams, stakeholders, organization | F10 Mass Line |
| Many goals and tradeoffs | F11 Ten Relationships |
| Internal disagreement or conflict type | F12 Two Kinds of Contradictions |

Read `references/frameworks.md` before applying selected frameworks.

### Step 4: Dialectical Analysis

For each selected framework:
- Show both sides of the issue
- Identify whether the contradiction is antagonistic or non-antagonistic when relevant
- Explain transformation conditions
- Move from the specific case to a general pattern, then back to the user's specific case
- State confidence level and what evidence would change the conclusion

### Step 5: Strategy

Give concrete actions:
- Immediate action
- Near-term actions, usually 1-4 weeks
- Mid-term actions, usually 1-3 months
- First step to take today
- Risks where contradictions may transform

Tie every recommendation to a framework or fact from the analysis.

## Output Formats

### Step Output

Use this for each interactive step:

```markdown
### 当前判断
- ...

### 依据
- ...

### 需要你确认
- ...
```

End with a short prompt such as: `如果这个判断基本准确，我继续下一步；如果不准确，请直接改。`

### Full Analysis Output

```markdown
### 问题复述

### 矛盾分析
- 主要矛盾：
- 主要方面：
- 次要矛盾：
- 转化条件：

### 调查现状
- 已知事实：
- 表面印象：
- 理性判断：
- 信息缺口：

### 框架选择
- F编号：框架名，选择理由

### 辩证分析

### 行动策略
1. 立即做：
2. 近期：
3. 中期：
4. 警惕：

### 原文方法依据
> 引用不超过必要长度，并标明出处。
```

## HTML Report

Generate an HTML report when:
- All five steps are complete and the user confirms the strategy
- The user says "导出", "生成报告", "保存分析", or asks for an HTML report
- The user asked from the start for a complete deliverable

Before generating:
1. Read `references/html-report-template.md`
2. Use a safe filename: `{问题关键词}-矛盾分析.html`
3. Save in the current working directory unless the user gave another path
4. Make the HTML self-contained, with no external CSS, JS, CDN, or remote assets
5. Verify the file exists and contains the five analysis sections

After generating, tell the user the file path and summarize the report in 1-2 sentences.

## Common Mistakes

- Do not turn every problem into "主要矛盾" if the user only needs a direct answer.
- Do not skip investigation when facts are missing.
- Do not use military words literally in business, education, or personal contexts; translate them into modern equivalents.
- Do not treat a framework as proof. The proof is the fit between facts, contradictions, and actions.
- Do not generate HTML before the analysis is complete unless the user explicitly asks for a draft report.
- Do not leave the user with abstract principles; every strategy section must name concrete next actions.
