skills/lwy-mao-methodology/SKILL.md
Use Mao Zedong's three philosophical works as practical decision / analysis / writing frameworks. Three lenses: contradiction (《矛盾论》, opposing forces & root cause), practice (《实践论》, hypothesis verification through action), protracted-war (《论持久战》, staged strategy for long contests, especially when starting from weakness). Triggers: '矛盾分析', '主要矛盾', '抓主要矛盾', 'contradiction analysis', 'principal contradiction', 'trade-off analysis', 'opposing forces', 'root cause', '实事求是', '调查研究', '实践论', 'practice-based', 'verify through practice', 'seek truth from facts', 'test assumptions', 'practice spiral', '持久战', '分阶段策略', '长期战略', '战略防御', '战略相持', '战略反攻', 'long-term strategy', 'protracted war', 'staged approach', 'underdog strategy', 'strategic patience'.
npx skillsauth add learnwy/skills lwy-mao-methodologyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Three philosophical works → three operational lenses for decision-making, problem analysis, and report writing. Pick the lens that matches the shape of the question, not the topic.
| Question shape | Lens | Source | |---|---|---| | What forces are in tension? Where is the leverage? | contradiction | 《矛盾论》 | | Is our model right? How do we test it? | practice | 《实践论》 | | How do we win a long contest from weakness? When do we shift posture? | protracted-war | 《论持久战》 |
If unsure, the lenses are complementary:
contradiction → what the forces are (structure)practice → how to verify (process)protracted-war → when to act and evolve (time / strategy)Every lens ships the same three agents (different methodology, same shape):
| Agent | Job | Output |
|---|---|---|
| decision-maker | Choose between options under the lens's framework | A recommendation with rationale |
| problem-analyzer | Diagnose a situation or stuck problem | A structured analysis |
| report-writer | Write a report (decision memo, retro, strategy doc) | A structured document |
The agents are read-only methodology guides — invoke via the Task tool with the lens-specific path:
Task(subagent_type="search", query="Read agents/<lens>/<agent>.md and apply to: <user's question>")
Where <lens> is contradiction / practice / protracted-war and <agent> is decision-maker / problem-analyzer / report-writer.
Acknowledge contradictions are universal; identify the principal contradiction and its principal aspect; perform concrete analysis of concrete situations; use the unity of opposites for transformation; insist on the unity of "two-point theory" and "key-point theory".
When to reach for it:
Agents: contradiction/decision-maker, contradiction/problem-analyzer, contradiction/report-writer
Practice is the source, motivation, purpose, and sole criterion for testing truth. Cognition spirals upward: practice → perceptual knowledge → rational knowledge → renewed practice → renewed cognition. All correct ideas come from social practice; their value lies in guiding and improving practice.
When to reach for it:
Agents: practice/decision-maker, practice/problem-analyzer, practice/report-writer
A weaker side can prevail in a long contest if it sequences three phases — strategic defense, strategic stalemate, strategic counter-offensive — and converts weakness into strength through endurance, mobility, and the steady accumulation of small wins.
When to reach for it:
Agents: protracted-war/decision-maker, protracted-war/problem-analyzer, protracted-war/report-writer
Two lenses combine well:
| Recipe | Lens 1 | Lens 2 | Use for | |---|---|---|---| | Diagnose-then-test | contradiction (find principal contradiction) | practice (design verification) | Stuck investigations, unclear root causes | | Strategy-then-tempo | protracted-war (pick the phase) | contradiction (find this phase's principal contradiction) | Long competitive games | | Plan-then-verify | protracted-war (stage the plan) | practice (validate at each milestone) | Multi-quarter initiatives |
Use all three only when writing a major strategic document — overuse turns into framework theatre.
requirement-workflow)knowledge-consolidation or llm-wiki)This skill only: provides methodology agents for the three lenses.
This skill does not: write the actual report for you, fetch data, run analyses, or remember conclusions across sessions (use knowledge-consolidation or llm-wiki for persistence).
tools
Fallback skill when no project-specific one matches. Provides 10 battle-tested software-engineering methodology agents: problem-definer (Weinberg), story-mapper (Patton), spec-by-example (Adzic), domain-modeler (DDD/Evans), responsibility-modeler (CRC/Wirfs-Brock), architecture-advisor (Bass), tdd-coach (Beck), refactoring-guide (Fowler), legacy-surgeon (Feathers), test-strategist (Crispin). Use when user asks about DDD, TDD, refactoring, story mapping, test strategy, or software-architecture quality attributes.
development
Use when the user wants to build, implement, or develop a feature. Orchestrates evidence-driven Spec-Driven Development. Default lifecycle is `lite` (INIT → IMPLEMENTING → TESTING → DONE); auto-promote to `standard` or `full` when scope, risk, or AC traceability demands it. Triggers: 'develop feature', 'implement this', 'build feature', 'add module', 'fix bug', '开发功能', '实现这个'.
documentation
当用户需要创建、更新或设计项目级技能(.agents/skills/*/SKILL.md)时使用此技能。Analyzes the user's problem and project context to design reusable skill solutions. 触发词:'创建技能'、'编写技能'、'构建技能'、'添加技能'、'更新技能'、'项目技能'、'新建技能'、'设计技能', or when the user describes a repetitive workflow that should be captured as a reusable AI skill.
tools
Use this skill when the user wants to install, add, or configure a skill in a project. Analyze the project's tech stack and workflow, then recommend and install the best-matching skill. Triggers: 'install skill', 'add skill', 'configure skill', 'set up skill', 'enable skill', 'use skill in project', 'project skill', or when the user asks how to bring an existing skill capability into the current workspace.