docs: 调整附录与第二章排版,补充模块/包说明

- AGENTS.md: 新增 Codex 代理说明文件
- .gitignore: 屏蔽第三方工具目录 (.prism/, .claudeprism/, .agents/)
- preamble: 启用 xcolor dvipsnames 选项,新增 GREEN 颜色与 \greenheading 命令
- ch02-framework: 修正智能体段落引号格式
- ap01-programming: 补充 Python 模块与包的对比说明(esp_engine 示例)
- ap02-vibe-coding: 应用 \greenheading 标题样式,强调 commit 作为审核检查点
- 移除 2026_DesignAI.code-workspace(放弃 workspace 持久化方案)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-14 11:31:25 +08:00
parent 979b5128dc
commit c85bbd3c55
8 changed files with 174 additions and 14 deletions
+5 -1
View File
@@ -49,7 +49,8 @@
}
% ========== 颜色 ==========
\usepackage{xcolor}
\usepackage[dvipsnames]{xcolor}
\definecolor{GREEN}{RGB}{0,128,0}
% ========== 超链接 ==========
\usepackage{hyperref}
@@ -98,3 +99,6 @@
% ========== 章节编号深度 ==========
\setcounter{secnumdepth}{3}
% ========== 绿色底色标题 ==========
\newcommand{\greenheading}[1]{\texorpdfstring{\colorbox{green!20}{\ #1\ }}{#1}}