Communitygithub.com

MikeCheng1208/BattleTree

使用数学优化技术,在约束条件下优化项目组合选择

BattleTree 是什么?

该技能(Portfolio Optimization)运用数学优化方法(如整数规划、约束求解)帮助用户在预算、资源和战略约束下选择最优项目组合。它支持高效前沿分析、多准则评分、情景模拟与动态再平衡,适用于年度规划、组合审查和资源优化等场景。用户只需输入项目候选、评分标准及约束定义,即可获得优化后的组合方案、约束分析报告及可视化结果。该技能可嵌入 portfolio-prioritization.js 等流程,并依赖线性/整数规划算法与财务模型,前后端开发者均可通过 API 或 CLI 集成使用。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/MikeCheng1208/BattleTree/tree/HEAD/.agents/skills/portfolio-optimization

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

投资组合优化

概述

投资组合优化技能将数学优化技术应用于项目组合的选择与平衡。它在预算、资源和战略约束条件下最大化组合价值,从而支持基于数据的投资决策。

能力

优化方法

  • 应用基于约束的优化(预算、资源)
  • 计算风险-收益权衡的高效前沿
  • 支持项目选择的整数规划
  • 建模项目间的依赖约束
  • 处理互斥项目备选方案

多准则分析

  • 支持多准则项目评分
  • 应用加权评分模型
  • 执行成对比较(AHP)
  • 标准化异构标准
  • 计算综合组合得分

情景分析

  • 对组合执行情景分析
  • 计算组合级别的净现值和风险
  • 识别项目间依赖关系
  • 生成组合变化的假设分析
  • 模型约束松弛的影响

组合平衡

  • 支持动态组合再平衡
  • 优化跨项目的资源分配
  • 平衡战略一致性维度
  • 模型风险分散化
  • 跟踪组合构成指标

使用

输入要求

  • 带有属性的候选项目
  • 评分标准和权重
  • 约束定义(预算、资源)
  • 战略一致性因素
  • 项目依赖和排除项

输出交付物

  • 优化的组合选择
  • 高效前沿可视化
  • 约束分析报告
  • 情景比较结果
  • 组合平衡记分卡

示例用例

  1. 年度规划:为预算优化项目选择
  2. 组合审查:重新平衡进行中的组合
  3. 战略对齐:最大化战略价值
  4. 资源规划:在资源约束下进行优化

流程集成

此技能与以下流程集成:

  • portfolio-prioritization.js
  • 资源规划和分配
  • benefits-realization.js
  • 商业案例开发

依赖项

  • 优化算法(线性、整数规划)
  • 约束求解器
  • 财务模型
  • 可视化库

相关技能

  • SK-009:NPV/IRR 计算器
  • SK-011:收益跟踪仪表板
  • SK-019:依赖关系映射器

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

MikeCheng1208/BattleTree

Index-based file discovery using ABOUTME headers. Use INSTEAD of grep or Explore agent when searching for files by purpose or feature. Faster and more accurate than scanning code. Invoke this skill when user asks "which files handle X", "where is Y implemented", or when you need to find files related to a feature or task.

MikeCheng1208/BattleTree

Factor modeling and portfolio construction (Markowitz, Black-Litterman, constraints, turnover).

MikeCheng1208/BattleTree

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

MikeCheng1208/BattleTree

Analyze the CustomGPT.ai Labs Innovation workbook and cost tracking data to surface portfolio-level insights, trends, and recommendations for where to focus Innovation efforts.

MikeCheng1208/BattleTree

Personal meta-skill for Arach. Use this as the entry point to understand arach's projects, conventions, and available skills. Activates on "arach's projects", "what does arach work on", or when working in any arach/* repo.

MikeCheng1208/BattleTree

High-converting landing pages. Copy + design + implementation. Triggers: landing page, conversion page.

MikeCheng1208/BattleTree

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios,...

MikeCheng1208/BattleTree

Automate Klipfolio tasks via Rube MCP (Composio). Always search tools first for current schemas.

MikeCheng1208/BattleTree

Minimalist, typography-focused portfolio design system inspired by neo-brutalist and Swiss design principles. Emphasizes bold typography, generous whitespace, monochromatic color schemes, and elegant simplicity for developer/designer portfolios.

MikeCheng1208/BattleTree

Portfolio allocation and rebalancing optimizer. Manages asset allocation across stocks/cash/bonds, performs periodic rebalancing, and ensures diversification according to market regime and risk tolerance.

MikeCheng1208/BattleTree

Detect and explain risk drift in lending portfolios over time using vintage analysis, migration matrices, and concentration metrics. Use when monitoring portfolio credit quality trends, preparing board risk reports, conducting stress testing, or when risk metrics deviate from appetite thresholds.

MikeCheng1208/BattleTree

Build a GitHub portfolio that gets you hired — curate 3-5 polished projects, craft compelling READMEs, deploy live demos, tell a coherent story across your repos, and align everything to AI-native development roles. Use when preparing your GitHub for job searches, deciding what to pin, or auditing your public presence.

相关技能