delong-portfolio-report

Delong value-investing circle multi-asset portfolio analysis report generator. Triggered when a user provides a list of stock/fund holdings; supports A-share, HK, and US equities plus mutual funds for portfolio analysis across four dimensions—value investing, moving-average theory, major capital flows, and news/policy impact—and outputs a branded visual HTML report for the Delong value-investing circle. Includes trigger keywords.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "delong-portfolio-report" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-82ed33ac7b1584cb73d326b9995d5e601648db2343d1268f89b7481083a1b1e5. Verify the upstream source and version against https://skillhub.cn/skills/org-dzobs9ce/dl-valueanalysis before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Delong value-investing circle multi-asset portfolio analysis report generator. Triggered when a user provides a list of stock/fund holdings; supports A-share, HK, and US equities plus mutual funds for portfolio analysis across four dimensions—value investing, moving-average theory, major capital flows, and news/policy impact—and outputs a branded visual HTML report for the Delong value-investing circle. Includes trigger keywords.

0 Downloads

Introduction source: third_party · org-dzobs9ce · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: delong-portfolio-report
description: |
  德龙价值投资圈 · 多标的持仓综合分析报告生成器。
  当用户提供股票/基金持仓列表需要生成分析报告时触发。
  支持A股/港股/美股股票+公募基金的多标的组合分析,涵盖价值投资、均线理论、主力资金动向、消息面情绪、政策面影响四维深度研判。
  输出德龙价值投资圈品牌可视化HTML报告。
  触发关键词:持仓分析、持仓报告、分析我的持仓、帮我分析股票、德龙价值投资圈、帮我看看持仓、分析一下组合。
agent_created: true

德龙价值投资圈 · 持仓分析报告生成器

概述

为德龙价值投资圈生成专业的多标的持仓综合分析HTML报告。报告融合价值投资框架、均线理论、主力资金动向、消息面情绪和政策面影响,每个标的给出基于持仓成本的明确操作建议(含概率表达),并嵌入价投视角点评。

触发条件

用户表达以下意图时触发本技能:

  • 提供股票/基金列表要求分析持仓
  • "帮我分析一下我的持仓"
  • "生成一份持仓报告"
  • "帮我看看这几只股票"
  • "德龙价值投资圈的报告"
  • 或对现有报告进行修改(增加标的、调整成本等)

工作流程

Phase 1:接收标的信息

向用户确认:

  1. 标的列表:股票代码/名称 + 基金代码/名称
  2. 持仓成本(如有):每个标的的买入价格

如用户未提供成本,默认按纯分析模式(不给具体操作方案)。

Phase 2:数据采集(并行执行)

股票数据(通过 mcp__westock-mcp__ 工具)

数据 工具 参数示例
搜索代码 data_search query="股票名称"
实时行情(批量) data_quote codes="sz002270,sz002050,sh688041,sz002714"
K线(60日,批量) data_kline codes="sz002270,sz002050,...",period="day",fq="qfq",limit=60
技术指标(批量) data_technical codes="sz002270,sz002050,...",group="macd,kdj,rsi"

优先使用批量接口减少调用次数。data_fund_flow 和 data_news 按需补充。

基金数据(通过 WebFetch 从东方财富天天基金网获取)

数据 来源 URL 说明
基本信息+阶段涨幅 http://fund.eastmoney.com/[基金代码].html 净值、收益率、同类排名、四分位排名、基金经理信息
风险指标 http://fundf10.eastmoney.com/tsdata_[基金代码].html 标准差、夏普比率、信息比率、投资风格、跟踪误差
资产配置 http://fundf10.eastmoney.com/zcpz_[基金代码].html 股票/债券/现金占比、规模变化
历史净值(确认) http://fundf10.eastmoney.com/jjjz_[基金代码].html 最新单位净值

基金数据禁止使用 westock-data MCP,必须走东方财富/天天基金网。数据取最新一个交易日。

政策面数据

使用 WebSearch 搜索最新政策动态。

Phase 3:四维深度分析(股票)

对每个股票标的进行以下四维分析:

维度一:价值投资视角

  • 内在价值估算:基于PE/PB/利润,给出合理估值区间
  • 安全边际评估:当前价格与内在价值的差距
  • 护城河评估:行业地位、竞争壁垒、可持续性

维度二:技术面 — 均线理论

  • 计算5日/10日/20日/60日均线位置
  • 判断均线排列方向(多头/空头/纠缠)
  • 结合MACD/KDJ/RSI判断超买超卖
  • 给出关键支撑位和压力位

维度三:资金面 — 主力动向

  • 从K线量价关系判断资金进出(放量上涨=资金流入、放量下跌=资金流出、缩量=筑底/筑顶)
  • 换手率趋势分析

维度四:消息面 — 市场情绪

  • 利好/利空分列
  • 市场情绪判断(狂热/理性/悲观/恐慌)

Phase 4:操作建议(概率表达)

每个标的在 verdict-box 中给出:

  • 操作方向:买入/卖出/持有
  • 具体方案:结合成本给出止损/补仓/止盈方案
  • 概率表达:如"买入胜率60%,未来3-6个月"
  • 理由综述:1-2句话精炼

Phase 5:基金深度分析

基金分析必须包含以下维度(参考模板 assets/report_template.html):

  1. 综合操作建议(verdict box)
  2. 基金经理深度画像:任职年限、管理规模、评级、投资风格、换手率
  3. 策略特征:持仓结构、操作风格解读
  4. 风险收益画像:标准差、夏普比率、信息比率(近1/2/3年)
  5. 同类排名全景表:近1周~近3年,阶段涨幅+同类排名+四分位
  6. 持仓透视:前10大重仓、行业暴露、与持仓股票的共振风险
  7. 规模变化解读(如适用)
  8. 价投视角点评(delong-box)

Phase 6:组合层面分析

  • 政策面影响评估表:每标的+政策面+强度评级
  • 组合总体点评:选股评价、操作纪律、风险提醒(delong-box)
  • 组合体检/诊断与建议:风格共振风险、分散度评估、资金再配置建议
  • 三个认知启发模块:价值投资第一性原理、行为金融学、周期与择时
  • 风险提示

Phase 7:生成HTML报告

使用 assets/report_template.html 作为样式和结构参考。

报告结构(固定顺序)

  1. 固定导航栏(锚点导航)
  2. Hero标题区(品牌+副标题+日期)
  3. 持仓全景概览表(含成本+盈亏+近20日+年内+PE+操作建议)
  4. 各股票四维分析 + 综合操作建议(verdict box)+ 价投视角点评(delong-box)
  5. 各基金深度分析 + 排名全景表 + 价投视角点评
  6. 政策面影响评估表
  7. 组合总体点评(delong-box)
  8. 组合体检:诊断与建议(纯文字,不含图表)
  9. 三个投资智慧模块
  10. 风险提示
  11. 页脚

JS自检

HTML写完交付前必须做JS语法自检:

sed -n '/<script>/,/<\/script>/p' report.html | sed '1d;$d' | node --check

品牌规范

命名

  • 导航栏/标题/页脚统一用:德龙价值投资圈
  • 没有个人署名(不使用杨德龙或任何人名署名)
  • 点评板块标注:🎙️ 德龙老师价投视角点评 或 🎙️ 价投视角点评
  • 报告副标题:价值投资 · 四维研判 · 概率决策
  • 页脚标语:坚守价值,穿越周期

配色方案

  • 主色:深蓝 #1a2332
  • 金色 #c8a45c / 浅金 #e8d5a0
  • 背景:暖白 #f8f6f3
  • 卡片:纯白 #ffffff
  • 买入绿 #27ae60 / 卖出红 #c0392b / 持有橙 #e67e22

点评样式

.delong-box {
  background: linear-gradient(135deg, #fbf7f0, #fdfaf5);
  border: 1px solid #e8d5a0;
  border-left: 5px solid #c8a45c;
}

操作建议样式

.verdict-buy  { border-left: 5px solid #27ae60; background: #e8f5e9; }
.verdict-sell { border-left: 5px solid #c0392b; background: #fef0f0; }
.verdict-hold { border-left: 5px solid #e67e22; background: #fff8e1; }

点评语言风格

  • 内容含投资理念框架("业绩为王"、"好资产被错杀"、"别人恐惧时贪婪")
  • 可引用巴菲特/格雷厄姆金句
  • 直白不绕弯,有理论高度又通俗
  • 不写具体操作指令(不写"你应该买入XX股"),只说方向性理念

数据底线

  • 股票数据通过 westock-data MCP 获取,禁止编造
  • 基金数据通过 WebFetch 从东方财富天天基金网获取
  • 每个数据点标注数据来源和日期
  • 数据不可用时明确说明而非猜测

文件命名

  • 报告:德龙价值投资圈_持仓分析报告_YYYYMMDD.html
  • 模板参考:assets/report_template.html(每次生成完报告后复制作模板)

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 提供专业投资分析服务,解决用户核心决策痛点
  • 覆盖A股/港股/美股+公募基金多标的组合分析
  • 四维深度研判框架(价值投资+技术面+资金面+消息面)
  • 输出品牌化可视化HTML报告,用户体验优秀
Trigger Precision95/100

Highlights

  • 触发词覆盖全面且精准(持仓分析、持仓报告、分析我的持仓等)
  • 边界清晰,能有效区分相关意图
  • 支持多种表达方式和变体
Structure and Standards85/100

Areas to improve

  • 文档过长 Reported severity: Minor

    SKILL.md文档约600行,超出建议的500行限制

    Recommendation: 可考虑将部分详细说明移至单独文档或精简部分内容

  • 缺少When to Use章节 Reported severity: Minor

    文档中未明确设置When to Use使用场景说明章节

    Recommendation: 建议增加When to Use章节,明确说明适用场景和使用时机

Highlights

  • Phase划分清晰,7个阶段流程完整
  • 有明确的出口条件和端到端示例
  • frontmatter完整,包含必要元数据
  • 工作流程详细且可执行性强
Execution Reliability90/100

Highlights

  • 工具来源明确(westock-data MCP、WebFetch、WebSearch)
  • 参数示例正确,优先使用批量接口减少调用次数
  • 有JS语法自检机制确保输出质量
  • 数据底线明确,禁止编造数据
  • 覆盖主要异常处理场景
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • fund.eastmoney.com
  • fundf10.eastmoney.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.