
Contradiction Analysis
When you're stuck on a complex problem with competing priorities or conflicting constraints, this walks you through identifying all the contradictions, isolating the primary one that's driving everything else, and choosing the right resolution strategy based on whether it's antagonistic (pick a side) or non-antagonistic (find common ground). It's adapted from Mao's "On Contradiction" and forces you to output a structured analysis: list all conflicts, mark the main one, classify its nature, state your approach, and set monitoring triggers for when secondary contradictions might escalate. The framework is surprisingly practical for untangling messy technical decisions where trade-offs aren't obvious. Skip it if the task is straightforward execution or the user already told you what to do.
- skills.sh installs
- 302
- GitHub stars
- 3.9K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add hughyau/qiushi-skill --skill contradiction-analysis --agent claude-codeInstalls into .claude/skills of the current project.
Files
矛盾分析法
"研究任何过程,如果是存在着两个以上矛盾的复杂过程的话,就要用全力找出它的主要矛盾。捉住了这个主要矛盾,一切问题就迎刃而解了。" —— 《矛盾论》
用 / 不用
用:
- 问题复杂,不知从哪下手
- 多个问题互相牵制,解决一个牵动另一个
- 反复出现的故障、反复失败的尝试,怀疑没打中根源
- 需要在多个"都重要"的事里判断哪个最重要
不用:
- 任务是单维度的直接执行
- 用户已经指定方案,只需实现
- 问题属于已知模式,直接套用已验证方案更快
操作规程
先保证事实基础:矛盾清单里的每一项都要能指向调查得到的现象,不能凭印象。事实不够先做 investigation-first。
- 列矛盾清单:
[A] vs [B]格式,写清两个对立面各自要什么。透过现象看内在张力,不只列表面症状。 - 判定主要矛盾:标 ⭐ 并给理由。三个检验:
- 因果:解决了它,别的矛盾是否随之缓解?
- 根源:它是不是别的矛盾的来源?
- 阶段:它是否处于当前阶段的中心?
- 找主要方面:主要矛盾内部,哪一方当前占支配地位?这决定问题现在的性质。
- 定性质:
- 对抗性(根本利益冲突,不能兼得)→ 明确取舍,果断二选一
- 非对抗性(共同目标下的分歧)→ 团结—批评—团结:先找共同点,再通过讨论解决分歧
- 选处理方向,写出「接下来我将……」:
- 技术性矛盾 → 形成假说,交
practice-cognition验证 - 资源性矛盾 →
concentrate-forces集中解决主要矛盾 - 多目标平衡 →
overall-planning
- 技术性矛盾 → 形成假说,交
- 设监控提示:哪个次要矛盾可能上升为主要矛盾?哪个非对抗性矛盾可能因处理不当激化?
输出模板
矛盾清单:
- [A] vs [B]:……
- ⭐ [C] vs [D]:主要矛盾。理由:解决了它,[X]、[Y] 随之缓解
- 主要方面:当前 [C / D] 占支配地位,因为 ……
- 性质:对抗性 / 非对抗性
接下来我将:……
⚠️ 需监控:[次要矛盾] 是否上升为主要矛盾;[矛盾] 是否激化
纪律
- 禁止只输出分析文字不给结论;六项缺一不可。
- 禁止一刀切:对具体的事物作具体的分析,不套模板。
- 主要矛盾只能有一个。列出两个"都是主要"的,说明分析还没做完。
- 矛盾会转化:解决过程中主次可能对调,随时更新。
交接
Sponsors
Details
- Repository
- github.com/hughyau/qiushi-skill
- First seen
- Jun 3, 2026