Files
PlantAI-rag-new/agent/qa/prompts/superpowers_minimal_code.md
T
jerryandClaude Fable 5 bbd5db2315 feat(capabilities): S6 Superpowers+S7 终验(文档/humanizer CJK 修复/验收脚本)
- prompts/superpowers_{review,answer_quality,minimal_code}.md + prompt_pack.py
- agentic_controller/answer_composer Superpowers 注入点(env 总闸,关态逐字节一致)
- compile_qa.sh: prompts/ 目录自动拷贝
- humanizer: CJK 逗号规则 + 引用保护收窄(只护标记本身,带引用句可润色)
- docs: README 能力矩阵+env 表 / ARCHITECTURE Gateway 章 / API §6 / PRD:17 /
  TEST_CASES:126 多轮语义 / CHANGELOG
- tooling/cap/final_acceptance.sh 终验矩阵
- 终验: 金标 16/20 regressions=0, 多轮指代 PASS, 热加载 PID 不变 PASS,
  Humanizer 开态「此外」消除且 22 引用保留, 五上游全绿, 7913 已释放

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-02 18:27:41 +08:00

482 B
Raw Blame History

Superpowers: 简洁代码原则(superpowers_minimal_code)

When the answer includes code or step-by-step instructions, apply these principles.

Minimal Code Principles

  1. Only include code when the user explicitly asks for it (analysis scripts, command lines).
  2. Prefer the smallest working example over complete implementations.
  3. Every code block must be directly relevant to the question; omit boilerplate.
  4. Comments inside code are for constraints, not narration.