# Template: CLAUDE.md ## Purpose 生成项目级执行说明,让 agent 始终在固定边界内工作。 ## When to Use - Setup 阶段 - 老项目补规范时 ## Inputs - 清洗后的会议纪要 - 技术轨道决策 - 项目目标与边界 ## Outputs - `CLAUDE.md` ## Primary Agent/Model `GPT-5.4 Pro xhigh` ## Secondary Agent/Model `Claude Opus 4.6` ## Required Skills - `ralphy-initializing` ## Steps 1. 用下方模板生成草案。 2. 对照 `platform/` 和 `orchestration/` 页面补齐白名单和流程约束。 3. 审核后作为项目执行说明固化。 ## Exit Criteria - `CLAUDE.md` 足够让实现 agent 不再随机发挥 ## Failure Recovery - 若缺少禁用项、例外接口或验收标准,禁止进入后续阶段 ## Related Templates - [`analysis-template.md`](./analysis-template.md) ## Template ```markdown # CLAUDE.md ## Project - Name: - Goal: - Audience: - In Scope: - Out of Scope: ## Design Philosophy - KISS: - DRY: - YAGNI: - Type Safety First: - Preferred Architectural Shape: ## Default Stack - Track: - Language: - UI: - Styling: - Auth: - Data Fetching: - Router: - Service Layer: - ORM: - Database: ## Hard Boundaries - Do not introduce: - Do not modify: - Do not bypass: - Exceptions require: ## Process Requirements - Follow stages: - Source of truth: - Required review gates: - Required testing posture: - Required refactor rhythm: ## Skills And Templates - Preferred skills: - Required templates: ## Definition Of Done - Spec approved: - Tests pass: - Alignment complete: - Acceptance signed off: ```