# InvestSkill

專業投資分析與股票評估技能工具,適用於 Claude Code。

📖 繁體中文版 (Traditional Chinese) | English

Deploy Validate License Website

📚 查看文檔網站

# 快速連結

# 安裝


claude

# 添加到市集
/plugin marketplace add yennanliu/InvestSkill


# 安裝
/plugin install us-stock-analysis


# 檢查已安裝列表

/plugin list

# 測試
- /us-stock-analysis:fundamental-analysis AAPL # - 基本面分析
- /us-stock-analysis:technical-analysis AAPL # - 技術面分析
- /us-stock-analysis:economics-analysis # - 經濟分析

claude

# 添加本地市集
/plugin marketplace add /Users/yennanliu/InvestSkill

# 安裝插件
/plugin install us-stock-analysis@invest-skill

# 概述

InvestSkill 是一個綜合性的 Claude Code 插件市集,提供專業級的美股市場分析技能,包括基本面分析、技術分析、經濟評估和投資組合管理。

# 功能特色

# 安裝方式

# 一般使用者

添加市集並安裝插件:

# 從 GitHub 添加市集
/plugin marketplace add yennanliu/InvestSkill

# 安裝插件
/plugin install us-stock-analysis@invest-skill

# 本地開發

# 添加本地市集
/plugin marketplace add /Users/yennanliu/InvestSkill

# 安裝插件
/plugin install us-stock-analysis@invest-skill

# 可用技能

# 核心分析技能

# 增強數據分析(v1.1.0 新增)

# 使用範例

# 核心分析

# 評估特定股票
/stock-eval AAPL

# 獲取經濟展望
/economics-analysis

# 深入基本面分析
/fundamental-analysis MSFT

# 帶視覺化的基本面分析
/fundamental-analysis NVDA --visual

# 技術圖表分析
/technical-analysis TSLA

# 帶圖表生成的技術分析
/technical-analysis GOOGL --chart

# 檢視投資組合
/portfolio-review [貼上您的持股]

# 分析產業
/sector-analysis

# 增強數據分析(v1.1.0)

# 生成帶視覺化的 HTML/PDF 報告
/report-generator --type comprehensive --data [貼上分析結果]

# 分析財報電話會議記錄
/earnings-call-analysis AAPL [貼上記錄或提供網址]

# 追蹤內部人交易活動
/insider-trading TSLA

# 監控機構持股變化
/institutional-ownership MSFT

# 追蹤特定機構投資者
/institutional-ownership META --smart-money

# 報告生成工作流程

# 步驟 1:執行帶視覺化的基本面分析
/fundamental-analysis AAPL --visual

# 步驟 2:從分析結果生成 HTML 報告
/report-generator --type comprehensive

# 步驟 3:在瀏覽器中開啟 HTML 檔案並匯出為 PDF
# 報告包含互動式圖表,可以列印為 PDF 格式

# 專案結構

InvestSkill/
├── .claude-plugin/
│   └── marketplace.json          # 市集配置
├── plugins/
│   └── us-stock-analysis/
│       ├── .claude-plugin/
│       │   └── plugin.json       # 插件清單
│       ├── skills/
│       │   ├── stock-eval/
│       │   │   └── SKILL.md
│       │   ├── economics-analysis/
│       │   │   └── SKILL.md
│       │   ├── fundamental-analysis/
│       │   │   └── SKILL.md      # 增強:支援視覺化
│       │   ├── technical-analysis/
│       │   │   └── SKILL.md      # 增強:支援圖表生成
│       │   ├── portfolio-review/
│       │   │   └── SKILL.md
│       │   ├── sector-analysis/
│       │   │   └── SKILL.md
│       │   ├── report-generator/
│       │   │   └── SKILL.md      # 新增:生成 HTML/PDF 報告
│       │   ├── earnings-call-analysis/
│       │   │   └── SKILL.md      # 新增:財報電話會議分析
│       │   ├── insider-trading/
│       │   │   └── SKILL.md      # 新增:內部人交易追蹤
│       │   └── institutional-ownership/
│       │       └── SKILL.md      # 新增:13F 申報分析
│       └── README.md
├── LICENSE
└── README.md

# 報告生成

InvestSkill v1.1.0 引入了專業的報告生成功能,支援互動式視覺化。

# 功能特色

# 工作流程

  1. 執行帶視覺化的分析

    /fundamental-analysis AAPL --visual
    

    生成包含圖表資料表的分析結果

  2. 生成 HTML 報告

    /report-generator --type comprehensive
    

    建立 investment-report-AAPL-20260217-143022.html

  3. 匯出為 PDF

    • 瀏覽器:開啟 HTML → 列印 → 儲存為 PDF
    • 命令列wkhtmltopdf report.html report.pdf
    • Node.js:使用 Playwright 或 Puppeteer

# 報告範本

# 視覺化類型

# CI/CD 與自動化

本專案包含完整的 GitHub Actions 工作流程,用於品質保證和自動發布。

# 自動化工作流程

驗證 (validate.yml)

PR 檢查 (pr-check.yml)

自動發布 (release.yml)

自動標籤 (label-pr.yml)

首次貢獻者問候 (greetings.yml)

# 建立發布版本

建立新版本的步驟:

  1. 更新版本號碼:

    # 更新 plugins/us-stock-analysis/.claude-plugin/plugin.json
    # 更新 .claude-plugin/marketplace.json
    
  2. 更新 CHANGELOG.md

    ## [1.1.0] - 2026-02-16
    ### Added
    - 新功能描述
    
  3. 提交變更:

    git add .
    git commit -m "chore: bump version to 1.1.0"
    git push origin main
    
  4. 建立並推送標籤:

    git tag v1.1.0
    git push origin v1.1.0
    
  5. GitHub Actions 將自動:

    • 驗證插件結構
    • 建立發布套件
    • 生成發布說明
    • 發布包含附件的版本

# 驗證徽章

添加這些徽章以顯示建置狀態(更新使用者名稱/儲存庫):

![Validate](https://github.com/yennanliu/InvestSkill/actions/workflows/validate.yml/badge.svg)
![Release](https://github.com/yennanliu/InvestSkill/actions/workflows/release.yml/badge.svg)

# 貢獻

歡迎貢獻!請閱讀我們的貢獻指南以了解詳細資訊。

快速開始:

  1. Fork 此儲存庫
  2. 建立您的功能分支 (git checkout -b feature/AmazingFeature)
  3. 提交您的變更 (git commit -m 'feat: add some AmazingFeature')
  4. 推送至分支 (git push origin feature/AmazingFeature)
  5. 開啟 Pull Request

詳細指南請參閱 CONTRIBUTING.md,包括:

# 發布

與他人分享此市集:

  1. 推送至 GitHub:
git add .
git commit -m "Initial plugin marketplace setup"
git push origin main
  1. 使用者可以添加您的市集:
/plugin marketplace add yennanliu/InvestSkill

# 開發路線圖

# 授權

MIT License - 詳見 LICENSE 檔案。

# 免責聲明

本插件提供教育性分析,不構成財務建議。在做出投資決策前,請務必諮詢合格的財務顧問。過去的績效不保證未來的結果。

# 資源

# 支援

如有問題、疑問或建議,請在 GitHub 上開啟 issue。