Deep Analysis
by pianzhu
Execute high-density analysis on complex ideas/tasks. Move from 'Vague' to 'Verified' by producing: constraints -> core modules -> facts vs assumptions -> ASCII flow maps (boundary + critical path) -> latticework lens sweep -> micro->macro causal chains -> pre-mortem failure modes. Use when analyzing system architecture, validating technical ideas, or decomposing a thorny problem before designing solutions.
Skill Details
Repository Files
2 files in this skill directory
name: deep-analysis description: "Execute high-density analysis on complex ideas/tasks. Move from 'Vague' to 'Verified' by producing: constraints -> core modules -> facts vs assumptions -> ASCII flow maps (boundary + critical path) -> latticework lens sweep -> micro->macro causal chains -> pre-mortem failure modes. Use when analyzing system architecture, validating technical ideas, or decomposing a thorny problem before designing solutions."
Architectural Analysis
Overview
Execute high-density analysis to transform vague ideas into a verified problem map: constraints, core modules, facts vs assumptions, relationship flows, causal chains, and failure modes. Focus on analysis artifacts that unlock the next workflow step, not a full design.
Style: Code-like, Concise, No "AI explaining itself". Pure signal.
Critical Rules
- NO FLUFF - Output must be dense, actionable, and structured
- VISUALIZE - Use terminal-friendly ASCII maps (
->) for structural mappings - ANALYZE, DON'T BUILD - Prefer maps, drivers, and failure modes over implementation plans unless explicitly requested
- RUTHLESSNESS - Challenge assumptions at every step. Never confirm user biases
- LATTICEWORK - Validate the map with 3-5 lenses; look for convergence/tension/blind spots/surprises
- LANGUAGE - Default output in Simplified Chinese; avoid English abbreviations in node names and labels
Output modes:
- Default: produce sections 0-5.
- Quick map (info-poor/time-boxed): produce 0/1/3/5 + top 3 unknowns that would change the map.
NEVER
- NEVER ship a solution-first plan; produce a map that enables the next step.
- NEVER mix facts and assumptions; label unknowns explicitly or the map lies.
- NEVER include non-CORE modules in the flow map; it hides the real bottleneck.
- NEVER write the flow map as a dense paragraph; it must be laid out line-by-line.
- NEVER use English abbreviations for flow nodes; use clear Chinese nouns instead.
- NEVER exceed terminal constraints (aim <= 80 cols, <= 20 lines) or it becomes unreadable.
The Process
PHASE 0: CALIBRATION (The Anchor)
- Bind constraints strictly.
- If constraints are missing: assume "MVP/Prototype Stage" (low cost, high iteration) and proceed.
- If the prompt starts with a solution: rewrite as "problem statement + constraints" before proceeding.
- Output: One-sentence problem statement + constraint list (incl. explicit unknowns).
PHASE 1: DECOMPOSITION (The Pareto Slice)
- Decompose into modules and interfaces (treat each module as a black box).
- Identify the Pareto CORE (top risk/weight); mark the rest as later.
- Output: CORE module list with 1-line rationale each.
PHASE 2: EXCAVATION (First Principles)
For CORE modules identified in Phase 1:
- Separate facts vs assumptions; name the irreducible constraints/invariants.
- Locate the dominant bottleneck (ask "why not 10x?" to expose limits).
- Output: Compact fact/assumption list per CORE module.
PHASE 3: RE-ARCHITECTING (Structural Evolution)
Reassemble components based on First Principles findings, NOT original assumptions:
- Pipeline: CORE modules -> boundary context -> internal critical path -> prune -> output flow map
- Prune redundant hops found in Phase 2 (keep it minimal, not exhaustive).
- Output: Console-friendly flow map using
->(CORE only, 6-15 lines):- Boundary context (vertical chain)
- Internal critical path (one main chain)
Flow map conventions (ASCII only):
- Use Chinese noun phrases for node names; avoid English abbreviations.
- Prefer the single critical path over full coverage; do not force branches/merges.
- Layout as a vertical chain: one node per line, connect with
->on the next line. - Keep it readable: <= 80 cols per line, <= 20 lines total.
Template (vertical chain): 边界: 参与者 -> 入口 -> 系统 -> 外部依赖
关键路径: 输入 -> 核心模块 -> 状态/存储 -> 输出
PHASE 4: OSCILLATION (Zoom In/Out)
- Pipeline: macro frame -> latticework check -> key drivers -> causal chains -> leverage points
- Rule: derive top-down hypotheses, validate bottom-up via key driver mechanics
- Macro frame: boundary + lifecycle + stakeholders + metrics + constraints
- Lifecycle stage: prototype -> growth -> scale -> decline (pick one)
- Latticework check (internal, do NOT expand in output):
- Assume the role of 查理·芒格.
- Cross-check with at least 3 mental models: 激励机制, 二阶效应, 机会成本, 安全边际, 能力圈(认知边界).
- Extract only the synthesized signals for output: 收敛 / 张力 / 空白 / 惊喜
- Key drivers (1-3): mechanism + invariants + stress failures + cost model
- Output:
- 2-4 causal chains:
微观机制 -> 宏观结果(标签: 收敛/张力/空白/惊喜) - Leverage points (micro changes that shift macro materially)
- 2-4 causal chains:
PHASE 5: INVERSION (The Pre-Mortem)
- Assume the proposed approach has FAILED CATASTROPHICALLY 6 months post-launch.
- Ask "How exactly did it break?" (race conditions, cost explosion, user rejection).
- Use Phase 0 constraints to sharpen the failure story.
- Output: "致命点" (fatal flaws) + "缓解假设" (testable preventions).
Output Format
### 0.约束条件 (假设/给定)
问题: [一句话问题陈述]
约束: [硬约束列表]
未知: [会改变分析结论的关键未知]
### 1.核心模块 (帕累托前 20%)
[模块名]: [一句话说明为何这是核心]
[模块名]: [一句话说明为何这是核心]
### 2.第一性原理真相
[模块A] [根本限制/真相]
[模块B] [根本限制/真相]
### 3.逻辑流程图
控制台风格(使用 `->`,中文节点名,避免英文缩写;每行一个节点):
边界:
参与者
-> 入口
-> 系统
-> 外部依赖
关键路径:
输入
-> 核心模块
-> 状态/存储
-> 输出
### 4.对齐检查(格栅快速校验)
宏观: [边界/生命周期/参与方/成功指标/硬约束]
关键驱动: [1-3 个主导机制]
格栅结论: 收敛[...];张力[...];空白[...];惊喜[...]
因果链: [微观机制 -> 宏观结果 | 标签: 收敛/张力/空白/惊喜 | 杠杆点: ...]
### 5.事前验尸 (失败检查)
* 最薄弱环节: [具体组件]
* 失败模式: [如何崩溃] -> 缓解假设: [可验证的缓解假设]
Key Principles
- Pareto Focus - Keep CORE only; park the rest
- Fact vs Assumption - Turn debates into checkable statements
- Latticework - Cross-check with 3-5 lenses; synthesize signals
- Causal Mapping - Express micro->macro via chains and leverage points
- Inversion Thinking - Assume failure first, then work backwards
- Terminal First - Use ASCII maps (
->) only; no rich diagrams
Related Skills
Team Composition Analysis
This skill should be used when the user asks to "plan team structure", "determine hiring needs", "design org chart", "calculate compensation", "plan equity allocation", or requests organizational design and headcount planning for a startup.
Kpi Dashboard Design
Design effective KPI dashboards with metrics selection, visualization best practices, and real-time monitoring patterns. Use when building business dashboards, selecting metrics, or designing data visualization layouts.
Sql Optimization Patterns
Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.
Senior Data Scientist
World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics. Expertise in Python (NumPy, Pandas, Scikit-learn), R, SQL, statistical methods, A/B testing, time series, and business intelligence. Includes experiment design, feature engineering, model evaluation, and stakeholder communication. Use when designing experiments, building predictive models, performing causal analysis, or driving data-driven decisions.
Mermaid Diagrams
Comprehensive guide for creating software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams including class diagrams (domain modeling, object-oriented design), sequence diagrams (application flows, API interactions, code execution), flowcharts (processes, algorithms, user journeys), entity relationship diagrams (database schemas), C4 architecture diagrams (system context, containers, components), state diagrams, git graphs, pie charts,
Ux Researcher Designer
UX research and design toolkit for Senior UX Designer/Researcher including data-driven persona generation, journey mapping, usability testing frameworks, and research synthesis. Use for user research, persona creation, journey mapping, and design validation.
Supabase Postgres Best Practices
Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.
Kpi Dashboard Design
Design effective KPI dashboards with metrics selection, visualization best practices, and real-time monitoring patterns. Use when building business dashboards, selecting metrics, or designing data visualization layouts.
Sql Optimization Patterns
Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.
Dashboard Design
USE THIS SKILL FIRST when user wants to create and design a dashboard, ESPECIALLY Vizro dashboards. This skill enforces a 3-step workflow (requirements, layout, visualization) that must be followed before implementation. For implementation and testing, use the dashboard-build skill after completing Steps 1-3.
