Files
team/memory/tasks-doc-line-limit.md
T
2026-04-19 21:47:08 +08:00

16 lines
871 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: 提示词文档行数限制
description: tasks/ 和 .claude/commands/ 下的提示词文档强制不超过 200 行;编排索引文档例外
type: feedback
originSessionId: a7730210-c9bf-47df-8cec-a1a13a5e953d
---
## 规则:提示词文档 ≤200 行
**强制性要求**`tasks/``.claude/commands/` 目录下的每个提示词文档不能超过 200 行。
例外:`tasks/任务提示词目录和任务编排.md` 作为总索引和编排文档,不受 200 行限制,但尽量不超过 400 行。
**Why:** 用户于 2026-04-18 明确要求(2026-04-19 扩展至 commands),超过 200 行的提示词文档会导致 Agent 上下文过载、执行效率下降。
**How to apply:** 创建或更新提示词文档时,必须在完成后检查行数。如果超过 200 行,需拆分为多个文件或精简内容。编排索引文档除外。