update-design

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Update Design Document

更新设计文档

Record/update project design and implementation decisions in
.claude/docs/DESIGN.md
based on conversation content.
Note: This skill explicitly invokes the same workflow as the
design-tracker
skill. Use this when you want to force a design document update.
根据对话内容,在
.claude/docs/DESIGN.md
中记录或更新项目设计与实现决策。
注意:此skill会显式调用与
design-tracker
skill相同的工作流。 当你需要强制更新设计文档时使用此功能。

Workflow

工作流

  1. Read existing
    .claude/docs/DESIGN.md
  2. Extract decisions/information from the conversation
  3. Update the appropriate section
  4. Add entry to Changelog with today's date
  1. 读取现有的
    .claude/docs/DESIGN.md
    文档
  2. 从对话中提取决策/信息
  3. 更新对应的章节
  4. 在变更日志中添加今日日期的条目

Section Mapping

章节映射

TopicSection
Goals, purposeOverview
Structure, componentsArchitecture
Design patternsImplementation Plan > Patterns
Library choicesImplementation Plan > Libraries
Decision rationaleImplementation Plan > Key Decisions
Future workTODO
Unresolved issuesOpen Questions
主题章节
目标、用途概述
结构、组件架构
设计模式实施计划 > 模式
库选择实施计划 > 库
决策依据实施计划 > 关键决策
未来工作待办事项(TODO)
未解决问题待解决问题

Update Format

更新格式

When updating, add to the appropriate section:
markdown
undefined
当更新时,添加到对应的章节:
markdown
undefined

Key Decisions

关键决策

{Decision Title} ({Date})

{决策标题}({日期})

Context: {Why this decision was needed} Decision: {What was decided} Rationale: {Why this option was chosen}
undefined
背景:{为何需要此决策} 决策:{做出的具体决定} 依据:{选择此方案的原因}
undefined

Changelog Entry

变更日志条目

Always add to Changelog:
markdown
undefined
务必在变更日志中添加:
markdown
undefined

Changelog

变更日志

{Date}

{日期}

  • {Brief description of what was recorded}
undefined
  • {记录内容的简要描述}
undefined

Language

语言规范

  • Document content: English (technical), Japanese OK for descriptions
  • User communication: Japanese
If $ARGUMENTS provided, focus on recording that content.
  • 文档内容:英语(技术用语),描述部分可使用日语
  • 用户沟通:日语
如果提供了$ARGUMENTS,请重点记录该内容。