Files
Agent-System-Backend/internal/prompts/library/task-brainstorm.md
T
weichen 4938bd095c Move prompts into a layered data library with trigger-based assembly
Why: prompts lived inline in Go (profile const, subagent string, squad
role one-liners, tool descriptions) - every copy change shipped code,
and task guidance like meeting-minutes quality lived permanently in the
base prompt whether or not the task was at hand.

Evidence: new prompts package tests (library integrity, default
assembly, skill triggering incl. attachment gate and command bypass,
priority supersession, override chain drift, command match, frontmatter
parse); composite make test green; runtime check on a live server
(40 modules across 7 layers, override round-trip, /minutes starts a
run instead of hitting the command bus).

Impact: 40 builtin modules as embed data (5 base + 1 env + 12 task
skills + 10 agent roles + 7 tool descriptions + 3 aux templates + 2
styles); migration v8 adds prompt_modules for user overrides with
basedOnVersion drift markers; ctxasm assembles multi-segment system
messages with per-module observability; subagent/squad/tool copy now
resolve from the library with inline fallbacks; skill commands surface
in the / menu and route to runs; default profile SystemPrompt empties
onto the library base; pins deps/agent-system-core to the contract
commit.

Refs: feature/prompt-library task card; design guide in Documents.
2026-09-30 10:35:23 +00:00

1.0 KiB

id, layer, version, title, description, priority, outputContract, triggers
id layer version title description priority outputContract triggers
task.brainstorm task 1 方案构思 针对目标生成多方案并给出结构化比较与推荐 55 1. 需求复述(你的理解,一句话) 2. 候选方案 3±1 个:每个含思路/关键步骤/优势/风险 3. 方案对比表(维度按任务定) 4. 推荐及理由(明确推荐一个,说明取舍) 5. 建议下一步验证
kind keywords
intent 方案, 头脑风暴, brainstorm, 有什么思路, 怎么做比较好, 帮我想想
kind command
command /brainstorm

用户要求构思方案。执行要求:

  • 方案之间要有真实差异(不同路线/取舍),不是同一思路换措辞。
  • 每个方案如实写风险与代价,包括"什么情况下这个方案不合适"。
  • 明确推荐一个并说明理由;推荐要结合用户上下文里的约束(预算、时间、技术栈),没有上下文时说明假设。
  • 不过度发散:方案数量服从任务复杂度,简单问题给 2 个,复杂问题不超过 5 个。