# Deep Analysis

> 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…

- **Type:** Skill
- **Install:** `agentstack add skill-bamecho-my-claude-skills-deep-analysis`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [bamecho](https://agentstack.voostack.com/s/bamecho)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [bamecho](https://github.com/bamecho)
- **Source:** https://github.com/bamecho/my-claude-skills/tree/main/skills/deep-analysis

## Install

```sh
agentstack add skill-bamecho-my-claude-skills-deep-analysis
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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  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:  入口
 -> 系统
 -> 外部依赖

关键路径:
输入
 -> 核心模块
 -> 状态/存储
 -> 输出

**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)

**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

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [bamecho](https://github.com/bamecho)
- **Source:** [bamecho/my-claude-skills](https://github.com/bamecho/my-claude-skills)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-bamecho-my-claude-skills-deep-analysis
- Seller: https://agentstack.voostack.com/s/bamecho
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
