智能体架构的 CLAUDE.md 规范

把运行框架、循环、图三层职责写进仓库级 CLAUDE.md 的系统规范模板。

作者
@marfinxx
标签
智能体CLAUDE.md
NO.022收录 2026-07-30

CLAUDE.md 系统规范

# Repository Architecture Guidelines

## Execution Rules
- Always run pytest before declaring task completion
- Never modify files outside the target subsystem directory
- Keep function signatures backwards-compatible

## Tool Usage Constraints
- Use git status to verify dirty state before editing
- Max tool output length: 4000 characters