with one click
new-master-agent
在 sidecar/agents/masters/ 新增投资大师 Agent,自动完成接口实现和 registry 注册
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
在 sidecar/agents/masters/ 新增投资大师 Agent,自动完成接口实现和 registry 注册
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
StockAI 的总编排器,按请求类型分诊到「审查 / 功能开发 / 发布」三个 Agent 团队。代码改完要审查、跨三层加新功能、发版出新版本、以及对这些结果的后续修改/重跑/补充/更新/部分重做时,都用此技能。简单单点问题或单文件小改可直接处理,无需起团队。
新增 AI Provider,覆盖 shared/constants.ts / providers/registry.ts / shared/types.ts 全流程
在 sidecar/strategies/ 新增新闻抓取策略,自动完成 ScrapeStrategy 实现和 registry 注册
按 release-checklist 双语模板,从 git log 生成中英对等的 Release Notes 草稿
| name | new-master-agent |
| description | 在 sidecar/agents/masters/ 新增投资大师 Agent,自动完成接口实现和 registry 注册 |
向用户询问以下信息(若已在请求中提供则跳过):
george-sorosGeorge Soros乔治·索罗斯Macro Trading宏观交易读取 sidecar/agents/masters/ben-graham.ts 作为结构参考,读取 sidecar/agents/types.ts 确认 MasterAgent 接口。
在 sidecar/agents/masters/<id>.ts 新建文件,结构:
meta 对象:包含 id / name / nameZh / style / styleZh / descriptionSYSTEM_PROMPT:用该大师的第一人称口吻,包含分析框架、信号规则(bullish/bearish/neutral)、置信度标准,结尾要求只返回 {"signal": "...", "confidence": 0-100, "reasoning": "..."}buildUserPrompt(ctx):从 ctx.quant 和 ctx.news 提取数据构建用户 prompt,参考 ben-graham.ts 的字段选取createMasterAgent(meta, SYSTEM_PROMPT, buildUserPrompt) 并 export const agent在 sidecar/agents/registry.ts:
import { agent as <camelId> } from './masters/<id>';REGISTRY Map 中追加:[<camelId>.meta.id, <camelId>],cd sidecar && bun test agents
确认无类型错误、无测试失败后完成。