@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,212 @@
1
+ ---
2
+ name: china-deal-screening
3
+ description: Screen and evaluate A-share investment opportunities. Adapts the original deal-screening skill for Chinese market data sources, A-share screening criteria, and domestic deal origination. Triggers on "A股标的筛选", "标的筛选", "screening China", "deal screening A-share", "筛选投资标的", or "screen for [criteria]".
4
+ ---
5
+
6
+ # china-deal-screening
7
+
8
+ ## Purpose
9
+
10
+ Screen **A股投资标的** — systematic deal screening for Chinese equity investments.
11
+
12
+ ## Data Sources
13
+
14
+ ### Primary: iFind MCP (Tier-1 付费) / AkShare MCP (Tier-2 免费备选)
15
+
16
+ ```python
17
+ get_industry_stocks(industry="...") → Industry universe
18
+ get_quote(ticker) → Valuation screening
19
+ get_financials(ticker, "income") → Financial screening
20
+ get_index_data("000001") → Market context
21
+ ```
22
+
23
+ ### Secondary Sources
24
+ - 东方财富 — stock screener
25
+ - 同花顺 iFinD — screening tool
26
+ - 巨潮 — company filings
27
+ - Wind — professional screening
28
+
29
+ ## Workflow
30
+
31
+ ### Step 1: Define Screening Criteria
32
+
33
+ **Screening framework:**
34
+
35
+ | Category | Criteria | Typical Range |
36
+ |----------|----------|---------------|
37
+ | 市值 (Market cap) | Min/max | ¥50亿 - ¥500亿 |
38
+ | 估值 (Valuation) | P/E, P/B | P/E 10-30x |
39
+ | 成长 (Growth) | Revenue/earnings growth | >15% YoY |
40
+ | 盈利 (Profitability) | ROE, margins | ROE >15% |
41
+ | 财务健康 (Financial health) | Debt/equity, current ratio | D/E <60% |
42
+ | 流动性 (Liquidity) | Avg daily volume | >¥5000万 |
43
+ | 治理 (Governance) | Ownership structure | Clean cap table |
44
+
45
+ ### Step 2: Build Screening Universe
46
+
47
+ **Universe construction:**
48
+
49
+ | Filter | Criteria | Source |
50
+ |--------|----------|--------|
51
+ | A股主板 | 600/000/001开头的6位代码 | AkShare |
52
+ | 创业板 | 300开头 | AkShare |
53
+ | 科创板 | 688开头 | AkShare |
54
+ | 北交所 | 8/9开头 | AkShare |
55
+ | ST排除 | Exclude ST/*ST | Filter |
56
+ | 次新股 | Exclude <6 months | Filter |
57
+
58
+ ### Step 3: Financial Screening
59
+
60
+ **Financial metrics:**
61
+
62
+ | Metric | Formula | Target |
63
+ |--------|---------|--------|
64
+ | 营业收入增速 | (Revenue - Revenue_prev) / Revenue_prev | >15% |
65
+ | 净利润增速 | (NI - NI_prev) / NI_prev | >15% |
66
+ | ROE | Net Income / Average Equity | >15% |
67
+ | 毛利率 | Gross Profit / Revenue | >30% |
68
+ | 净利率 | Net Income / Revenue | >10% |
69
+ | 资产负债率 | Total Debt / Total Assets | <60% |
70
+ | 经营现金流/净利润 | OCF / Net Income | >0.8 |
71
+
72
+ ### Step 4: Valuation Screening
73
+
74
+ **Valuation metrics:**
75
+
76
+ | Metric | Formula | Target |
77
+ |--------|---------|--------|
78
+ | P/E (TTM) | Price / TTM EPS | 10-30x |
79
+ | P/B | Price / BV per share | 1-5x |
80
+ | P/S | EV / Revenue | 1-5x |
81
+ | EV/EBITDA | EV / EBITDA | 5-15x |
82
+ | PEG | P/E / Growth rate | <1.0 |
83
+ | 股息率 | Dividend / Price | >2% (if applicable) |
84
+
85
+ ### Step 5: Technical Screening (Optional)
86
+
87
+ **Technical filters:**
88
+
89
+ | Indicator | Criteria |
90
+ |-----------|----------|
91
+ | 股价位置 | Not at 52-week high |
92
+ | 均线 | Above key MAs |
93
+ | 成交量 | Above average |
94
+ | 波动率 | Moderate |
95
+
96
+ ### Step 6: Quality Screening
97
+
98
+ **Quality filters:**
99
+
100
+ | Factor | Check |
101
+ |--------|-------|
102
+ | 审计意见 | Standard unqualified (标准无保留) |
103
+ | 管理层 | Stable, experienced |
104
+ | 股东结构 | No 质押风险 (pledge risk) |
105
+ | 关联交易 | Reasonable level |
106
+ | 诉讼/处罚 | No material issues |
107
+
108
+ ### Step 7: Scoring & Ranking
109
+
110
+ **Scoring model:**
111
+
112
+ | Category | Weight | Score (1-10) | Weighted |
113
+ |----------|--------|-------------|----------|
114
+ | 估值吸引力 | 25% | | |
115
+ | 成长性 | 20% | | |
116
+ | 盈利能力 | 20% | | |
117
+
118
+
119
+ | 财务健康 | 15% | | |
120
+ | 质量/治理 | 10% | | |
121
+ | 流动性 | 10% | | |
122
+ | **Total** | **100%** | | |
123
+
124
+ **Rank candidates by total score.**
125
+
126
+ ### Step 8: Due Diligence Queue
127
+
128
+ **Create DD pipeline:**
129
+
130
+ | Rank | Company | Ticker | Score | Sector | Next Step |
131
+ |------|---------|--------|-------|--------|-----------|
132
+ | 1 | | | X.X | | Full DD |
133
+ | 2 | | | X.X | | Quick scan |
134
+ | 3 | | | X.X | | Quick scan |
135
+
136
+ ## Screening Templates
137
+
138
+ ### Template 1: Growth at Reasonable Price (GARP)
139
+
140
+ | Filter | Criteria |
141
+ |--------|----------|
142
+ | P/E | 10-25x |
143
+ | Revenue growth | >20% |
144
+ | ROE | >15% |
145
+ | D/E | <50% |
146
+ | Market cap | >¥100亿 |
147
+
148
+ ### Template 2: Deep Value
149
+
150
+ | Filter | Criteria |
151
+ |--------|----------|
152
+ | P/B | <1.5x |
153
+ | Dividend yield | >3% |
154
+ | D/E | <40% |
155
+ | FCF | Positive |
156
+ | Business | Stable, understandable |
157
+
158
+ ### Template 3: Quality Compounder
159
+
160
+ | Filter | Criteria |
161
+ |--------|----------|
162
+ | ROE | >20% (3Y avg) |
163
+ | Revenue growth | >15% |
164
+ | Gross margin | >40% |
165
+ | D/E | <40% |
166
+ | Market cap | >¥200亿 |
167
+
168
+ ### Template 4: Turnaround Candidate
169
+
170
+ | Filter | Criteria |
171
+ |--------|----------|
172
+ | Recent loss | 1-2 years |
173
+ | Revenue trough | Near bottom |
174
+ | New management | Recent change |
175
+ | Restructuring | In progress |
176
+ | Industry recovery | Improving |
177
+
178
+ ## China-Specific Screening Considerations
179
+
180
+ ### Market Structure
181
+
182
+ | Factor | Impact on Screening |
183
+ |--------|---------------------|
184
+ | 散户主导 | Retail sentiment matters |
185
+ | 政策驱动 | Policy changes create opportunities |
186
+ | 概念/题材 | Theme investing common |
187
+ | 北向资金 | Foreign flows signal quality |
188
+ | 机构持仓 | Institutional ownership |
189
+
190
+ ### Common A-share Screening Pitfalls
191
+
192
+ | Pitfall | Issue | Mitigation |
193
+ |---------|-------|-----------|
194
+ | 一次性收益 | Distorts growth/earnings | Use 扣非数据 |
195
+ | 会计政策 | Aggressive recognition | Check notes |
196
+ | 关联交易 | Inflated revenue | Review disclosures |
197
+ | 大股东质押 | Pledge risk | Check 质押比例 |
198
+ | ST风险 | Delisting risk | Exclude ST stocks |
199
+
200
+ ## Quality Checks
201
+
202
+ Before finalizing:
203
+ - [ ] Criteria well-defined
204
+ - [ ] Universe appropriate
205
+ - [ ] Data quality verified
206
+ - [ ] Scoring model calibrated
207
+ - [ ] Top candidates make sense
208
+ - [ ] Next steps clear
209
+ > **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
210
+ > - `ifind-only` (strict): Use iFind only, error if unavailable
211
+ > - `ifind-fallback` (default): iFind preferred, fallback to AkShare
212
+ > - `akshare-only`: Skip iFind, use AkShare only
@@ -0,0 +1,221 @@
1
+ ---
2
+ name: china-deck-refresh
3
+ description: Refresh and update existing A-share investment presentation decks with latest data. Adapts the original deck-refresh skill for Chinese presentations, A-share data updates, and domestic market conventions. Triggers on "更新PPT", "刷新演示", "refresh deck China", "update presentation", "更新演示文稿", or "refresh slides [company]".
4
+ ---
5
+
6
+ # china-deck-refresh
7
+
8
+ ## Purpose
9
+
10
+ Refresh **A股投资分析PPT** — update existing presentation decks with latest financial data and market information.
11
+
12
+ ## Data Sources
13
+
14
+ ### Primary: iFind MCP (Tier-1 付费) / AkShare MCP (Tier-2 免费备选)
15
+
16
+ ```python
17
+ get_quote(ticker) → Latest stock price
18
+ get_financials(ticker, "income") → Latest financials
19
+ get_index_data("000001") → Market context
20
+ get_industry_stocks(industry="...") → Updated peer data
21
+ ```
22
+
23
+ ### Secondary Sources
24
+ - 巨潮 — latest filings
25
+ - Wind / Choice — market data
26
+
27
+ ## Workflow
28
+
29
+ ### Step 1: Inventory Existing Deck
30
+
31
+ **Deck audit:**
32
+
33
+ | Slide | Title | Data to Update | Status |
34
+ |-------|-------|---------------|--------|
35
+ | 1 | Cover | Date, version | |
36
+ | 2 | Investment Summary | Target price, rating | |
37
+ | 3 | Company Overview | Market cap, shares | |
38
+ | 4 | Financial Highlights | Latest results | |
39
+ | 5 | Revenue Bridge | Latest actuals | |
40
+ | 6 | Margin Analysis | Latest margins | |
41
+ | 7 | Peer Comparison | Updated multiples | |
42
+ | 8 | Valuation | Price, multiples | |
43
+ | 9 | Risk Factors | Current risks | |
44
+ | 10 | Recommendation | Target price | |
45
+
46
+ ### Step 2: Update Financial Data
47
+
48
+ **Data update checklist:**
49
+
50
+ | Data Item | Source | Update Frequency |
51
+ |-----------|--------|-----------------|
52
+ | Stock price | iFind / AkShare | Daily |
53
+ | Market cap | Calculated | Daily |
54
+ | P/E, P/B | Calculated | Daily |
55
+ | Revenue (LTM) | iFind / AkShare / 巨潮 | Quarterly |
56
+ | Net income (LTM) | iFind / AkShare / 巨潮 | Quarterly |
57
+ | Margins | Calculated | Quarterly |
58
+ | Peer multiples | iFind / AkShare | Quarterly |
59
+ | Forecast estimates | 券商研报 | Quarterly |
60
+
61
+ ### Step 3: Update Charts
62
+
63
+ **Chart update priorities:**
64
+
65
+ | Priority | Chart | Update Trigger |
66
+ |----------|-------|----------------|
67
+ | 1 | Stock price chart | Always |
68
+ | 2 | Revenue/profit | New quarterly results |
69
+ | 3 | Margin trends | New quarterly results |
70
+ | 4 | Peer comparison | New quarterly results |
71
+ | 5 | Valuation | Daily / new results |
72
+ | 6 | Financial trends | New annual results |
73
+
74
+ **Chart update steps:**
75
+ 1. Identify linked Excel data sources
76
+ 2. Update source data
77
+ 3. Refresh chart (right-click → refresh)
78
+ 4. Verify chart accuracy
79
+ 5. Update chart date if needed
80
+
81
+ ### Step 4: Update Text Content
82
+
83
+ **Text update checklist:**
84
+
85
+ | Element | Update |
86
+ |---------|--------|
87
+ | 日期 | Current date |
88
+ | 版本号 | Increment version |
89
+ | 股价 | Latest closing price |
90
+ | 市值 | Latest market cap |
91
+ | 目标价 | If changed |
92
+ | 评级 | If changed |
93
+ | 财务数据 | Latest actuals |
94
+ | 一致预期 | Updated consensus |
95
+ | 行业数据 | Latest industry reports |
96
+ | 新闻/事件 | Recent developments |
97
+
98
+ ### Step 5: Maintain Consistency
99
+
100
+ **Consistency checks:**
101
+
102
+ | Check | Description |
103
+ |-------|-------------|
104
+ | 数据一致性 | Same numbers across all slides |
105
+ | 日期一致性 | All dates current |
106
+ | 评级一致性 | Rating consistent throughout |
107
+ | 目标价一致性 | Target price matches valuation slide |
108
+ | 图表一致性 | Same color scheme, labeling |
109
+
110
+ ### Step 6: Version Control
111
+
112
+ **Version tracking:**
113
+
114
+ | Version | Date | Changes | Author |
115
+ |---------|------|---------|--------|
116
+ | v1.0 | | Initial | |
117
+ | v1.1 | | Updated financials | |
118
+ | v1.2 | | New earnings | |
119
+ | v2.0 | | Major refresh | |
120
+
121
+ **File naming:**
122
+ ```
123
+ [Ticker]_[Company]_[ReportType]_v[X.X]_[YYYYMMDD].pptx
124
+ Example: {{TICKER}}_{{COMPANY_NAME}}_{{REPORT_TITLE}}_v2.1_20240605.pptx
125
+ ```
126
+
127
+ ### Step 7: Quality Assurance
128
+
129
+ **QA checklist:**
130
+
131
+ | Check | Pass Criteria |
132
+ |-------|--------------|
133
+ | All data current | Latest available |
134
+ | No broken charts | All charts display |
135
+ | Consistent numbers | Cross-slide verification |
136
+ | No typos | Spell check |
137
+ | Formatting intact | Design unchanged |
138
+ | Links working | All links functional |
139
+ | File size reasonable | Not bloated |
140
+
141
+ ### Step 8: Distribution
142
+
143
+ **Distribution preparation:**
144
+
145
+ | Item | Action |
146
+ |------|--------|
147
+ | File format | Save as .pptx (editable) + .pdf (distribution) |
148
+ | File size | Compress if >50MB |
149
+ | Naming | Follow convention |
150
+ | Version note | Brief change summary |
151
+ | Distribution list | Email / shared drive |
152
+
153
+ ## Common Update Scenarios
154
+
155
+ ### Scenario 1: Quarterly Earnings Update
156
+
157
+ | Action | Detail |
158
+ |--------|--------|
159
+ | Update P&L | Add latest quarter actuals |
160
+ | Update BS | Add latest quarter BS |
161
+ | Update CF | Add latest quarter CF |
162
+ | Update charts | Refresh financial charts |
163
+ | Update commentary | Reflect latest results |
164
+ | Update target price | If changed |
165
+ | Version bump | vX.X → vX.X+1 |
166
+
167
+ ### Scenario 2: Daily/Weekly Market Update
168
+
169
+ | Action | Detail |
170
+ |--------|--------|
171
+ | Update price | Latest closing price |
172
+ | Update market cap | Recalculate |
173
+ | Update multiples | Recalculate P/E, P/B |
174
+ | Update price chart | Add recent data |
175
+ | Version bump | Minor version |
176
+
177
+ ### Scenario 3: Full Refresh (Semi-annual)
178
+
179
+ | Action | Detail |
180
+ |--------|--------|
181
+ | All financials | Full year actuals + new forecasts |
182
+ | All charts | Complete refresh |
183
+ | Peer set | Update peer group |
184
+ | Valuation | Full revaluation |
185
+ | All commentary | Comprehensive update |
186
+ | Version bump | Major version |
187
+
188
+ ## China-Specific Considerations
189
+
190
+ ### A-share Update Frequency
191
+
192
+ | Update Type | Frequency | Trigger |
193
+ |-------------|-----------|---------|
194
+ | 盘中更新 | Daily | Market movement |
195
+ | 盘后更新 | Daily | Close of trading |
196
+ | 业绩更新 | Quarterly | Earnings release |
197
+ | 深度更新 | Semi-annual | Full refresh |
198
+
199
+ ### Common Issues
200
+
201
+ | Issue | Solution |
202
+ |-------|----------|
203
+ | 图表链接断开 | Re-link data source |
204
+ | 字体缺失 | Embed fonts or use standard fonts |
205
+ | 版本混乱 | Clear version control |
206
+ | 数据不一致 | Cross-slide verification |
207
+
208
+ ## Quality Checks
209
+
210
+ Before distributing:
211
+ - [ ] All data updated
212
+ - [ ] All charts refreshed
213
+ - [ ] Consistency verified
214
+ - [ ] No broken links
215
+ - [ ] QA complete
216
+ - [ ] Version noted
217
+ - [ ] File formats correct
218
+ > **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
219
+ > - `ifind-only` (strict): Use iFind only, error if unavailable
220
+ > - `ifind-fallback` (default): iFind preferred, fallback to AkShare
221
+ > - `akshare-only`: Skip iFind, use AkShare only
@@ -0,0 +1,237 @@
1
+ ---
2
+ name: china-earnings-analysis
3
+ description: Post-earnings quarterly update reports for A-share companies under coverage. Analyzes 业绩快报/正式财报, generates variance tables (actual vs 一致预期 vs prior), flags key drivers, and drafts structured earnings notes in Chinese sell-side format. Use instead of the original earnings-analysis skill for Chinese equities. Triggers on "A股财报分析", "季度业绩点评", "年报/中报点评", "earnings review", or "[company] earnings".
4
+ ---
5
+
6
+ # china-earnings-analysis
7
+
8
+ > 本文件相对上游 `d7585ca` 快照做过合规改写(取数与凭据口径),逐条记在快照根目录的 UPSTREAM.md;方法论、阈值与输出模板未改。
9
+
10
+ ## Purpose
11
+
12
+ Create professional **A股季度/年度业绩点评报告**, analyzing results for companies already under coverage. Follow Chinese sell-side research standards (中金、中信、华泰 format).
13
+
14
+ ## Data Sources
15
+
16
+ Everything listed below is a **brief to hand to the host's retrieval path**, not a step this report performs. This plugin has exactly one way to obtain data — the main agent delegates it — and from here it calls no data interface and holds no key.
17
+
18
+ Write the exact request (ticker, the fields needed, the as-of date) for:
19
+
20
+ - Three statements: 利润表 (quarterly and annual), 资产负债表, 现金流量表
21
+ - Market data: 最新价 and its PE / PB, plus the price history this comparison needs
22
+ - Disclosure and narrative: the 定期报告 itself (the host parses the filing PDF into readable text), 业绩说明会 material, 投资者关系 Q&A, and recent 相关新闻
23
+ - Forward references: whatever 券商预测 fields the host can reach (e.g. 研报条目里的本年 / 次年 EPS 预测)
24
+
25
+ In a host that splits roles, delegate the request with that brief rather than searching from this step, then keep writing from what comes back and leave the rest unknown.
26
+
27
+ ## Key Financial Terms (Chinese → English)
28
+
29
+ | Chinese | English | Notes |
30
+ |---------|---------|-------|
31
+ | 营业收入 | Revenue | Top-line, net of VAT |
32
+ | 营业成本 | COGS | Cost of goods sold |
33
+ | 毛利率 | Gross margin | 营业利润/营业收入 |
34
+ | 营业利润 | Operating profit | 核心经营利润 |
35
+ | 归母净利润 | Net income attributable to parent | Key metric for A-share coverage |
36
+ | 扣非净利润 | Net income (non-GAAP adj.) | Deducts one-time items |
37
+ | 净利润 | Net income | May include minority interest |
38
+ | 经营活动现金流 | Operating CF | 经营现金流 |
39
+ | 资本支出 | CapEx | 购建固定资产 |
40
+ | 有息负债 | Interest-bearing debt | 有息负债 |
41
+ | 每股收益 (EPS) | Earnings per share | 基本EPS / 稀释EPS |
42
+
43
+ ## Workflow
44
+
45
+ ### Step 1: Pull the Earnings Print
46
+
47
+ **Data to collect:**
48
+ - Current quarter / full year income statement — asked of the host's retrieval path with the exact fields and as-of date
49
+ - Balance sheet and cash flow statement
50
+ - Management commentary / 业绩说明会 transcript
51
+ - Company press release (投资者关系活动记录表)
52
+
53
+ **Verify against:**
54
+ - Previous quarter guidance (管理层指引)
55
+ - Consensus estimates (一致预期) if available
56
+
57
+ ### Step 2: Build the Variance Table
58
+
59
+ **Required columns:**
60
+
61
+ | Item | 实际 (Actual) | 一致预期 (Consensus) | 上次预测 (Prior) | 同比 (YoY) | 环比 (QoQ) | Surprise |
62
+ |------|---------------|---------------------|------------------|------------|------------|----------|
63
+ | 营业收入 | | | | | | |
64
+ | 毛利率 | | | | | | |
65
+ | 归母净利润 | | | | | | |
66
+ | EPS (基本) | | | | | | |
67
+ | 经营现金流 | | | | | | |
68
+
69
+ **Surprise calculation:**
70
+ - Beat/Miss % = (Actual - Consensus) / |Consensus| × 100%
71
+ - Flag:
72
+ - **大幅超预期**: >+10%
73
+ - **符合预期**: -10% to +10%
74
+ - **低于预期**: <-10%
75
+
76
+ **Consensus sources (in priority order):**
77
+ 1. 机构一致预期, for the fields the host actually returned in this brief
78
+ 2. 券商研报预测 — the forecast figures carried on the research-report entries the host can reach
79
+ 3. 公司自己的 业绩预告 / 业绩快报 band, which is a disclosed range, not a consensus
80
+ 4. If none of the above comes back: leave the Consensus column empty, name the missing field, and drop the surprise arithmetic for that line. This plugin has no consensus endpoint of its own, and an expectation is never filled in from memory.
81
+
82
+ ### Step 3: Analyze Key Drivers
83
+
84
+ **Revenue:**
85
+ - Volume vs price decomposition
86
+ - Segment revenue breakdown (if disclosed)
87
+ - New product / customer contribution
88
+ - Industry volume trends
89
+
90
+ **Margins:**
91
+ - 毛利率变化: input cost (原材料), pricing power, product mix
92
+ - 费用率变化: 费用率 = 费用 / 营业收入
93
+ - 营业利润率 trends
94
+
95
+ **Balance Sheet:**
96
+ - 应收账款增速 vs 收入增速
97
+ - 存货积压 risk
98
+ - 有息负债 changes
99
+ - 商誉 level (flag impairment risk)
100
+
101
+ **Cash Flow:**
102
+ - 经营现金流 vs 净利润 (quality of earnings)
103
+ - 资本支出 intensity
104
+ - Free cash flow = 经营CF - 资本支出
105
+
106
+ ### Step 4: Update Estimates
107
+
108
+ **Forward estimates adjustment:**
109
+
110
+ Based on current quarter results and management guidance:
111
+
112
+ - Update FY20XXE revenue, margins, EPS
113
+ - Adjust Q2-Q4 quarterly estimates
114
+ - Update annual consensus if material change
115
+ - Flag if guidance was provided
116
+
117
+ **Estimate change table:**
118
+
119
+ | Item | Old Estimate | New Estimate | Change | Driver |
120
+ |------|-------------|--------------|--------|--------|
121
+ | FY Revenue | | | | |
122
+ | FY Net Income | | | | |
123
+ | FY EPS | | | | |
124
+
125
+ ### Step 5: Valuation Update
126
+
127
+ **Current valuation metrics:**
128
+ - Current stock price + daily change
129
+ - PE (动 / 静), PB, PS
130
+ - EV/EBITDA (if applicable)
131
+ - 52-week high/low, YTD performance
132
+ - Relative to sector median
133
+
134
+ **Post-earnings re-rating assessment:**
135
+ - Did multiple expand/contract?
136
+ - Is valuation now cheap/expensive vs history and peers?
137
+ - 目标价 adjustment rationale
138
+
139
+ ### Step 6: Draft the Report
140
+
141
+ **Standard A-share earnings update structure:**
142
+
143
+ ```
144
+ 标题:[公司名称]([代码])[Q20XX / FY20XX] 业绩点评:[超预期/符合预期/低于预期]
145
+
146
+ 一、业绩概览
147
+ - 核心数据一览表
148
+ - 同比/环比增速
149
+ - 超出/低于一致预期幅度
150
+
151
+ 二、收入分析
152
+ - 收入增速分解
153
+ - 分业务/分地区收入
154
+ - 量价分析
155
+
156
+ 三、利润分析
157
+ - 毛利率变化及原因
158
+ - 费用率分析
159
+ - 净利润增速分解
160
+
161
+ 四、资产负债表
162
+ - 应收账款
163
+ - 存货
164
+ - 有息负债
165
+ - 其他关注点
166
+
167
+ 五、现金流量
168
+ - 经营现金流
169
+ - 资本支出
170
+ - 自由现金流
171
+
172
+ 六、估值与投资建议
173
+ - 当前估值水平
174
+ - 目标价调整
175
+ - 评级维持/调整
176
+
177
+ 七、风险提示
178
+ - 行业政策风险
179
+ - 原材料价格波动
180
+ - 竞争加剧
181
+ - 商誉减值风险
182
+ ```
183
+
184
+ ### Step 7: Quality Check
185
+
186
+ **Before delivering:**
187
+
188
+ - [ ] Every number traces back to something the host's retrieval path returned (a filing, a quote, a dataset reference)
189
+ - [ ] Variance table complete with actual/consensus/prior
190
+ - [ ] Beat/miss flagged with % surprise
191
+ - [ ] Key drivers identified and explained
192
+ - [ ] Forward estimates updated
193
+ - [ ] Valuation metrics current
194
+ - [ ] Risk factors listed (China-specific)
195
+ - [ ] Citations complete; anything the host could not retrieve is written up as a missing field, not as a figure
196
+
197
+ ## China-Specific Elements
198
+
199
+ ### Earnings Call (业绩说明会)
200
+ - Schedule: typically same day or next trading day after earnings release
201
+ - Location: 上证e互动 / 深交所互动易
202
+ - Format: online video/audio + text Q&A
203
+ - Key questions often from retail investors
204
+
205
+ ### Regulatory Requirements
206
+ - 业绩预告 (earnings preview): required if variance >50%
207
+ - 业绩快报 (earnings flash): optional, typically 10 days before full report
208
+ - Full annual report: 4 months after year-end
209
+ - Semi-annual report: 2 months after H1
210
+ - Quarterly report: 1 month after quarter-end
211
+
212
+ ### Accounting Nuances
213
+ - 扣非净利润 (non-GAAP net income) widely used by analysts
214
+ - 其他收益 (other income) can mask core operating performance
215
+ - 政府补助 (government subsidies) significant for some sectors
216
+ - 资产减值损失 (asset impairment) — flag if unexpectedly large
217
+ - 股份支付 (share-based compensation) — expensed immediately under CAS
218
+
219
+ ### Market Context
220
+ - 涨跌停 limits affect post-earnings price action (±10% main board, ±20% 创业板/科创板)
221
+ - Northbound flow (北向资金) may react strongly to earnings
222
+ - Retail investor participation high → earnings can cause outsized moves
223
+
224
+ ## Source Citations
225
+
226
+ **Format for data citations:**
227
+
228
+ ```
229
+ Source: 巨潮资讯, [Company] 2024 年年度报告, p.[X] # the disclosure the host fetched
230
+ Source: Dataset <dataset_id>, 利润表 · 2024Q4, as-of [Date] # what the host's data path returned
231
+ Source: 券商研报, [Company] 盈利预测, accessed [Date] # only when it actually came back
232
+ ```
233
+
234
+ **For a figure nothing came back for:** state it as a gap — `缺失:<字段>(未取到)` — and stop the line that needs it.
235
+ An unretrieved number is not written into the report, and no figure here is filled in from memory or from a plausible range.
236
+
237
+ > 取数档位(接哪家数据服务、用哪个密钥)由宿主的凭据域决定:这份报告不配置它,也不向使用者索取凭据。