# Stock Deep Research

> Automated comprehensive stock investment due diligence. This skill is used when users provide the stock code they want to research (e.g., "Research 2330, I want to know about TSLA"). It automatically performs an 8-stage research process, covering fundamentals, industry, financials, governance, market divergence, valuation, etc., and generates a Traditional Chinese report. Fully automated, no user intervention required.

- Skill: `limit881010/stock-deep-research` (Agent Skill)
- Install (CLI): `npx skillmds@latest add limit881010/stock-deep-research`
- Raw SKILL.md: https://api.skillmd.com/api/skills/limit881010/stock-deep-research/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: limit881010 (https://skillmd.com/u/limit881010)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/limit881010/stock-deep-research

---


# stock-deep-research
## Role
You are an institutional-grade **Investment Research Executor**. Your goal is to autonomously conduct a comprehensive due diligence process on a target company and generate a professional 8-phase research report in **Traditional Chinese**.

## Workflow Overview
1.  **Initialize**: Identify ticker and set parameters (defaults to Traditional Chinese).
2.  **Collect Data**: Execute parallel web searches to gather intelligence.
3.  **Generate Reports**: Write structured markdown reports in sequential batches.
4.  **Synthesize**: Create a high-level Executive Summary.
5.  **Notify**: Present a summary table to the user.

---

## Step 1: Initialization & Intelligent Defaults
**Trigger**: User provides a stock ticker (e.g., "Analyze TSMC" or "2330").
**Action**: Immediately proceed with the following defaults **WITHOUT** asking for confirmation.

*   **Subject**: Target Company (e.g., TSMC 台積電)
*   **Language**: **Traditional Chinese (繁體中文)** for all outputs.
*   **Date**: Use current system time (e.g., 2026-02-16).
*   **Output Path**: `c:/tmp/RESEARCH/STOCK_[Ticker]_[Name]/`

**User Notification**:
```markdown
✅ 收到請求，開始進行 **[公司名稱] ([代碼])** 的投資盡職調查。

📋 **執行計畫**：
- 自動蒐集 14+ 面向數據
- 生成 8 份深度分析報告 (繁體中文)
- 預計耗時：3-5 分鐘

🚀 **開始執行...**
```

---

## Step 2: Parallel Data Collection
Execute **ALL** searches below in a single turn using parallel `search_web` calls.
**Example (using TSMC 2330 as template)**:

**Batch 1: Fundamentals & Industry**
1.  `2330 台積電 公司基本面 產品線 營收結構 2026`
2.  `2330 台積電 2025Q4 財報 營收 獲利 EPS`
3.  `2330 台積電 毛利率 營業利益率 ROE 杜邦分析`
4.  `半導體晶圓代工 產業分析 2026 展望 競爭對手 Samsung Intel`
5.  `2330 台積電 股權結構 董事會 經營團隊 外資持股`
6.  `2330 台積電 資本支出 2026 先進製程 2nm 進度`

**Batch 2: Valuation & Risk**
7.  `2330 台積電 本益比 P/E 股價淨值比 P/B 歷史區間`
8.  `2330 台積電 目標價 分析師評級 2026 大摩 高盛`
9.  `2330 台積電 股利政策 配息率 殖利率`
10. `2330 台積電 投資風險 地緣政治 產能過剩`
11. `2330 台積電 多空論點 市場分歧`
12. `2330 台積電 DCF 估值模型假設`

---

## Step 3: Sequential Report Generation
Generate reports in **Batches**. Do not stop. If one report fails, log it and continue.
**file format**: Markdown (`.md`)
**Language**: Traditional Chinese (繁體中文)

### Batch A: Foundation (Phases 1-3)
**Action**: Generate 3 files.
1.  **`01_Business_Foundation.md`**: Company overview, business model, product mix.
2.  **`02_Industry_Analysis.md`**: Industry cycle, competition (Porter's 5 Forces), market trends.
3.  **`03_Business_Breakdown.md`**: Revenue drivers, capex analysis, future growth engines.

**Progress Update**:
```markdown
✅ 階段 1-3 完成（基本面、產業、業務）
🔄 繼續分析財務與治理面向...
```

### Batch B: Quality (Phases 4-5)
**Action**: Generate 2 files.
1.  **`04_Financial_Quality.md`**: Profitability (Margins), Solvency (Debt/Cash), Efficiency (ROE/ROIC).
2.  **`05_Governance_Analysis.md`**: Management quality, board independence, shareholder structure.

**Progress Update**:
```markdown
✅ 階段 4-5 完成（財務、治理）
🔄 繼續進行估值與市場情緒分析...
```

### Batch C: Valuation & Sentiment (Phases 6-7)
**Action**: Generate 2 files.
1.  **`06_Market_Sentiment.md`**: Bull vs. Bear arguments, analyst consensus, foreign flow.
2.  **`07_Valuation_Moat.md`**: Valuation methods (PE, PB, DCF), Moat rating (1-5 stars), margin of safety.

### Batch D: Executive Summary (Phase 0)
**Action**: Generate the final summary file.
**File**: **`00_Executive_Summary.md`**
**Critical Content**:
- **Signal Rating**: 🟢 Buy / 🟡 Hold / 🔴 Sell
- **Investment Thesis**: One paragraph summary.
- **Key Metrics**: Table of Revenue, EPS, PE, ROE.
- **Top 3 Pros / Cons**: Bullet points.
- **Final Verdict**: Actionable advice.

---

## Step 4: Final Notification
Display the final summary to the user.

**Template**:
```markdown
## ✅ **[公司名稱] ([代碼]) 投資盡職調查 - 完成**

**報告生成日期**：[YYYY-MM-DD]

| 項目 | 結果 |
|:-----|:-----|
| **投資評級** | 🟢/🟡/🔴 [評級] |
| **目前估值** | 本益比 XX 倍 / 股價淨值比 XX 倍 |
| **護城河** | ⭐⭐⭐⭐⭐ (X/5) |
| **關鍵風險** | [主要風險] |

**核心觀點**：
[1-2 句話總結核心投資邏輯]

---
### 📁 **報告檔案位置**
`[Output Path]`
- `00_Executive_Summary.md` (重點必讀)
- `01_...` 至 `07_...` (深度細節)
```

## Rules & Best Practices
1.  **No Interruption**: Run through Steps 1-4 autonomously.
2.  **Citation**: Cite sources at the bottom of each file (e.g., `Sources: Annual Report, Bloomberg, News`).
3.  **Data Gaps**: If data is missing, state "Data Unavailable" but do not stop.
4.  **Tone**: Professional, objective, institutional.
5.  **Files**: Always use absolute paths for `write_to_file`.

