@v587d/capital-generation 2.7.3 → 2.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/README.md +17 -7
  3. package/THIRD_PARTY_NOTICES.md +71 -24
  4. package/capital-config/client.js +4 -4
  5. package/capital-config/package.json +1 -1
  6. package/capital-watchlist/package.json +1 -1
  7. package/chart-ui/package.json +1 -1
  8. package/lib/web-retriever/local-fetch.d.ts +1 -1
  9. package/lib/web-retriever/local-fetch.js +1 -1
  10. package/lib/web-retriever/sources.d.ts +1 -1
  11. package/lib/web-retriever/sources.js +1 -1
  12. package/lib/web-retriever/wind-client.d.ts +1 -1
  13. package/lib/web-retriever/wind-client.js +1 -1
  14. package/package.json +2 -1
  15. package/selected-skills/README.md +6 -1
  16. package/selected-skills/catalog.js +176 -0
  17. package/selected-skills/claude-for-financial-services-cn/LICENSE +201 -0
  18. package/selected-skills/claude-for-financial-services-cn/UPSTREAM.md +173 -0
  19. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-3-statement-model/SKILL.md +287 -0
  20. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-accrual-schedule/SKILL.md +182 -0
  21. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-audit-xls/SKILL.md +231 -0
  22. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-break-trace/SKILL.md +217 -0
  23. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-catalyst-calendar/SKILL.md +258 -0
  24. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-clean-data-xls/SKILL.md +237 -0
  25. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-comps/SKILL.md +104 -0
  26. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-comps-analysis/SKILL.md +196 -0
  27. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-dcf/SKILL.md +81 -0
  28. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-dcf-model/SKILL.md +68 -0
  29. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-deal-screening/SKILL.md +212 -0
  30. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-deck-refresh/SKILL.md +221 -0
  31. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-earnings-analysis/SKILL.md +237 -0
  32. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-earnings-preview/SKILL.md +239 -0
  33. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-gl-recon/SKILL.md +232 -0
  34. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-ib-check-deck/SKILL.md +252 -0
  35. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-idea-generation/SKILL.md +277 -0
  36. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-initiating-coverage/SKILL.md +271 -0
  37. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-lbo-model/SKILL.md +273 -0
  38. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-market-data/SKILL.md +229 -0
  39. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-model-update/SKILL.md +219 -0
  40. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-morning-note/SKILL.md +227 -0
  41. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-ppt-template-creator/SKILL.md +231 -0
  42. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-pptx-author/SKILL.md +240 -0
  43. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-roll-forward/SKILL.md +189 -0
  44. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-sector-overview/SKILL.md +257 -0
  45. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-skill-creator/SKILL.md +304 -0
  46. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-tax-loss-harvesting/SKILL.md +200 -0
  47. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-thesis-tracker/SKILL.md +237 -0
  48. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-variance-commentary/SKILL.md +262 -0
  49. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-xlsx-author/SKILL.md +256 -0
  50. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-accrual-schedule/SKILL.md +190 -0
  51. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-break-trace/SKILL.md +182 -0
  52. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-gl-recon/SKILL.md +200 -0
  53. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-nav-tieout/SKILL.md +233 -0
  54. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-roll-forward/SKILL.md +178 -0
  55. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-variance-commentary/SKILL.md +190 -0
  56. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-buyer-list/SKILL.md +198 -0
  57. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-cim-builder/SKILL.md +223 -0
  58. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-competitive-analysis/SKILL.md +233 -0
  59. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-datapack-builder/SKILL.md +232 -0
  60. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-deal-tracker/SKILL.md +151 -0
  61. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-merger-model/SKILL.md +226 -0
  62. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-pitch-deck/SKILL.md +231 -0
  63. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-process-letter/SKILL.md +249 -0
  64. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-strip-profile/SKILL.md +196 -0
  65. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-teaser/SKILL.md +235 -0
  66. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/operations/skills/china-kyc-doc-parse/SKILL.md +252 -0
  67. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/operations/skills/china-kyc-rules/SKILL.md +223 -0
  68. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-ai-readiness/SKILL.md +184 -0
  69. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-dd-checklist/SKILL.md +217 -0
  70. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-dd-meeting-prep/SKILL.md +290 -0
  71. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-deal-sourcing/SKILL.md +224 -0
  72. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-ic-memo/SKILL.md +230 -0
  73. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-portfolio-monitoring/SKILL.md +214 -0
  74. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-returns-analysis/SKILL.md +176 -0
  75. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-unit-economics/SKILL.md +192 -0
  76. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-value-creation-plan/SKILL.md +193 -0
  77. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-client-report/SKILL.md +205 -0
  78. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-client-review/SKILL.md +218 -0
  79. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-financial-plan/SKILL.md +259 -0
  80. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-investment-proposal/SKILL.md +271 -0
  81. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-portfolio-rebalance/SKILL.md +191 -0
@@ -0,0 +1,233 @@
1
+ ---
2
+ name: china-competitive-analysis
3
+ description: Competitive landscape analysis for A-share companies and Chinese industries. Maps competitors, compares positioning, and assesses relative strengths. Adapted from the original competitive-analysis skill for Chinese market context. Triggers on "A股竞争格局", "行业竞争分析", "competitive landscape China", "competitive analysis A-share", or "[company] competitors China".
4
+ ---
5
+
6
+ # china-competitive-analysis
7
+
8
+ ## Purpose
9
+
10
+ Analyze **A股行业竞争格局**, mapping competitive dynamics for Chinese companies and industries.
11
+
12
+ ## Data Sources
13
+
14
+ ### Tier 0 — 万得 Wind(最全面付费数据)
15
+ - 覆盖:A股/港美股/基金/指数/债券/宏观/研报/分析(44个工具)
16
+ - MCP 服务:`wind-mcp`(需 `WIND_API_KEY` 密钥,以 `ak_` 开头)
17
+ - 优势:全市场覆盖面最广、数据最全面、包含研报和量化分析
18
+ - 密钥申请:https://aifinmarket.wind.com.cn/#/home
19
+
20
+ ### Tier 1 — 同花顺 iFind(付费精确数据)/ AkShare MCP(Tier-2 免费备选)
21
+
22
+ ```python
23
+ get_industry_stocks(industry="...") → Full peer list
24
+ get_quote(ticker) → Valuation, market cap
25
+ get_financials(ticker, "income") → Revenue, margins
26
+ get_financials(ticker, "balance") → Assets, debt
27
+ get_stock_info(ticker) → Business description
28
+ ```
29
+
30
+ ### Secondary Sources
31
+ - 巨潮年报 — detailed segment data
32
+ - 券商行业报告 — analyst competitive analysis
33
+ - Wind / Choice — market share data
34
+ - 行业协会 — industry statistics
35
+
36
+ ## Workflow
37
+
38
+ ### Step 1: Map the Competitive Set
39
+
40
+ **Industry definition:**
41
+ ```python
42
+ # Get full industry composition
43
+ get_industry_stocks(industry="白酒")
44
+ ```
45
+
46
+ **Tier the competitors:**
47
+
48
+ | Tier | Description | Examples |
49
+ |------|-------------|---------|
50
+ | Tier 1 (龙头) | Market leaders, >10% share | {{SECTOR_LEADER}} ({{EXAMPLE_SECTOR}}) |
51
+ | Tier 2 (挑战者) | Strong #2-5, growing share | {{CHALLENGER_1}}, {{CHALLENGER_2}} |
52
+ | Tier 3 (跟随者) | Niche players, regional | {{NICH_PLAYER}} |
53
+ | Tier 4 (边缘) | Declining or niche | {{LOW_END_PLAYER}} |
54
+
55
+ ### Step 2: Competitive Comparison Matrix
56
+
57
+ **Core comparison table:**
58
+
59
+ | Company | Revenue (亿) | YoY | Gross Margin | Net Margin | ROE | Market Cap (亿) | PE (TTM) | Market Share |
60
+ |---------|-------------|-----|-------------|------------|-----|----------------|----------|-------------|
61
+ | | | | | | | | | |
62
+
63
+ **Expand with competitive dimensions:**
64
+
65
+ | Dimension | Leader | Challenger 1 | Challenger 2 | Follower |
66
+ |-----------|--------|-------------|-------------|---------|
67
+ | 品牌力 (Brand) | | | | |
68
+ | 渠道能力 (Distribution) | | | | |
69
+ | 产品力 (Product quality) | | | | |
70
+ | 成本优势 (Cost advantage) | | | | |
71
+ | 研发投入 (R&D) | | | | |
72
+ | 国际化 (International) | | | | |
73
+
74
+ ### Step 3: Market Share Analysis
75
+
76
+ **Share trends:**
77
+
78
+ | Company | 2020 | 2021 | 2022 | 2023 | 2024E | Trend |
79
+ |---------|------|------|------|------|-------|-------|
80
+ | | | | | | | ↑ / → / ↓ |
81
+
82
+ **Concentration metrics:**
83
+ - CR3, CR5, CR10 (top 3/5/10 concentration)
84
+ - HHI (Herfindahl-Hirschman Index)
85
+ - Market share distribution
86
+
87
+ ### Step 4: Competitive Positioning
88
+
89
+ **Positioning map:**
90
+
91
+ For 2x2 matrices, use:
92
+ - X-axis: Price (价格) or Scale (规模)
93
+ - Y-axis: Quality (品质) or Growth (增速)
94
+
95
+ Example for {{EXAMPLE_SECTOR}}:
96
+ ```
97
+ 高端/品质
98
+ |
99
+ {{SECTOR_LEADER}} | {{CHALLENGER_1}}/{{CHALLENGER_2}}
100
+ |
101
+ {{NICH_PLAYER}} | {{NATIONAL_BRAND}}
102
+ |
103
+ |________________
104
+ 低端/性价比 高端/溢价
105
+ ```
106
+
107
+ ### Step 5: Barriers to Entry
108
+
109
+ **China-specific barriers:**
110
+
111
+ | Barrier Type | Examples |
112
+ |-------------|---------|
113
+ | 品牌护城河 | Consumer brand loyalty, 品牌认知 |
114
+ | 渠道壁垒 | Distribution network, 经销商体系 |
115
+ | 规模效应 | Cost advantages from scale |
116
+ | 技术壁垒 | Patents, know-how, 技术积累 |
117
+ | 牌照/资质 | Regulatory licenses, 牌照 |
118
+ | 资金壁垒 | Capital requirements |
119
+ | 政策壁垒 | Industry access restrictions |
120
+ | 数据壁垒 | Data network effects |
121
+
122
+ ### Step 6: Threat Assessment
123
+
124
+ **New entrants:**
125
+ - Likely sources (related industries, overseas)
126
+ - Barriers effectiveness
127
+
128
+ **Substitutes:**
129
+ - Alternative products/services
130
+ - Switching costs
131
+
132
+ **Supplier power:**
133
+ - Input concentration
134
+ - Price volatility (e.g., 原材料)
135
+
136
+ **Buyer power:**
137
+ - Customer concentration
138
+ - Switching costs
139
+
140
+ **Rivalry intensity:**
141
+ - Number and size of competitors
142
+ - Industry growth rate
143
+ - Differentiation level
144
+ - Exit barriers
145
+
146
+ ### Step 7: Competitive Dynamics
147
+
148
+ **Historical evolution:**
149
+ - How has competitive landscape changed?
150
+ - What drove shifts (policy, technology, demand)?
151
+
152
+ **Current dynamics:**
153
+ - Price competition (价格战)
154
+ - Capacity expansion
155
+ - M&A activity
156
+ - New product launches
157
+
158
+ **Future outlook:**
159
+ - Likely consolidation?
160
+ - New entrants?
161
+ - Technology disruption?
162
+
163
+ ## China-Specific Considerations
164
+
165
+ ### Industry Structure
166
+
167
+ | Pattern | Description | Example Industries |
168
+ |---------|-------------|-------------------|
169
+ | 寡头垄断 | Few large players | 白酒 (top 5 >80%) |
170
+ | 分散竞争 | Fragmented, many players | 餐饮, 零售 |
171
+ | 区域割据 | Regional champions | 啤酒, 食品加工 |
172
+ | 龙头集中 | Consolidating toward leaders | 家电, 医药流通 |
173
+
174
+ ### Competitive Behavior
175
+
176
+ - **价格战** (price wars) — common in commoditized sectors
177
+ - **渠道争夺** (channel competition) — 经销商, 线上平台
178
+ - **产能扩张** (capacity race) — leads to overcapacity
179
+ - **并购整合** (consolidation M&A) — industry rationalization
180
+ - **国际化** (going global) — emerging competitive frontier
181
+
182
+ ### Government Role
183
+
184
+ - 产业政策 shapes competitive dynamics
185
+ - 国企 vs 民企 competitive dynamics
186
+ - 地方保护 (local protectionism) in some industries
187
+ - 反垄断 enforcement affects market structure
188
+
189
+ ## Output Format
190
+
191
+ **Standard competitive analysis deliverable:**
192
+
193
+ ```
194
+ 【行业】竞争格局分析
195
+
196
+ 一、行业概述
197
+ 市场规模, 增速, 发展阶段
198
+
199
+ 二、竞争地图
200
+ Tier划分, 市场份额
201
+
202
+ 三、核心竞争要素
203
+ 各玩家优势对比
204
+
205
+ 四、竞争动态
206
+ 价格, 渠道, 产能, 并购
207
+
208
+ 五、壁垒分析
209
+ 进入壁垒, 现有壁垒有效性
210
+
211
+ 六、趋势展望
212
+ 行业整合, 新进入者, 技术变革
213
+
214
+ 七、结论与启示
215
+ 投资/战略含义
216
+ ```
217
+
218
+ ## Quality Checks
219
+
220
+ Before delivering:
221
+ - [ ] Competitive set complete and relevant
222
+ - [ ] Market share data sourced
223
+ - [ ] Comparison matrix comprehensive
224
+ - [ ] Barriers analyzed
225
+ - [ ] Competitive dynamics explained
226
+ - [ ] Forward outlook included
227
+ - [ ] Strategic implications drawn
228
+ > **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
229
+ > - `ifind-only` (strict): Use iFind only, error if unavailable
230
+ > - `ifind-fallback` (default): iFind preferred, fallback to AkShare
231
+ > - `akshare-only`: Skip iFind, use AkShare only
232
+ > - `wind-only`: Wind only, error if unavailable
233
+ > - `wind-fallback`: Wind first, fallback to iFind → AkShare
@@ -0,0 +1,232 @@
1
+ ---
2
+ name: china-datapack-builder
3
+ description: Build professional data packs for A-share investment banking deals — M&A due diligence, IC materials, company profiles. Adapted from the original datapack-builder skill for Chinese data sources (AkShare, 巨潮, exchange filings) and CAS accounting. Triggers on "A股数据包", "投行数据包", "datapack China", "due diligence pack A-share", or "IC data pack [company]".
4
+ ---
5
+
6
+ # china-datapack-builder
7
+
8
+ ## Purpose
9
+
10
+ Build professional **A股投行数据包 (Data Pack)** for investment banking workflows — M&A due diligence, IC review, deal execution.
11
+
12
+ ## Data Sources
13
+
14
+ ### Tier 0 — 万得 Wind(最全面付费数据)
15
+ - 覆盖:A股/港美股/基金/指数/债券/宏观/研报/分析(44个工具)
16
+ - MCP 服务:`wind-mcp`(需 `WIND_API_KEY` 密钥,以 `ak_` 开头)
17
+ - 优势:全市场覆盖面最广、数据最全面、包含研报和量化分析
18
+ - 密钥申请:https://aifinmarket.wind.com.cn/#/home
19
+
20
+ ### Tier 1 — 同花顺 iFind(付费精确数据)/ AkShare MCP(Tier-2 免费备选)
21
+
22
+ ```python
23
+ get_financials(ticker, "income", "annual") → P&L history
24
+ get_financials(ticker, "balance", "annual") → Balance sheet
25
+ get_financials(ticker, "cashflow", "annual") → Cash flow
26
+ get_quote(ticker) → Current valuation
27
+ get_historical_data(ticker) → Trading history
28
+ get_industry_stocks(industry="...") → Peer comparison
29
+ get_stock_info(ticker) → Company profile
30
+ ```
31
+
32
+ ### Secondary Sources
33
+
34
+ - **巨潮资讯** — mandatory filings (年报, 中报, 季报)
35
+ - **上交所 / 深交所** — announcements, filings
36
+ - **公司官网** — investor materials
37
+ - **企查查 / 天眼查** — corporate structure
38
+ - **Wind / Choice** — comprehensive data
39
+
40
+ ## Workflow
41
+
42
+ ### Step 1: Define Pack Scope
43
+
44
+ **Data pack types:**
45
+
46
+ | Pack Type | Purpose | Typical Content |
47
+ |-----------|---------|-----------------|
48
+ | Company overview | Initial target screening | Financials, profile, peers |
49
+ | Due diligence | Pre-deal deep dive | 3-statement, quality of earnings, debt |
50
+ | IC preparation | Investment committee | Executive summary, model, risks |
51
+ | M&A comps | Comparable transactions | Precedent deals, trading comps |
52
+ | Sector deep dive | Market context | Industry overview, competitive map |
53
+
54
+ ### Step 2: Gather Source Materials
55
+
56
+ **Financial data collection:**
57
+
58
+ ```python
59
+ # 3-5 years historicals
60
+ for year in range(2020, 2025):
61
+ get_financials(ticker, "income", "annual")
62
+ get_financials(ticker, "balance", "annual")
63
+ get_financials(ticker, "cashflow", "annual")
64
+ ```
65
+
66
+ **Corporate information:**
67
+ - 公司股权结构 (ownership structure)
68
+ - 子公司/参股公司 (subsidiaries / associates)
69
+ - 关联交易 (related party transactions)
70
+ - 对外担保 (guarantees)
71
+ - 诉讼仲裁 (litigation / arbitration)
72
+
73
+ **Market data:**
74
+ - Current and historical share price
75
+ - Trading volumes and liquidity
76
+ - Ownership breakdown (institutional, retail, 北向)
77
+ - Shareholder changes over time
78
+
79
+ ### Step 3: Normalize & Structure
80
+
81
+ **Data normalization standards:**
82
+
83
+ 1. **Currency**: All figures in CNY (人民币)
84
+ 2. **Units**: Consistent (亿元 preferred for large companies)
85
+ 3. **Periods**: Align fiscal years (typically Dec 31)
86
+ 4. **Adjustments**: Normalize for one-time items
87
+
88
+ **Standard data pack sections:**
89
+
90
+ #### Section 1: Executive Summary
91
+ - 1-page overview
92
+ - Key investment highlights
93
+ - Valuation summary
94
+ - Critical risks
95
+
96
+ #### Section 2: Company Overview
97
+ - Business description
98
+ - History and milestones
99
+ - Organizational structure
100
+ - Management team
101
+ - Shareholder structure
102
+
103
+ #### Section 3: Financial Summary
104
+ - Income statement (3-5 years)
105
+ - Balance sheet (3-5 years)
106
+ - Cash flow statement (3-5 years)
107
+ - Key ratios and metrics
108
+ - Revenue bridge
109
+
110
+ #### Section 4: Operating Metrics
111
+ - Revenue by segment
112
+ - Volume / unit data (if relevant)
113
+ - Capacity / utilization
114
+ - Geographic breakdown
115
+
116
+ #### Section 5: Quality of Earnings
117
+ - Revenue quality (cash conversion)
118
+ - Margin analysis
119
+ - One-time items identification
120
+ - Earnings sustainability
121
+
122
+ #### Section 6: Balance Sheet Analysis
123
+ - Asset quality
124
+ - Working capital efficiency
125
+ - Debt structure
126
+ - Off-balance sheet items
127
+
128
+ #### Section 7: Peer Comparison
129
+ - Trading multiples
130
+ - Financial metrics
131
+ - Operating metrics
132
+ - Valuation dispersion
133
+
134
+ #### Section 8: Transaction History
135
+ - Historical M&A
136
+ - Capital raising history
137
+ - Major corporate actions
138
+
139
+ #### Section 9: Risk Factors
140
+ - Company-specific risks
141
+ - Industry risks
142
+ - Regulatory risks
143
+ - Market risks
144
+
145
+ ### Step 4: Excel Workbook Structure
146
+
147
+ **Recommended tabs:**
148
+
149
+ | Tab | Content |
150
+ |-----|---------|
151
+ | 封面 (Cover) | Pack title, date, confidentiality |
152
+ | 摘要 (Summary) | Key data points, valuation |
153
+ | 利润表 (Income Statement) | Historical + projected |
154
+ | 资产负债表 (Balance Sheet) | Historical + projected |
155
+ | 现金流量表 (Cash Flow) | Historical + projected |
156
+ | 财务指标 (Key Metrics) | Ratios, growth rates |
157
+ | 可比公司 (Comparable Cos) | Peer analysis |
158
+ | 估值 (Valuation) | DCF, multiples, football field |
159
+ | 运营数据 (Operating Data) | Volume, capacity, etc. |
160
+ | 公司治理 (Governance) | Ownership, management, related party |
161
+ | 风险 (Risks) | Risk factor analysis |
162
+
163
+ ### Step 5: Quality Standards
164
+
165
+ **Data integrity:**
166
+ - [ ] All figures sourced from 巨潮 PDF or AkShare
167
+ - [ ] Cross-referenced against multiple sources where possible
168
+ - [ ] Adjustments documented
169
+ - [ ] No transcription errors
170
+
171
+ **Formatting:**
172
+ - [ ] Consistent formatting throughout
173
+ - [ ] Clear section headers
174
+ - [ ] Source citations in cell comments
175
+ - [ ] Professional appearance
176
+
177
+ **Completeness:**
178
+ - [ ] All sections relevant to deal type included
179
+ - [ ] Key risks identified and documented
180
+ - [ ] Valuation analysis complete
181
+ - [ ] Peer comparison adequate
182
+
183
+ ## China-Specific Considerations
184
+
185
+ ### Regulatory Filings
186
+
187
+ | Filing | Frequency | Source | Key Data |
188
+ |--------|-----------|--------|----------|
189
+ | 年报 (Annual report) | Annual | 巨潮 | Full financials, MD&A, risks |
190
+ | 中报 (Semi-annual) | Semi-annual | 巨潮 | Condensed financials |
191
+ | 季报 (Quarterly) | Quarterly | 巨潮 | Condensed financials |
192
+ | 业绩预告 | As required | 巨潮 | Directional guidance |
193
+ | 重大事项公告 | Ad-hoc | 巨潮 | M&A, contracts, etc. |
194
+
195
+ ### Common Data Issues
196
+
197
+ | Issue | Solution |
198
+ |-------|----------|
199
+ | 千元 vs 元 units | Check 财务报表附注 for units |
200
+ | 合并 vs 母公司报表 | Use 合并报表 for group analysis |
201
+ | 非经常性损益 | Flag and normalize |
202
+ | 政府补助 | Identify and separate |
203
+ | 关联交易占比高 | Flag for due diligence |
204
+
205
+ ### Industry-Specific Data
206
+
207
+ | Industry | Special Data Needs |
208
+ |----------|-------------------|
209
+ | 白酒 | 批价数据, 渠道库存, 经销商数量 |
210
+ | 半导体 | 产能数据, 晶圆出货, 客户结构 |
211
+ | 新能源 | 装机量, 产能, 技术参数 |
212
+ | 医药 | 管线数据, 临床进展, 集采中标 |
213
+ | 房地产 | 可售资源, 去化率, 土储 |
214
+
215
+ ## Quality Checks
216
+
217
+ Before delivering:
218
+ - [ ] Data pack scope clearly defined
219
+ - [ ] All financials complete and accurate
220
+ - [ ] Source materials documented
221
+ - [ ] Adjustments transparent
222
+ - [ ] Peer comparison relevant
223
+ - [ ] Valuation analysis included
224
+ - [ ] Risk factors comprehensive
225
+ - [ ] Excel workbook well-structured
226
+ - [ ] Confidentiality notices included
227
+ > **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
228
+ > - `ifind-only` (strict): Use iFind only, error if unavailable
229
+ > - `ifind-fallback` (default): iFind preferred, fallback to AkShare
230
+ > - `akshare-only`: Skip iFind, use AkShare only
231
+ > - `wind-only`: Wind only, error if unavailable
232
+ > - `wind-fallback`: Wind first, fallback to iFind → AkShare
@@ -0,0 +1,151 @@
1
+ ---
2
+ name: china-deal-tracker
3
+ description: Track A-share sell-side M&A and deal pipeline with milestones, deadlines, and action items. Adapted from the original deal-tracker skill for Chinese market deal processes. Triggers on "A股交易跟踪", "并购进度", "deal tracker China", "M&A pipeline A-share", or "track progress on [deal]".
4
+ ---
5
+
6
+ # china-deal-tracker
7
+
8
+ ## Purpose
9
+
10
+ Track **A股投行交易/并购进度** with structured milestone tracking, deadline management, and action item follow-up.
11
+
12
+ ## Data Sources
13
+
14
+ ### Tier 0 — 万得 Wind(最全面付费数据)
15
+ - 覆盖:A股/港美股/基金/指数/债券/宏观/研报/分析(44个工具)
16
+ - MCP 服务:`wind-mcp`(需 `WIND_API_KEY` 密钥,以 `ak_` 开头)
17
+ - 优势:全市场覆盖面最广、数据最全面、包含研报和量化分析
18
+ - 密钥申请:https://aifinmarket.wind.com.cn/#/home
19
+
20
+ ### Tier 1 — 同花顺 iFind(付费精确数据)/ AkShare MCP(Tier-2 免费备选)
21
+
22
+ ## Workflow
23
+
24
+ ### Step 1: Set Up Deal Record
25
+
26
+ **Deal setup template:**
27
+
28
+ ```json
29
+ {
30
+ "deal_name": "[Target] 股权转让",
31
+ "deal_type": "股权收购 / 资产收购 / 吸收合并 / 借壳",
32
+ "target": "[Company name] ([Ticker])",
33
+ "industry": "[Industry]",
34
+ "mandate_date": "[Date]",
35
+ "expected_close": "[Date]",
36
+ "deal_size": "XX亿",
37
+ "status": "Active / On hold / Completed / Terminated"
38
+ }
39
+ ```
40
+
41
+ ### Step 2: Define Milestones
42
+
43
+ **Standard A-share M&A milestones:**
44
+
45
+ | # | Milestone | Typical Duration | Dependencies |
46
+ |---|-----------|-----------------|-------------|
47
+ | 1 | 委托签约 (Mandate signing) | Day 0 | Client agreement |
48
+ | 2 | Teaser 制作 | 3-5 days | Information gathering |
49
+ | 3 | 买方筛选 (Buyer screening) | 1-2 weeks | IOI responses |
50
+ | 4 | NDA 签署 | 1-3 days | Buyer identification |
51
+ | 5 | 管理层会议 (Management meeting) | Week 3-4 | Buyer shortlist |
52
+ | 6 | 尽调 (Due diligence) | 2-4 weeks | Data room access |
53
+ | 7 | 投标 (Bid submission) | Week 6-8 | DD complete |
54
+ | 8 | 谈判 (Negotiation) | 2-4 weeks | Best bid selection |
55
+ | 9 | 排他 (Exclusivity) | 2-4 weeks | Term sheet signed |
56
+ | 10 | SPA 签署 (Signing) | 4-8 weeks | Approvals obtained |
57
+ | 11 | 监管审批 (Regulatory approval) | 1-6 months | Filing complete |
58
+ | 12 | 交割 (Closing) | Day 0 of closing | All CPs satisfied |
59
+
60
+ ### Step 3: Track Action Items
61
+
62
+ **Action item format:**
63
+
64
+ | # | Action | Owner | Deadline | Status | Notes |
65
+ |---|--------|-------|----------|--------|-------|
66
+ | 1 | 制作Teaser | [Name] | [Date] | In progress | |
67
+ | 2 | 买方联系 | [Name] | [Date] | Not started | 3 target buyers |
68
+ | 3 | 管理层会议安排 | [Name] | [Date] | Pending | 需确认日期 |
69
+
70
+ ### Step 4: Weekly Status Update
71
+
72
+ **Standard status format:**
73
+
74
+ ```
75
+ 【[Deal Name]】周报 [YYYY-MM-DD]
76
+
77
+ 一、本周进展
78
+ - [Milestone 1]: [Status update]
79
+ - [Milestone 2]: [Status update]
80
+
81
+ 二、下周计划
82
+ - [Action 1]
83
+ - [Action 2]
84
+
85
+ 三、风险与问题
86
+ - [Issue 1]: [Mitigation]
87
+ - [Issue 2]: [Escalation needed?]
88
+
89
+ 四、时间表更新
90
+ [Updated timeline if changed]
91
+ ```
92
+
93
+ ### Step 5: Deadlines & Alerts
94
+
95
+ **Critical deadlines to track:**
96
+
97
+ | Deadline | Alert Level | Action Required |
98
+ |----------|-------------|-----------------|
99
+ | IOI submission | High | Confirm receipt |
100
+ | FBO submission | High | Final review |
101
+ | Management meeting | High | Preparation, logistics |
102
+ | Regulatory filing | Critical | Prepare documents |
103
+ | SPA signing | Critical | Final terms |
104
+ | Closing | Critical | Coordination |
105
+
106
+ ### Step 6: Pipeline Overview
107
+
108
+ **Deal pipeline summary:**
109
+
110
+ | Deal | Stage | Size | Expected Close | Probability | Next Action |
111
+ |------|-------|------|---------------|-------------|-------------|
112
+ | | | | | | |
113
+
114
+ ## China-Specific Considerations
115
+
116
+ ### Regulatory Timeline Variations
117
+
118
+ | Factor | Impact |
119
+ |--------|--------|
120
+ | 反垄断审查 | Can add 60-180 days |
121
+ | 国有股权转让 | Requires 评估 and 产权交易所 |
122
+ | 外资安全审查 | 30-60 days if foreign buyer |
123
+ | 行业准入 | Sector-specific approvals |
124
+
125
+ ### Common Delays
126
+
127
+ | Issue | Typical Impact | Mitigation |
128
+ |-------|---------------|------------|
129
+ | 监管审批延迟 | +30-90 days | Early filing, engage regulators |
130
+ | 管理层分歧 | +2-4 weeks | Alignment meetings |
131
+ | 买方尽调问题 | +1-2 weeks | Data room preparation |
132
+ | 估值差距 | +2-4 weeks | Advisor mediation |
133
+ | 审批机关反馈 | Variable | Proactive engagement |
134
+
135
+ ### A-share Specific Items
136
+
137
+ - **停牌** (Trading halt): Target company stock halt during process
138
+ - **信息披露** (Disclosure): Public announcements required at key stages
139
+ - **内幕信息管理** (Insider trading): Strict MI management required
140
+ - **保密期** (Confidentiality period): Typically 6-12 months
141
+
142
+ ## Quality Checks
143
+
144
+ Before updating:
145
+ - [ ] All milestones defined
146
+ - [ ] Owners assigned
147
+ - [ ] Deadlines realistic
148
+ - [ ] Status accurate
149
+ - [ ] Risks flagged
150
+ - [ ] Next actions clear
151
+ - [ ] Pipeline summary current