@v587d/capital-generation 2.7.3 → 2.7.4

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 +72 -0
  2. package/README.md +6 -6
  3. package/THIRD_PARTY_NOTICES.md +65 -18
  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,196 @@
1
+ ---
2
+ name: china-strip-profile
3
+ description: Create one-page company profile slides (strip profiles) for A-share targets in pitch books and deal materials. Adapted from the original strip-profile skill for Chinese companies, A-share market data, and Chinese business terminology. Triggers on "A股公司简介", "公司概况", "strip profile China", "one-pager A-share", or "target profile for [company]".
4
+ ---
5
+
6
+ # china-strip-profile
7
+
8
+ ## Purpose
9
+
10
+ Create professional **A股目标公司简介/Strip Profile** slides for pitch books and deal materials.
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_stock_info(ticker) → Company profile
24
+ get_quote(ticker) → Current valuation
25
+ get_historical_data(ticker) → Stock performance
26
+ get_financials(ticker, "income", "annual") → Revenue, profit
27
+ get_financials(ticker, "balance", "annual") → Assets, debt
28
+ get_industry_stocks(industry="...") → Peer context
29
+ get_stock_news(ticker) → Recent news
30
+ ```
31
+
32
+ ### Secondary Sources
33
+
34
+ - **巨潮资讯** — annual reports, prospectus (招股说明书)
35
+ - **企查查 / 天眼查** — corporate structure, subsidiaries
36
+ - **公司官网** — investor relations materials
37
+ - **券商研报** — existing research (if covered)
38
+
39
+ ## Workflow
40
+
41
+ ### Step 1: Gather Target Information
42
+
43
+ **Company basics:**
44
+ - 公司全称 (Full name)
45
+ - 股票代码 (Ticker)
46
+ - 上市板块 (Listing board: 主板/创业板/科创板/北交所)
47
+ - 上市日期 (Listing date)
48
+ - 行业分类 (Industry classification)
49
+ - 总部地址 (Headquarters)
50
+ - 员工人数 (Employee count)
51
+
52
+ **Business description:**
53
+ - 主营业务 (Core business)
54
+ - 产品/服务 (Products/services)
55
+ - 商业模式 (Business model)
56
+ - 客户结构 (Customer base)
57
+ - 地域分布 (Geographic footprint)
58
+
59
+ **Financial snapshot (most recent):**
60
+
61
+ | Metric | FY2023 | FY2022 | YoY |
62
+ |--------|--------|--------|-----|
63
+ | Revenue (亿) | | | |
64
+ | Net Income (亿) | | | |
65
+ | Gross Margin | | | |
66
+ | Net Margin | | | |
67
+ | ROE | | | |
68
+ | Net Debt/EBITDA | | | |
69
+
70
+ **Market data:**
71
+ - Current price (latest close)
72
+ - Market cap (总市值 / 流通市值)
73
+ - 52-week high/low
74
+ - YTD performance
75
+ - Average daily turnover
76
+
77
+ ### Step 2: Identify Key Investment Highlights
78
+
79
+ **Highlight categories:**
80
+
81
+ 1. **Market leadership** (市场地位)
82
+ - Market share rank
83
+ - Competitive advantages
84
+ - Barriers to entry
85
+
86
+ 2. **Financial profile** (财务特征)
87
+ - Revenue scale and growth
88
+ - Margin profile
89
+ - Cash generation
90
+ - Balance sheet strength
91
+
92
+ 3. **Growth drivers** (成长动力)
93
+ - New products / expansion
94
+ - Market opportunities
95
+ - Capacity additions
96
+
97
+ 4. **Valuation context** (估值位置)
98
+ - Current multiples vs history
99
+ - vs peers
100
+ - Upside/downside
101
+
102
+ ### Step 3: Build Slide Content
103
+
104
+ **Standard strip profile layout (1 slide, typically):**
105
+
106
+ **Left panel — Company snapshot:**
107
+ ```
108
+ [公司LOGO/名称] [股票代码]
109
+ [行业] | [上市板块] | [上市日期]
110
+
111
+ 公司简介:
112
+ [2-3 sentences on business model]
113
+
114
+ 核心财务 (最近财年):
115
+ 营业收入: XX亿 (YoY: +XX%)
116
+ 净利润: XX亿 (YoY: +XX%)
117
+ 毛利率: XX%
118
+ 净利率: XX%
119
+ ROE: XX%
120
+ 有息负债: XX亿
121
+ ```
122
+
123
+ **Right panel — Key metrics / highlights:**
124
+ ```
125
+ [3-5 bullet investment highlights]
126
+ - 市场地位: ...
127
+ - 成长动力: ...
128
+ - 竞争优势: ...
129
+ - 估值水平: ...
130
+ ```
131
+
132
+ **Bottom — Charts:**
133
+ - Revenue / profit history (3-5 years)
134
+ - PE band or comparable multiples
135
+ - Share price performance
136
+
137
+ ### Step 4: Visual Design
138
+
139
+ **Design guidelines:**
140
+ - Clean, professional layout
141
+ - Consistent with firm's pitch deck template
142
+ - Key numbers prominently displayed
143
+ - Charts simple and readable
144
+ - Chinese labels appropriate for audience
145
+
146
+ **Color scheme (default if no template):**
147
+ - Section headers: Dark blue `#1F4E79` with white text
148
+ - Data cells: Light grey `#F2F2F2` or white
149
+ - Accent: Company brand colors (research via web search)
150
+ - Text: Black / dark grey
151
+
152
+ ### Step 5: Quality Check
153
+
154
+ **Before finalizing:**
155
+ - [ ] All financials sourced from 巨潮 or AkShare
156
+ - [ ] Market data current
157
+ - [ ] Key highlights compelling and factual
158
+ - [ ] Charts readable and properly labeled
159
+ - [ ] Brand colors correct (researched, not assumed)
160
+ - [ ] Formatting consistent with deck template
161
+
162
+ ## China-Specific Considerations
163
+
164
+ ### Listing Boards
165
+
166
+ | Board | Requirements | Characteristics |
167
+ |-------|-------------|-----------------|
168
+ | 主板 (Main Board) | Profitable, established | Large-caps, mature companies |
169
+ | 创业板 (ChiNext) | Growth, innovation | Tech, healthcare, growth |
170
+ | 科创板 (STAR Market) | Hard tech, R&D | Semiconductors, biotech, advanced mfg |
171
+ | 北交所 (BJSE) | SMEs, innovative | Smaller, earlier-stage companies |
172
+
173
+ ### A-share Specifics
174
+
175
+ - 涨跌停 limits affect trading profile
176
+ - 北向资金 ownership tracked for large-caps
177
+ - 股东户数 changes (from quarterly reports)
178
+ - 限售股比例 (restricted shares) affects float
179
+ - 质押比例 (share pledge ratio) — flag if >30%
180
+
181
+ ### Industry-Specific Metrics
182
+
183
+ | Industry | Key Metrics to Highlight |
184
+ |----------|-------------------------|
185
+ | 白酒 | 批价, 渠道库存, 动销增速 |
186
+ | 半导体 | 产能利用率, 技术节点, 客户认证 |
187
+ | 新能源 | 产能, 出货量, 技术路线 |
188
+ | 医药 | 管线, 研发投入, 集采中标 |
189
+ | 银行 | NIM, 不良率, 拨备覆盖率 |
190
+ | 互联网 | DAU/MAU, ARPU, 变现效率 |
191
+ > **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
192
+ > - `ifind-only` (strict): Use iFind only, error if unavailable
193
+ > - `ifind-fallback` (default): iFind preferred, fallback to AkShare
194
+ > - `akshare-only`: Skip iFind, use AkShare only
195
+ > - `wind-only`: Wind only, error if unavailable
196
+ > - `wind-fallback`: Wind first, fallback to iFind → AkShare
@@ -0,0 +1,235 @@
1
+ ---
2
+ name: china-teaser
3
+ description: Draft anonymous one-page company teasers for A-share sell-side M&A processes. Creates compelling blind profiles without revealing the company's identity, adapted for Chinese market conventions. Triggers on "A股Teaser", "盲审材料", "blind profile China", "anonymous teaser A-share", or "sell-side teaser".
4
+ ---
5
+
6
+ # china-teaser
7
+
8
+ ## Purpose
9
+
10
+ Draft **A股并购盲审Teaser / teaser** for sell-side M&A processes — anonymous one-page profiles designed to gauge buyer interest before NDA 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
+ # Anonymized financial metrics
24
+ get_industry_stocks(industry="...") → Industry context, peer benchmarks
25
+ get_quote(ticker) → Valuation ranges (anonymized)
26
+ get_financials(ticker, "income") → Revenue, margins (anonymized)
27
+ ```
28
+
29
+ ### Secondary Sources
30
+ - 巨潮 — target company filings (anonymized data extraction)
31
+ - Wind / Choice — industry benchmarks
32
+ - 券商研报 — sector overviews for context
33
+
34
+ ## Workflow
35
+
36
+ ### Step 1: Anonymize Target Information
37
+
38
+ **Strip identifying information:**
39
+ - Company name → "Leading [Industry] Player"
40
+ - Ticker → "[Listing Board] -listed Company"
41
+ - Exact location → "Headquartered in [Region]"
42
+ - Specific products → Product categories only
43
+ - Customer names → "Major domestic/international clients"
44
+ - Management names → Titles only
45
+
46
+ **Preserve:**
47
+ - Industry/sector
48
+ - Revenue scale (ranges)
49
+ - Margin profile
50
+ - Growth trajectory
51
+ - Market position (leader/challenger)
52
+ - Geographic footprint (regions, not cities)
53
+ - Deal rationale
54
+
55
+ ### Step 2: Structure the Teaser
56
+
57
+ **Standard A-share teaser format:**
58
+
59
+ ```
60
+ [CONFIDENTIAL — FOR DISCUSSION PURPOSES ONLY]
61
+
62
+ [ANONYMOUS TARGET]
63
+ [Industry Category] | [Listing Board] | [Region]
64
+
65
+ ═══════════════════════════════════════════
66
+
67
+ INVESTMENT HIGHLIGHTS
68
+
69
+ • Leading position in [industry] with ~[X%] market share
70
+ • Revenue of ~[XX]亿 RMB with [XX%] YoY growth
71
+ • [Gross/Operating] margin of [XX%], above sector average
72
+ • Strong [competitive advantage: brand/technology/distribution]
73
+ • Established [customer base / channel network / R&D platform]
74
+ • Attractive valuation at [X]x EV/EBITDA vs peers at [Y]x
75
+
76
+ ═══════════════════════════════════════════
77
+
78
+ COMPANY OVERVIEW
79
+
80
+ Business: [Description without names]
81
+ Founded: [Year]
82
+ Headquarters: [Region]
83
+ Employees: ~[XXX]
84
+ Listing: [Board] since [Year]
85
+
86
+ Core Business:
87
+ • [Segment 1]: [XX%] of revenue
88
+ • [Segment 2]: [XX%] of revenue
89
+ • [Segment 3]: [XX%] of revenue
90
+
91
+ ═══════════════════════════════════════════
92
+
93
+ MARKET POSITION
94
+
95
+ • #X player in China [industry] market (~[XX]亿 RMB TAM)
96
+ • Strong presence in [region/segment]
97
+ • Key competitive advantages: [bullet points]
98
+ • [XX%] market share in core segment
99
+
100
+ ═══════════════════════════════════════════
101
+
102
+ FINANCIAL SNAPSHOT
103
+
104
+ (RMB 亿元)
105
+
106
+ 2022 2023 2024E
107
+ Revenue XX XX XX
108
+ YoY Growth XX% XX% XX%
109
+ Gross Profit XX XX XX
110
+ Gross Margin XX% XX% XX%
111
+ EBITDA XX XX XX
112
+ EBITDA Margin XX% XX% XX%
113
+ Net Income XX XX XX
114
+ Net Margin XX% XX% XX%
115
+
116
+ ═══════════════════════════════════════════
117
+
118
+ TRANSACTION RATIONALE
119
+
120
+ • Industry consolidation opportunity — top [X] players control [XX%]
121
+ • Synergies: [cost savings / revenue enhancement]
122
+ • Attractive valuation vs transaction comps
123
+ • Strong [cash flow / growth] supporting leverage capacity
124
+
125
+ ═══════════════════════════════════════════
126
+
127
+ CONFIDENTIALITY
128
+ This teaser is prepared solely for discussion purposes and is subject to a
129
+ Non-Disclosure Agreement. All information is provided on a confidential basis
130
+ and may not be reproduced or distributed without prior written consent.
131
+
132
+ [Advisor Name] | [Date]
133
+ ```
134
+
135
+ ### Step 3: Financial Anonymization
136
+
137
+ **Ranges to use:**
138
+
139
+ | Actual | Display As |
140
+ |--------|-----------|
141
+ | 15.2亿 | ~15亿 |
142
+ | 23.7亿 | ~20-25亿 |
143
+ | 156.3亿 | ~150亿 |
144
+ | 0.98% | ~1% |
145
+ | 15.23% | ~15% |
146
+
147
+ **Multiple rounding:**
148
+ - 8.3x → ~8x
149
+ - 12.7x → ~12-13x
150
+ - 23.45x → ~23x
151
+
152
+ ### Step 4: Design
153
+
154
+ **Layout:**
155
+ - Single page (A4 or letter)
156
+ - Clean, professional design
157
+ - Firm branding (logo, colors)
158
+ - No company-specific imagery
159
+ - Generic industry imagery acceptable
160
+
161
+ **Visual elements:**
162
+ - Company logo: Anonymous icon or generic placeholder
163
+ - Charts: Revenue growth, margin trends (anonymized)
164
+ - Market share: Industry context without naming
165
+
166
+ ### Step 5: Distribution Protocol
167
+
168
+ **Distribution rules:**
169
+ 1. Only to qualified, vetted buyers
170
+ 2. Under mutual NDA
171
+ 3. Version control (track who received which version)
172
+ 4. No forwarding without approval
173
+ 5. Digital: PDF with disabled printing/editing preferred
174
+
175
+ ## China-Specific Considerations
176
+
177
+ ### A-share Market Context
178
+
179
+ | Feature | Teaser Consideration |
180
+ |---------|----------------------|
181
+ | 涨跌停限制 | Mention as market characteristic |
182
+ | 散户投资者 | Note retail participation level |
183
+ | 政策驱动 | Highlight policy tailwinds/risks |
184
+ | 北向资金 | Foreign ownership trend |
185
+ | 外资准入 | Foreign investment restrictions if applicable |
186
+
187
+ ### Anonymization Best Practices
188
+
189
+ **Do NOT include:**
190
+ - Exact company name or ticker
191
+ - Specific city names (use region: 华东, 华南, 华北)
192
+ - Customer/supplier names
193
+ - Specific product brand names
194
+ - Management names
195
+ - Exact address
196
+
197
+ **DO include:**
198
+ - Industry sector (e.g., 白酒, 半导体)
199
+ - Revenue range
200
+ - Margin profile
201
+ - Growth trajectory
202
+ - Market position (# rank)
203
+ - Geographic region (broad)
204
+ - Competitive strengths (general)
205
+
206
+ ### China M&A Market Context
207
+
208
+ **Typical teaser distribution:**
209
+ - 5-20 potential buyers
210
+ - Mix of strategic and financial
211
+ - 国企买家 often requires longer relationship-building
212
+ - 外资买家 may need additional regulatory context
213
+
214
+ **Valuation context to include:**
215
+ - A-share market multiples
216
+ - Recent comparable transactions
217
+ - Control premium range
218
+ - Market sentiment
219
+
220
+ ## Quality Checks
221
+
222
+ Before distributing:
223
+ - [ ] All identifying information removed
224
+ - [ ] Financial data anonymized appropriately
225
+ - [ ] Industry context clear
226
+ - [ ] Investment thesis compelling
227
+ - [ ] Design professional
228
+ - [ ] Distribution list approved
229
+ - [ ] NDA in place for all recipients
230
+ > **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
231
+ > - `ifind-only` (strict): Use iFind only, error if unavailable
232
+ > - `ifind-fallback` (default): iFind preferred, fallback to AkShare
233
+ > - `akshare-only`: Skip iFind, use AkShare only
234
+ > - `wind-only`: Wind only, error if unavailable
235
+ > - `wind-fallback`: Wind first, fallback to iFind → AkShare
@@ -0,0 +1,252 @@
1
+ ---
2
+ name: china-kyc-doc-parse
3
+ description: Parse and extract data from Chinese identity documents for KYC (Know Your Customer) compliance. Adapts the original kyc-doc-parse skill for Chinese ID cards, business licenses, and domestic compliance requirements. Triggers on "A股KYC", "身份文件解析", "parse Chinese ID", "KYC document", "客户身份识别", or "extract [document type]".
4
+ ---
5
+
6
+ # china-kyc-doc-parse
7
+
8
+ ## Purpose
9
+
10
+ Parse **中国身份文件** — extract and verify data from Chinese KYC documents.
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
+ # Not typically used for KYC; for background checks:
24
+ get_stock_info(ticker) → Company verification (if applicable)
25
+ ```
26
+
27
+ ### Secondary Sources
28
+ - 国家企业信用信息公示系统 — business license verification
29
+ - 天眼查 / 企查查 — corporate information
30
+ - 公安部 — ID verification (via approved channels)
31
+
32
+ ## Document Types
33
+
34
+ ### 1. 个人身份证 (Personal ID Card)
35
+
36
+ **Front of ID card:**
37
+
38
+ | Field | Location | Data Type |
39
+ |-------|----------|-----------|
40
+ | 姓名 | Upper section | Text |
41
+ | 性别 | Below name | 男/女 |
42
+ | 民族 | Below gender | Text (e.g., 汉) |
43
+ | 出生日期 | Below ethnicity | YYYY年MM月DD日 |
44
+ | 住址 | Lower section | Address |
45
+ | 公民身份号码 | Lower section | 18-digit number |
46
+
47
+ **Back of ID card:**
48
+
49
+ | Field | Description |
50
+ |-------|-------------|
51
+ | 签发机关 | Issuing authority |
52
+ | 有效期限 | Validity period |
53
+ | 证件签发 | Issue date |
54
+ | 证件失效 | Expiry date |
55
+
56
+ **ID number structure:**
57
+
58
+ | Position | Length | Content |
59
+ |----------|--------|---------|
60
+ | 1-6 | 6 digits | Address code (行政区划) |
61
+ | 7-14 | 8 digits | Birth date (YYYYMMDD) |
62
+ | 15-17 | 3 digits | Order code + gender (odd=male, even=female) |
63
+ | 18 | 1 digit | Check digit |
64
+
65
+ ### 2. 营业执照 (Business License)
66
+
67
+ **Unified Social Credit Code (统一社会信用代码):**
68
+
69
+ | Structure | Length | Content |
70
+ |-----------|--------|---------|
71
+ | 登记管理部门代码 | 1 digit | 9=工商, 1=机构编制, etc. |
72
+ | 机构类别代码 | 1 digit | |
73
+ | 登记管理机关行政区划码 | 6 digits | |
74
+ | 主体标识码 | 9 digits | Org code |
75
+ | 校验码 | 1 digit | Check digit |
76
+
77
+ **Business license fields:**
78
+
79
+ | Field | Content |
80
+ |-------|---------|
81
+ | 统一社会信用代码 | 18-digit code |
82
+ | 名称 | Company name |
83
+ | 类型 | Entity type |
84
+ | 法定代表人 | Legal representative |
85
+ | 注册资本 | Registered capital |
86
+ | 成立日期 | Establishment date |
87
+ | 住所 | Registered address |
88
+ | 经营范围 | Business scope |
89
+ | 登记机关 | Registration authority |
90
+ | 登记日期 | Registration date |
91
+
92
+ ### 3. 护照 (Passport)
93
+
94
+ | Field | Content |
95
+ |-------|---------|
96
+ | 护照号码 | Letter + 8 digits |
97
+ | 姓名 | Chinese + Pinyin |
98
+ | 国籍 | Nationality |
99
+ | 出生日期 | DD/MM/YYYY |
100
+ | 性别 | M/F |
101
+ | 出生地点 | Place of birth |
102
+ | 签发日期 | Issue date |
103
+ | 有效期至 | Expiry date |
104
+ | 签发机关 | Issuing authority |
105
+
106
+ ### 4. 港澳通行证 / 台湾通行证
107
+
108
+ | Field | Content |
109
+ |-------|---------|
110
+ | 证件号码 | HK/Macau/Taiwan travel permit number |
111
+ | 姓名 | Name |
112
+ | 出生日期 | DOB |
113
+ | 性别 | Gender |
114
+ | 有效期至 | Expiry date |
115
+
116
+ ### 5. 外国人居留许可证
117
+
118
+ | Field | Content |
119
+ |-------|---------|
120
+ | 姓名 | Name (native + Chinese) |
121
+ | 国籍 | Nationality |
122
+ | 出生日期 | DOB |
123
+ | 性别 | Gender |
124
+ | 有效期至 | Expiry date |
125
+ | 签发机关 | Issuing authority |
126
+
127
+ ## Parsing Workflow
128
+
129
+ ### Step 1: Document Intake
130
+
131
+ **Document verification:**
132
+
133
+ | Check | Pass Criteria |
134
+ |-------|--------------|
135
+ | 照片清晰 | Photo clear enough to read |
136
+ | 文字清晰 | Text legible |
137
+ | 无遮挡 | No obstruction of key fields |
138
+ | 证件在有效期内 | Not expired |
139
+ | 证件真实 | Genuine appearance |
140
+
141
+ ### Step 2: Data Extraction
142
+
143
+ **Extraction checklist:**
144
+
145
+ | Document | Fields to Extract |
146
+ |----------|------------------|
147
+ | 身份证 | Name, ID number, DOB, gender, address |
148
+ | 营业执照 | Company name, USCC, legal rep, registered capital, scope |
149
+ | 护照 | Passport number, name, nationality, DOB, expiry |
150
+ | 其他 | As applicable |
151
+
152
+ ### Step 3: ID Number Validation
153
+
154
+ **ID number checks:**
155
+
156
+ | Check | Method | Pass |
157
+ |-------|--------|------|
158
+ | Length | 18 digits | ✓ |
159
+ | Birth date | Valid date | ✓ |
160
+ | Gender | Odd/even check | ✓ |
161
+ | Check digit | Mod 11 algorithm | ✓ |
162
+ | Address code | Valid code | ✓ |
163
+
164
+ **Check digit algorithm:**
165
+ ```
166
+ Weights: 7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2
167
+ Remainder → 0-10 → Code: 10→X, 0→1, 1→0, 2→9, ...
168
+ ```
169
+
170
+ ### Step 4: Address Code Decoding
171
+
172
+ **Address code lookup:**
173
+
174
+ | Code | Province/City |
175
+ |------|--------------|
176
+ | 11 | 北京 |
177
+ | 31 | 上海 |
178
+ | 44 | 广东 |
179
+ | 33 | 浙江 |
180
+ | 32 | 江苏 |
181
+ | ... | ... |
182
+
183
+ ### Step 5: Data Normalization
184
+
185
+ **Normalization rules:**
186
+
187
+ | Field | Normalization |
188
+ |-------|--------------|
189
+ | Name | Trim whitespace, no middle dots |
190
+ | ID number | Uppercase X for check digit |
191
+ | DOB | YYYY-MM-DD format |
192
+ | Address | Standardize |
193
+ | Phone | +86 format |
194
+ | Registered capital | Convert to 万元 |
195
+ | Dates | YYYY-MM-DD format |
196
+
197
+ ### Step 6: Quality Checks
198
+
199
+ **Extraction quality:**
200
+
201
+ | Check | Pass |
202
+ |-------|------|
203
+ | All required fields extracted | ✓ |
204
+ | Data format correct | ✓ |
205
+ | ID number validated | ✓ |
206
+ | Dates valid | ✓ |
207
+ | No OCR errors | ✓ |
208
+
209
+ ## China-Specific Considerations
210
+
211
+ ### Anti-Money Laundering (AML)
212
+
213
+ | Requirement | Implementation |
214
+ |-------------|----------------|
215
+ | 客户身份识别 | Identify and verify customer |
216
+ | 受益所有人 | Ultimate beneficial owner |
217
+ | 持续识别 | Ongoing monitoring |
218
+ | 风险分类 | Risk categorization |
219
+ | 身份证明文件 | Minimum documents required |
220
+
221
+ ### Required Documents by Customer Type
222
+
223
+ | Type | Required |
224
+ |------|----------|
225
+ | 中国个人 | 身份证 |
226
+ | 外国个人 | 护照 + 居留许可 |
227
+ | 中国企业 | 营业执照 + 法人身份证 |
228
+ | 外国企业 | 注册文件 + 授权代表证件 |
229
+
230
+ ### Common Issues
231
+
232
+ | Issue | Resolution |
233
+ |-------|-----------|
234
+ | 照片模糊 | Request clearer copy |
235
+ | 证件过期 | Request current document |
236
+ | 信息矛盾 | Verify with other sources |
237
+ | 扫描不全 | Request complete document |
238
+
239
+ ## Quality Checks
240
+
241
+ Before completing:
242
+ - [ ] All fields extracted
243
+ - [ ] Data validated
244
+ - [ ] Documents verified
245
+ - [ ] AML checks performed
246
+ - [ ] Records complete
247
+ > **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
248
+ > - `ifind-only` (strict): Use iFind only, error if unavailable
249
+ > - `ifind-fallback` (default): iFind preferred, fallback to AkShare
250
+ > - `akshare-only`: Skip iFind, use AkShare only
251
+ > - `wind-only`: Wind only, error if unavailable
252
+ > - `wind-fallback`: Wind first, fallback to iFind → AkShare