@v587d/capital-generation 2.6.5 → 2.7.0
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.
- package/CHANGELOG.md +49 -0
- package/README.md +79 -26
- package/THIRD_PARTY_NOTICES.md +43 -0
- package/capital-config/client.js +18 -2
- package/capital-config/client.src.cjs +161 -20
- package/capital-config/index.js +10 -0
- package/capital-config/package.json +1 -1
- package/capital-watchlist/client.js +48 -7
- package/capital-watchlist/client.src.cjs +383 -66
- package/capital-watchlist/holding-rules.js +64 -0
- package/capital-watchlist/index.js +117 -2
- package/capital-watchlist/package.json +2 -1
- package/chart-ui/package.json +1 -1
- package/lib/agents/selected-skills-provider.d.ts +26 -0
- package/lib/agents/selected-skills-provider.js +99 -0
- package/lib/index.d.ts +37 -0
- package/lib/index.js +45 -11
- package/lib/time/tools.d.ts +6 -0
- package/lib/time/tools.js +6 -1
- package/lib/watchlist/tools.d.ts +52 -0
- package/lib/watchlist/tools.js +146 -0
- package/lib/web-retriever/local-fetch.d.ts +1 -1
- package/lib/web-retriever/local-fetch.js +1 -1
- package/lib/web-retriever/wind-client.d.ts +1 -1
- package/lib/web-retriever/wind-client.js +1 -1
- package/package.json +12 -3
- package/preset/capital-generation/agent.patch.yml +7 -0
- package/preset/capital-generation/skills/capital-equity-research/SKILL.md +45 -0
- package/preset/capital-generation/skills/capital-event-impact/SKILL.md +29 -0
- package/preset/capital-generation/skills/capital-portfolio-review/SKILL.md +29 -0
- package/selected-skills/README.md +44 -0
- package/selected-skills/catalog.js +181 -0
- package/selected-skills/china-stock-research-skills/.github/ISSUE_TEMPLATE/bug_report.md +35 -0
- package/selected-skills/china-stock-research-skills/.github/ISSUE_TEMPLATE/skill_request.md +28 -0
- package/selected-skills/china-stock-research-skills/.github/PULL_REQUEST_TEMPLATE.md +15 -0
- package/selected-skills/china-stock-research-skills/CHANGELOG.md +59 -0
- package/selected-skills/china-stock-research-skills/CONTRIBUTING.md +121 -0
- package/selected-skills/china-stock-research-skills/GITHUB_PUBLISHING.md +259 -0
- package/selected-skills/china-stock-research-skills/INSTALL.md +151 -0
- package/selected-skills/china-stock-research-skills/LICENSE +21 -0
- package/selected-skills/china-stock-research-skills/PUBLISH_CHECKLIST.md +165 -0
- package/selected-skills/china-stock-research-skills/README.en.md +209 -0
- package/selected-skills/china-stock-research-skills/README.md +209 -0
- package/selected-skills/china-stock-research-skills/RELEASE_ASSETS.md +222 -0
- package/selected-skills/china-stock-research-skills/ROADMAP.md +45 -0
- package/selected-skills/china-stock-research-skills/SKILLS.md +85 -0
- package/selected-skills/china-stock-research-skills/UPSTREAM.md +11 -0
- package/selected-skills/china-stock-research-skills/examples/full-report-flow.md +20 -0
- package/selected-skills/china-stock-research-skills/examples/module-select-cases.md +26 -0
- package/selected-skills/china-stock-research-skills/examples/quickstart-prompts.md +25 -0
- package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/SKILL.md +55 -0
- package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/references/idc-order-ledger-guide.md +34 -0
- package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/references/order-quality-checklist.md +16 -0
- package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/SKILL.md +75 -0
- package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/final-output-contract.md +62 -0
- package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/routing-matrix.md +34 -0
- package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/sector-overlay-escalation-rules.md +38 -0
- package/selected-skills/china-stock-research-skills/skills/financial-health/SKILL.md +54 -0
- package/selected-skills/china-stock-research-skills/skills/financial-health/references/idc-balance-sheet-stress-guide.md +31 -0
- package/selected-skills/china-stock-research-skills/skills/financial-health/references/red-flag-checklist.md +14 -0
- package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/SKILL.md +54 -0
- package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/references/idc-value-chain-and-peers.md +42 -0
- package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/references/moat-grid.md +13 -0
- package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/SKILL.md +54 -0
- package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/references/idc-monitoring-indicators.md +33 -0
- package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/references/monitoring-dashboard.md +25 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/analysis-pattern-selector.md +24 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/asset-heavy-ramp-overlay.md +28 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/business-model-transition-overlay.md +28 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/citation-standard.md +48 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/company-disclosure-map.md +37 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/consumer-channel-brand-overlay.md +29 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/cyclical-price-driven-overlay.md +29 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/export-manufacturing-supply-chain-overlay.md +29 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/financial-kpi-dictionary.md +43 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/idc-heavy-asset-transition-overlay.md +73 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/language-output-standard.md +36 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/project-order-business-overlay.md +28 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/regulated-healthcare-policy-overlay.md +29 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/research-output-template.md +50 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/sector-adaptation-checklist.md +42 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/source-registry.md +49 -0
- package/selected-skills/china-stock-research-skills/skills/shared/templates/catalyst-calendar.md +5 -0
- package/selected-skills/china-stock-research-skills/skills/shared/templates/company-fact-sheet.md +25 -0
- package/selected-skills/china-stock-research-skills/skills/shared/templates/evidence-table.md +5 -0
- package/selected-skills/china-stock-research-skills/skills/shared/templates/idc-project-ledger.md +5 -0
- package/selected-skills/china-stock-research-skills/skills/shared/templates/valuation-scenario-table.md +7 -0
- package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/SKILL.md +55 -0
- package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/references/idc-transition-markers.md +27 -0
- package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/references/transition-scorecard.md +13 -0
- package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/SKILL.md +55 -0
- package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/references/idc-valuation-overlays.md +31 -0
- package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/references/method-selection.md +14 -0
- package/selected-skills/investment-skills/.github/workflows/validate.yml +25 -0
- package/selected-skills/investment-skills/.tbd/config.yml +107 -0
- package/selected-skills/investment-skills/LICENSE +21 -0
- package/selected-skills/investment-skills/Makefile +29 -0
- package/selected-skills/investment-skills/README.md +253 -0
- package/selected-skills/investment-skills/UPSTREAM.md +12 -0
- package/selected-skills/investment-skills/docs/development.md +37 -0
- package/selected-skills/investment-skills/docs/roadmap.md +25 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/SKILL.md +192 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/agents/openai.yaml +4 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/00-source-key.md +82 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/01-decision-posture.md +242 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/02-business-economics.md +188 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/03-management-governance.md +213 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/04-financial-reality.md +192 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/05-valuation.md +166 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/06-capital-allocation.md +238 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/07-risk-monitoring.md +189 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/08-specialized-overlays.md +309 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/scripts/framework.py +470 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Skill or overlay request
|
|
3
|
+
about: Suggest a new reusable skill, overlay, or example
|
|
4
|
+
title: "[Request] "
|
|
5
|
+
labels: enhancement
|
|
6
|
+
assignees: ''
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## What problem should this solve
|
|
10
|
+
|
|
11
|
+
Describe the research problem or workflow gap.
|
|
12
|
+
|
|
13
|
+
## Proposed skill or overlay
|
|
14
|
+
|
|
15
|
+
Describe the reusable pattern, not only a single stock case.
|
|
16
|
+
|
|
17
|
+
## Example use cases
|
|
18
|
+
|
|
19
|
+
-
|
|
20
|
+
-
|
|
21
|
+
|
|
22
|
+
## Suggested public sources
|
|
23
|
+
|
|
24
|
+
List the official or accessible sources that should support it.
|
|
25
|
+
|
|
26
|
+
## Anything else
|
|
27
|
+
|
|
28
|
+
Add extra context if useful.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
## What changed
|
|
2
|
+
|
|
3
|
+
-
|
|
4
|
+
|
|
5
|
+
## Why it changed
|
|
6
|
+
|
|
7
|
+
-
|
|
8
|
+
|
|
9
|
+
## Checklist
|
|
10
|
+
|
|
11
|
+
- [ ] Kept the workflow generic unless this is intentionally an optional overlay
|
|
12
|
+
- [ ] Preserved `Facts`, `Interpretation`, and `Open Questions` boundaries
|
|
13
|
+
- [ ] Added or updated accessible source links where needed
|
|
14
|
+
- [ ] Verified local discovery with `bunx skills add . --list`
|
|
15
|
+
- [ ] Validated changed skills if `SKILL.md` files were edited
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# 更新记录 / Changelog
|
|
2
|
+
|
|
3
|
+
[中文](#中文) | [English](#english)
|
|
4
|
+
|
|
5
|
+
## 中文
|
|
6
|
+
|
|
7
|
+
本文件记录项目的重要变更。
|
|
8
|
+
|
|
9
|
+
格式参考 Keep a Changelog,但按本仓库实际情况保持简洁。
|
|
10
|
+
|
|
11
|
+
## [0.1.0] - 2026-03-09
|
|
12
|
+
|
|
13
|
+
### 新增
|
|
14
|
+
|
|
15
|
+
- 发布 A 股股票研究 skills pack 的首个开源版本
|
|
16
|
+
- 新增母 skill:`china-stock-research-orchestrator`
|
|
17
|
+
- 新增 6 个核心研究模块,覆盖战略、业务质量、财务健康度、竞争格局、风险监测、估值框架
|
|
18
|
+
- 新增共享 references,用于统一来源选择、引用规则、披露地图、输出结构与分析模式选择
|
|
19
|
+
- 新增可复用 analysis-pattern overlays,覆盖转型、订单驱动、重资产爬坡、周期、消费、医药政策、出口制造等常见场景
|
|
20
|
+
- 将 IDC 保留为可选示例 overlay,而不是默认框架
|
|
21
|
+
- 新增共享模板,用于证据表、公司事实卡、催化剂日历、估值情景表和 IDC 项目台账
|
|
22
|
+
- 新增开源文档:`INSTALL.md`、`SKILLS.md`、`CONTRIBUTING.md`、`ROADMAP.md`
|
|
23
|
+
- 新增 `examples/` 目录中的使用示例
|
|
24
|
+
- 新增 `.github/` 下的协作模板
|
|
25
|
+
|
|
26
|
+
### 引入的设计原则
|
|
27
|
+
|
|
28
|
+
- 关键事实必须带可访问来源链接
|
|
29
|
+
- `事实`、`解读`、`待验证问题` 必须严格分层
|
|
30
|
+
- 官方披露优先于评论和媒体摘要
|
|
31
|
+
- 优先复用分析模式,再决定是否加载行业 overlay
|
|
32
|
+
|
|
33
|
+
## English
|
|
34
|
+
|
|
35
|
+
This file records notable changes to the project.
|
|
36
|
+
|
|
37
|
+
The format is loosely based on Keep a Changelog, while staying compact for this repository.
|
|
38
|
+
|
|
39
|
+
## [0.1.0] - 2026-03-09
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
|
|
43
|
+
- Initial open-source release of the China stock research skills pack
|
|
44
|
+
- Parent workflow skill: `china-stock-research-orchestrator`
|
|
45
|
+
- Six core research modules for strategy, business quality, financial health, competition, monitoring, and valuation
|
|
46
|
+
- Shared references for source selection, citation rules, disclosure mapping, output structure, and pattern selection
|
|
47
|
+
- Reusable analysis-pattern overlays for transition, project-order, asset-ramp, cyclical, consumer, healthcare-policy, and export-manufacturing cases
|
|
48
|
+
- IDC overlay as an optional example, not the default framework
|
|
49
|
+
- Shared templates for evidence tables, fact sheets, catalyst calendars, valuation scenarios, and IDC project ledgers
|
|
50
|
+
- Open-source docs: `INSTALL.md`, `SKILLS.md`, `CONTRIBUTING.md`, `ROADMAP.md`
|
|
51
|
+
- Usage examples under `examples/`
|
|
52
|
+
- GitHub collaboration templates under `.github/`
|
|
53
|
+
|
|
54
|
+
### Design Principles Introduced
|
|
55
|
+
|
|
56
|
+
- Facts must carry accessible source links
|
|
57
|
+
- Facts, Interpretation, and Open Questions stay separate
|
|
58
|
+
- Official disclosures outrank commentary
|
|
59
|
+
- Reusable analysis patterns come before sector-specific overlays
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# 贡献指南 / Contributing
|
|
2
|
+
|
|
3
|
+
[中文](#中文) | [English](#english)
|
|
4
|
+
|
|
5
|
+
## 中文
|
|
6
|
+
|
|
7
|
+
感谢你考虑为这个仓库贡献内容。
|
|
8
|
+
|
|
9
|
+
### 欢迎的贡献类型
|
|
10
|
+
|
|
11
|
+
- 提升现有 skills 的清晰度和边界感
|
|
12
|
+
- 增加新的、可复用的 A 股研究 overlays
|
|
13
|
+
- 改进来源与引用规范
|
|
14
|
+
- 增加能帮助新用户上手的 examples
|
|
15
|
+
- 修复会模糊 `事实`、`解读`、`待验证问题` 边界的措辞
|
|
16
|
+
|
|
17
|
+
### 提交 PR 前请注意
|
|
18
|
+
|
|
19
|
+
- 保持主流程是“通用 A 股研究框架”
|
|
20
|
+
- 优先沉淀可复用模式,不要把流程写死到单一公司或单一行业
|
|
21
|
+
- 只要新增来源指引,就补充可访问链接
|
|
22
|
+
- `SKILL.md` 保持简洁,把细节尽量下沉到 `references/`
|
|
23
|
+
- 默认输出语言应为简体中文,除非用户明确要求其他语言
|
|
24
|
+
|
|
25
|
+
### Skill 结构要求
|
|
26
|
+
|
|
27
|
+
每个 skill 至少应包含:
|
|
28
|
+
|
|
29
|
+
- 合法 frontmatter,其中必须有 `name` 和 `description`
|
|
30
|
+
- 清晰的 `When to Use`
|
|
31
|
+
- 清晰的 `Workflow`
|
|
32
|
+
- 清晰的 `Required Output`
|
|
33
|
+
- 清晰的 `Boundaries`
|
|
34
|
+
|
|
35
|
+
### 引用要求
|
|
36
|
+
|
|
37
|
+
- 每条关键事实都应指向可访问来源链接
|
|
38
|
+
- 官方披露优先于媒体或评论
|
|
39
|
+
- 不要把没有证据支撑的推断写进 `事实`
|
|
40
|
+
|
|
41
|
+
### 本地检查
|
|
42
|
+
|
|
43
|
+
在仓库根目录执行:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
bunx skills add . --list
|
|
47
|
+
python3 ~/.config/opencode/skills/skill-creator/scripts/quick_validate.py skills/<skill-name>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### 范围建议
|
|
51
|
+
|
|
52
|
+
优先:
|
|
53
|
+
|
|
54
|
+
- 小步、可组合的改进
|
|
55
|
+
- 一次新增一个 overlay
|
|
56
|
+
- 围绕可复用模式设计 examples
|
|
57
|
+
|
|
58
|
+
避免:
|
|
59
|
+
|
|
60
|
+
- 把仓库改造成交易系统
|
|
61
|
+
- 依赖私有数据库或付费终端
|
|
62
|
+
- 在主流程里硬编码某只股票或某个行业
|
|
63
|
+
|
|
64
|
+
## English
|
|
65
|
+
|
|
66
|
+
Thanks for considering a contribution.
|
|
67
|
+
|
|
68
|
+
### Good Contribution Types
|
|
69
|
+
|
|
70
|
+
- Improve clarity and boundaries of existing skills
|
|
71
|
+
- Add reusable overlays for common A-share research patterns
|
|
72
|
+
- Improve source and citation standards
|
|
73
|
+
- Add examples that help first-time users
|
|
74
|
+
- Fix wording that blurs the boundaries between `Facts`, `Interpretation`, and `Open Questions`
|
|
75
|
+
|
|
76
|
+
### Before Opening a PR
|
|
77
|
+
|
|
78
|
+
- Keep the core workflow generic for A-share stock research
|
|
79
|
+
- Prefer reusable patterns over one-company or one-industry hardcoding
|
|
80
|
+
- Add accessible source links when introducing new source guidance
|
|
81
|
+
- Keep `SKILL.md` files concise and push detail into `references/`
|
|
82
|
+
- Default output language should remain Simplified Chinese unless the user explicitly requests another language
|
|
83
|
+
|
|
84
|
+
### Skill Structure Expectations
|
|
85
|
+
|
|
86
|
+
Every skill should include:
|
|
87
|
+
|
|
88
|
+
- valid frontmatter with `name` and `description`
|
|
89
|
+
- clear `When to Use`
|
|
90
|
+
- clear `Workflow`
|
|
91
|
+
- clear `Required Output`
|
|
92
|
+
- clear `Boundaries`
|
|
93
|
+
|
|
94
|
+
### Citation Expectations
|
|
95
|
+
|
|
96
|
+
- Every key fact should point to an accessible source link
|
|
97
|
+
- Official disclosures should outrank commentary or media
|
|
98
|
+
- Do not merge unsupported inference into `Facts`
|
|
99
|
+
|
|
100
|
+
### Local Checks
|
|
101
|
+
|
|
102
|
+
From the repository root:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
bunx skills add . --list
|
|
106
|
+
python3 ~/.config/opencode/skills/skill-creator/scripts/quick_validate.py skills/<skill-name>
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Scope Guidance
|
|
110
|
+
|
|
111
|
+
Prefer:
|
|
112
|
+
|
|
113
|
+
- small, composable improvements
|
|
114
|
+
- one new overlay at a time
|
|
115
|
+
- examples based on reusable patterns
|
|
116
|
+
|
|
117
|
+
Avoid:
|
|
118
|
+
|
|
119
|
+
- turning the pack into a trading system
|
|
120
|
+
- depending on private databases or paid terminals
|
|
121
|
+
- hardcoding one stock or one sector into the main workflow
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
# GitHub 发布指南 / GitHub Publishing Guide
|
|
2
|
+
|
|
3
|
+
[中文](#中文) | [English](#english)
|
|
4
|
+
|
|
5
|
+
## 中文
|
|
6
|
+
|
|
7
|
+
这份文件用于帮助你在将仓库公开到 GitHub 前,做最后一轮发布收尾。
|
|
8
|
+
|
|
9
|
+
### 建议仓库名
|
|
10
|
+
|
|
11
|
+
- `china-stock-research-skills`
|
|
12
|
+
|
|
13
|
+
简短、直观、易记。
|
|
14
|
+
|
|
15
|
+
### 建议的 GitHub Description
|
|
16
|
+
|
|
17
|
+
- `面向中国股票、尤其是 A股 / A-share 研究的开源 agent skills,强调工作流编排、证据优先分析与可复用 overlays。`
|
|
18
|
+
|
|
19
|
+
如果你更希望 description 用英文,也可以使用:
|
|
20
|
+
|
|
21
|
+
- `Open-source agent skills for China stock and A-share research, with orchestrated workflows, citation-first analysis, and reusable sector overlays.`
|
|
22
|
+
|
|
23
|
+
### 建议 Topics
|
|
24
|
+
|
|
25
|
+
- `a-share`
|
|
26
|
+
- `ashare`
|
|
27
|
+
- `china-stock`
|
|
28
|
+
- `china-a-share`
|
|
29
|
+
- `stock-research`
|
|
30
|
+
- `equity-research`
|
|
31
|
+
- `agent-skills`
|
|
32
|
+
- `claude-code`
|
|
33
|
+
- `opencode`
|
|
34
|
+
- `codex`
|
|
35
|
+
- `investment-research`
|
|
36
|
+
- `financial-analysis`
|
|
37
|
+
- `company-research`
|
|
38
|
+
|
|
39
|
+
### 建议 Homepage
|
|
40
|
+
|
|
41
|
+
- 初期可以留空,或者直接指向仓库自身
|
|
42
|
+
- 只有在你后续建立独立文档页或项目主页时,再补 homepage
|
|
43
|
+
|
|
44
|
+
### 建议 Social Preview 文案
|
|
45
|
+
|
|
46
|
+
- `面向中国股票、尤其是 A股结构化研究的开源 skills pack。强调证据优先、模块化设计与 agent 工作流。`
|
|
47
|
+
|
|
48
|
+
### 首个版本 Tag
|
|
49
|
+
|
|
50
|
+
- `v0.1.0`
|
|
51
|
+
|
|
52
|
+
这个版本已经具备较完整的首发条件,因为它包含:
|
|
53
|
+
|
|
54
|
+
- 1 个 orchestrator skill
|
|
55
|
+
- 6 个核心研究模块
|
|
56
|
+
- 共享来源与引用标准
|
|
57
|
+
- 面向常见 A 股研究问题的可复用 overlays
|
|
58
|
+
- 安装、使用、贡献、示例等基础文档
|
|
59
|
+
|
|
60
|
+
### 首个 Release 标题
|
|
61
|
+
|
|
62
|
+
- `v0.1.0 - 首个开源版本`
|
|
63
|
+
|
|
64
|
+
### 首个 Release Notes
|
|
65
|
+
|
|
66
|
+
```md
|
|
67
|
+
## 亮点
|
|
68
|
+
|
|
69
|
+
- 新增 `china-stock-research-orchestrator`,用于把一只股票路由到合适的研究流程
|
|
70
|
+
- 提供 6 个核心 A 股研究模块,覆盖战略、业务质量、财务健康度、竞争格局、风险监测、估值框架
|
|
71
|
+
- 新增证据优先的共享标准,要求关键事实附可访问来源链接
|
|
72
|
+
- 新增可复用 overlays,覆盖业务转型、订单驱动、重资产爬坡、周期、消费品牌、医药政策、出口制造等常见场景
|
|
73
|
+
- 将 IDC 保留为可选示例 overlay,而不是默认假设
|
|
74
|
+
|
|
75
|
+
## 本版本包含
|
|
76
|
+
|
|
77
|
+
- `china-stock-research-orchestrator`
|
|
78
|
+
- `strategy-business-transition`
|
|
79
|
+
- `business-decomposition-order-quality`
|
|
80
|
+
- `financial-health`
|
|
81
|
+
- `industry-competition-moat`
|
|
82
|
+
- `risk-warning-catalysts`
|
|
83
|
+
- `valuation-investment-strategy`
|
|
84
|
+
|
|
85
|
+
## 文档
|
|
86
|
+
|
|
87
|
+
- `README.md`
|
|
88
|
+
- `INSTALL.md`
|
|
89
|
+
- `SKILLS.md`
|
|
90
|
+
- `CONTRIBUTING.md`
|
|
91
|
+
- `ROADMAP.md`
|
|
92
|
+
- `examples/`
|
|
93
|
+
|
|
94
|
+
## 说明
|
|
95
|
+
|
|
96
|
+
- 本项目面向基于公开信息的中国股票研究工作流,尤其适合 A股 / A-share 场景
|
|
97
|
+
- 它不是实时行情工具,也不是投资建议系统
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### 建议的发布前检查清单
|
|
101
|
+
|
|
102
|
+
#### 发布前
|
|
103
|
+
|
|
104
|
+
- 确认 `README.md` 从头到尾读起来顺畅
|
|
105
|
+
- 确认 `LICENSE` 已存在
|
|
106
|
+
- 确认 `bunx skills add . --list` 能发现全部 skills
|
|
107
|
+
- 确认 examples 中的 skill 名称与仓库当前一致
|
|
108
|
+
- 确认公开文档中没有残留本地私有路径
|
|
109
|
+
|
|
110
|
+
#### 发布后
|
|
111
|
+
|
|
112
|
+
- 在 GitHub 设置中补 description 和 topics
|
|
113
|
+
- 创建 tag `v0.1.0`
|
|
114
|
+
- 将上面的 release notes 粘贴到 GitHub Release 页面
|
|
115
|
+
- 在新目录中测试远程安装:`bunx skills add spikeHongg/china-stock-research-skills --list`
|
|
116
|
+
- 如有需要,可先自建一个 roadmap issue 方便外部用户了解后续计划
|
|
117
|
+
|
|
118
|
+
### 建议首批 Pin 的 Issues
|
|
119
|
+
|
|
120
|
+
- `Roadmap: next overlays and example outputs`
|
|
121
|
+
- `Request for feedback: install flow and first-use prompts`
|
|
122
|
+
|
|
123
|
+
### 之后可以再补的内容
|
|
124
|
+
|
|
125
|
+
- `CODE_OF_CONDUCT.md`
|
|
126
|
+
- `SECURITY.md`
|
|
127
|
+
- 更完整的双语文档
|
|
128
|
+
- 示例输出截图或快照
|
|
129
|
+
|
|
130
|
+
### 配套文件
|
|
131
|
+
|
|
132
|
+
- `RELEASE_ASSETS.md`:可直接复制到 GitHub 的 about、release、issues 文案
|
|
133
|
+
- `PUBLISH_CHECKLIST.md`:实际发布时可以逐步执行的 checklist
|
|
134
|
+
|
|
135
|
+
## English
|
|
136
|
+
|
|
137
|
+
Use this file as the final polish checklist before making the repository public on GitHub.
|
|
138
|
+
|
|
139
|
+
### Recommended Repository Name
|
|
140
|
+
|
|
141
|
+
- `china-stock-research-skills`
|
|
142
|
+
|
|
143
|
+
Short, descriptive, and easy to remember.
|
|
144
|
+
|
|
145
|
+
### Recommended GitHub Description
|
|
146
|
+
|
|
147
|
+
- `Open-source agent skills for China stock and A-share research, with orchestrated workflows, citation-first analysis, and reusable sector overlays.`
|
|
148
|
+
|
|
149
|
+
### Recommended Topics
|
|
150
|
+
|
|
151
|
+
- `a-share`
|
|
152
|
+
- `ashare`
|
|
153
|
+
- `china-stock`
|
|
154
|
+
- `china-a-share`
|
|
155
|
+
- `stock-research`
|
|
156
|
+
- `equity-research`
|
|
157
|
+
- `agent-skills`
|
|
158
|
+
- `claude-code`
|
|
159
|
+
- `opencode`
|
|
160
|
+
- `codex`
|
|
161
|
+
- `investment-research`
|
|
162
|
+
- `financial-analysis`
|
|
163
|
+
- `company-research`
|
|
164
|
+
|
|
165
|
+
### Suggested Homepage
|
|
166
|
+
|
|
167
|
+
- Leave blank at first, or point it to the GitHub repository itself
|
|
168
|
+
- Add a homepage later only if you create dedicated docs or a project page
|
|
169
|
+
|
|
170
|
+
### Suggested Social Preview Copy
|
|
171
|
+
|
|
172
|
+
- `Open-source skills pack for structured China stock and A-share research. Citation-first, modular, and built for agent workflows.`
|
|
173
|
+
|
|
174
|
+
### First Release Tag
|
|
175
|
+
|
|
176
|
+
- `v0.1.0`
|
|
177
|
+
|
|
178
|
+
This version is a strong first public release because it already includes:
|
|
179
|
+
|
|
180
|
+
- 1 orchestrator skill
|
|
181
|
+
- 6 core research modules
|
|
182
|
+
- shared source and citation standards
|
|
183
|
+
- reusable overlays for common A-share analysis patterns
|
|
184
|
+
- install docs, examples, and contribution docs
|
|
185
|
+
|
|
186
|
+
### First Release Title
|
|
187
|
+
|
|
188
|
+
- `v0.1.0 - Initial open-source release`
|
|
189
|
+
|
|
190
|
+
### First Release Notes
|
|
191
|
+
|
|
192
|
+
```md
|
|
193
|
+
## Highlights
|
|
194
|
+
|
|
195
|
+
- Add `china-stock-research-orchestrator` to route a stock into the right research workflow
|
|
196
|
+
- Ship 6 core A-share research modules covering strategy, business quality, financial health, competition, monitoring, and valuation
|
|
197
|
+
- Add citation-first shared standards with accessible source-link requirements
|
|
198
|
+
- Add reusable overlays for business-model transition, project-order businesses, asset-heavy ramps, cyclicals, consumer brands, healthcare-policy cases, and export manufacturing
|
|
199
|
+
- Keep IDC as an optional example overlay instead of a default assumption
|
|
200
|
+
|
|
201
|
+
## Included In This Release
|
|
202
|
+
|
|
203
|
+
- `china-stock-research-orchestrator`
|
|
204
|
+
- `strategy-business-transition`
|
|
205
|
+
- `business-decomposition-order-quality`
|
|
206
|
+
- `financial-health`
|
|
207
|
+
- `industry-competition-moat`
|
|
208
|
+
- `risk-warning-catalysts`
|
|
209
|
+
- `valuation-investment-strategy`
|
|
210
|
+
|
|
211
|
+
## Documentation
|
|
212
|
+
|
|
213
|
+
- `README.md`
|
|
214
|
+
- `INSTALL.md`
|
|
215
|
+
- `SKILLS.md`
|
|
216
|
+
- `CONTRIBUTING.md`
|
|
217
|
+
- `ROADMAP.md`
|
|
218
|
+
- `examples/`
|
|
219
|
+
|
|
220
|
+
## Notes
|
|
221
|
+
|
|
222
|
+
- This project is designed for public-information China stock research workflows, especially A-share use cases
|
|
223
|
+
- It is not a real-time market data tool and not investment advice
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Suggested Launch Checklist
|
|
227
|
+
|
|
228
|
+
#### Before Publishing
|
|
229
|
+
|
|
230
|
+
- Confirm `README.md` reads well from top to bottom
|
|
231
|
+
- Confirm `LICENSE` is present
|
|
232
|
+
- Confirm `bunx skills add . --list` shows all expected skills
|
|
233
|
+
- Confirm examples still match the current skill names
|
|
234
|
+
- Confirm no local-only paths remain in public docs
|
|
235
|
+
|
|
236
|
+
#### After Publishing
|
|
237
|
+
|
|
238
|
+
- Add repository description and topics in GitHub settings
|
|
239
|
+
- Create tag `v0.1.0`
|
|
240
|
+
- Paste the release notes above into the GitHub release page
|
|
241
|
+
- Test remote install from a fresh clone using `bunx skills add spikeHongg/china-stock-research-skills --list`
|
|
242
|
+
- Open one self-filed issue for roadmap visibility, if desired
|
|
243
|
+
|
|
244
|
+
### Suggested First Pinned Issues
|
|
245
|
+
|
|
246
|
+
- `Roadmap: next overlays and example outputs`
|
|
247
|
+
- `Request for feedback: install flow and first-use prompts`
|
|
248
|
+
|
|
249
|
+
### Optional Nice-to-Haves Later
|
|
250
|
+
|
|
251
|
+
- `CODE_OF_CONDUCT.md`
|
|
252
|
+
- `SECURITY.md`
|
|
253
|
+
- more complete bilingual docs
|
|
254
|
+
- sample output snapshots
|
|
255
|
+
|
|
256
|
+
### Companion Files
|
|
257
|
+
|
|
258
|
+
- `RELEASE_ASSETS.md`: copy-ready text for GitHub about, release notes, and pinned issues
|
|
259
|
+
- `PUBLISH_CHECKLIST.md`: a step-by-step checklist for the actual launch
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# 安装 / Install
|
|
2
|
+
|
|
3
|
+
[中文](#中文) | [English](#english)
|
|
4
|
+
|
|
5
|
+
## 中文
|
|
6
|
+
|
|
7
|
+
本仓库基于 open skills CLI 使用,面向中国股票、尤其是 A股 / A-share 研究场景,推荐使用 `bunx skills add` 进行安装与检查。
|
|
8
|
+
|
|
9
|
+
### 前置条件
|
|
10
|
+
|
|
11
|
+
- 已安装 `bun`
|
|
12
|
+
- 已安装支持 skills 的 agent 环境
|
|
13
|
+
|
|
14
|
+
### 从 GitHub 安装
|
|
15
|
+
|
|
16
|
+
可直接复制的远程安装命令:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
bunx skills add spikeHongg/china-stock-research-skills
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
如果想先看有哪些 skills:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
bunx skills add spikeHongg/china-stock-research-skills --list
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### 从本地克隆目录安装
|
|
29
|
+
|
|
30
|
+
在仓库根目录执行:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
bunx skills add . --list
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
确认可发现后,再安装:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
bunx skills add .
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### 如何验证安装成功
|
|
43
|
+
|
|
44
|
+
安装后,应当能看到以下 7 个 skills:
|
|
45
|
+
|
|
46
|
+
- `china-stock-research-orchestrator`
|
|
47
|
+
- `strategy-business-transition`
|
|
48
|
+
- `business-decomposition-order-quality`
|
|
49
|
+
- `financial-health`
|
|
50
|
+
- `industry-competition-moat`
|
|
51
|
+
- `risk-warning-catalysts`
|
|
52
|
+
- `valuation-investment-strategy`
|
|
53
|
+
|
|
54
|
+
### 第一次使用
|
|
55
|
+
|
|
56
|
+
建议从总控母 skill 开始:
|
|
57
|
+
|
|
58
|
+
```text
|
|
59
|
+
使用 china-stock-research-orchestrator skill 分析这家中国上市公司,尤其按 A股 / A-share 研究语境识别主要分析模式,选择需要调用的模块,并返回一份带可访问来源链接的研究框架。所有中间与最终输出默认使用中文。
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### 常见问题
|
|
63
|
+
|
|
64
|
+
#### 找不到 skills
|
|
65
|
+
|
|
66
|
+
- 确认本地安装时,你是在仓库根目录执行命令
|
|
67
|
+
- 确认 `skills/` 下仍然存在有效的 `SKILL.md`
|
|
68
|
+
|
|
69
|
+
#### 安装了但不知道怎么开始
|
|
70
|
+
|
|
71
|
+
- 先从 `china-stock-research-orchestrator` 开始
|
|
72
|
+
- 再查看 `SKILLS.md` 和 `examples/quickstart-prompts.md`
|
|
73
|
+
|
|
74
|
+
#### 远程安装路径容易写错
|
|
75
|
+
|
|
76
|
+
- 优先直接复制:`bunx skills add spikeHongg/china-stock-research-skills`
|
|
77
|
+
- 本地调试时优先使用 `bunx skills add .`,不要先写很长的绝对路径
|
|
78
|
+
|
|
79
|
+
## English
|
|
80
|
+
|
|
81
|
+
This repository is designed to work with the open skills CLI and is especially natural for China stock and A-share research workflows. The recommended install path is `bunx skills add`.
|
|
82
|
+
|
|
83
|
+
### Prerequisites
|
|
84
|
+
|
|
85
|
+
- `bun` installed
|
|
86
|
+
- a compatible agent environment that supports skills
|
|
87
|
+
|
|
88
|
+
### Install From GitHub
|
|
89
|
+
|
|
90
|
+
Copy-paste remote install command:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
bunx skills add spikeHongg/china-stock-research-skills
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
To inspect available skills before installing:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
bunx skills add spikeHongg/china-stock-research-skills --list
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### Install From a Local Clone
|
|
103
|
+
|
|
104
|
+
From the repository root:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
bunx skills add . --list
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Then install from the same local path:
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
bunx skills add .
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Verify Installation
|
|
117
|
+
|
|
118
|
+
After installation, you should be able to see these 7 skills:
|
|
119
|
+
|
|
120
|
+
- `china-stock-research-orchestrator`
|
|
121
|
+
- `strategy-business-transition`
|
|
122
|
+
- `business-decomposition-order-quality`
|
|
123
|
+
- `financial-health`
|
|
124
|
+
- `industry-competition-moat`
|
|
125
|
+
- `risk-warning-catalysts`
|
|
126
|
+
- `valuation-investment-strategy`
|
|
127
|
+
|
|
128
|
+
### First Use
|
|
129
|
+
|
|
130
|
+
Start with the orchestrator:
|
|
131
|
+
|
|
132
|
+
```text
|
|
133
|
+
Use the china-stock-research-orchestrator skill to analyze this China-listed company, especially in an A-share workflow context, identify the main analysis patterns, choose the required modules, and return a source-backed research framework. Default all intermediate and final outputs to Simplified Chinese.
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Common Problems
|
|
137
|
+
|
|
138
|
+
#### No skills found
|
|
139
|
+
|
|
140
|
+
- Make sure you are running the command from the repository root when installing locally
|
|
141
|
+
- Make sure valid `SKILL.md` files still exist under `skills/`
|
|
142
|
+
|
|
143
|
+
#### Installed but hard to know where to start
|
|
144
|
+
|
|
145
|
+
- Start with `china-stock-research-orchestrator`
|
|
146
|
+
- Then review `SKILLS.md` and `examples/quickstart-prompts.md`
|
|
147
|
+
|
|
148
|
+
#### Remote install path confusion
|
|
149
|
+
|
|
150
|
+
- Use the copy-ready command first: `bunx skills add spikeHongg/china-stock-research-skills`
|
|
151
|
+
- If you are testing locally, use `bunx skills add .` instead of a long absolute path
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|