Loading...
Loading...
Compare original and translation side by side
[!IMPORTANT] This skill focuses on documentation output only. The actual code implementation phase is outside the scope of this skill.
[!IMPORTANT] 本技能仅专注于文档输出。实际代码实现阶段不在本技能的服务范围内。
architect/requirement.md ---> technical_design.md ---> implementation.md| Document | Purpose | Description |
|---|---|---|
| Requirements Analysis | Analyzes and formalizes user requirements |
| Technical Solution Design | Core document - designs system approaches and patterns |
| Implementation Plan | Details data structures, algorithms, class designs, key code, and evolution strategies |
architect/requirement.md ---> technical_design.md ---> implementation.md| 文档 | 用途 | 描述 |
|---|---|---|
| 需求分析 | 分析并规范化用户需求 |
| 技术方案设计 | 核心文档 - 设计系统方案与架构模式 |
| 实现规划 | 详细说明数据结构、算法、类设计、关键代码及演进策略 |
architect/requirement.mdreferences/requirements.mdarchitect/requirement.mdreferences/requirements.mdarchitect/requirement.mdarchitect/technical_design.mdreferences/macro-design.mdreferences/principles.mdarchitect/requirement.mdarchitect/technical_design.mdreferences/macro-design.mdreferences/principles.md| Paradigm | KeyPoint | Applicability Scope | Examples | Reference |
|---|---|---|---|---|
| Domain-Driven Design (DDD) | OOP & Entity First | High Rule Complexity. <br> Rich Domain Concepts. <br> Many Distinct Entities. | Core Combat Logic, Physics Interactions, Damage/Buff Rules, Complex AI Decision. | |
| Data-Driven Design | Data Layer First | High Content Complexity. <br> Flow Orchestration. <br> Simple Data Management. | Content: Quests, Level Design.<br>Flow: Tutorial Flow, Skill Execution, Narrative.<br>Mgmt: Inventory, Shop, Mail, Leaderboard. | |
| Use-Case Driven Prototype | Use-Case Implementation First | Rapid Validation | Game Jam, Core Mechanic Testing. | |
| 范式 | 核心要点 | 适用范围 | 示例 | 参考文档 |
|---|---|---|---|---|
| Domain-Driven Design (DDD) | 面向对象与实体优先 | 规则复杂度高、领域概念丰富、实体类型多样的场景 | 核心战斗逻辑、物理交互、伤害/ buff规则、复杂AI决策 | |
| Data-Driven Design | 数据层优先 | 内容复杂度高、流程编排类、简单数据管理类场景 | 内容类:任务、关卡设计<br>流程类:教程流程、技能释放、剧情叙事<br>管理类:背包、商店、邮件、排行榜 | |
| Use-Case Driven Prototype | 用例实现优先 | 快速验证场景 | Game Jam、核心玩法测试 | |
| System Category | Reference |
|---|---|
| Foundation & Core (Logs, Timers, Modules, Events, Resources, Audio, Input) | |
| Time & Logic Flow (Update Loops, Async, FSM, Command Queues, Controllers) | |
| Combat & Scene (Scene Graphs, Spatial Partitioning, ECS/EC, Loading) | |
| UI & Modules (Modules Management, MVC/MVP/MVVM, UI Management, Data Binding, Reactive) | |
| Skill System (Attribute, Skill, Buff) | |
| Action Combat System (HitBox, Damage, Melee, Projectiles) | |
| Narrative System (Dialogue, Cutscenes, Story Flow) | |
| Game AI System (Movement, Pathfinding, Decision Making, Tactical) | |
| Algorithm & Data Structures (Pathfinding, Search, Physics, Generic Solver) | |
| 系统分类 | 参考文档 |
|---|---|
| 基础与核心系统(日志、计时器、模块、事件、资源、音频、输入) | |
| 时间与逻辑流(更新循环、异步、有限状态机FSM、命令队列、控制器) | |
| 战斗与场景(场景图、空间分区、ECS/EC、加载) | |
| UI与模块(模块管理、MVC/MVP/MVVM、UI管理、数据绑定、响应式) | |
| 技能系统(属性、技能、Buff) | |
| 动作战斗系统(碰撞盒、伤害、近战、投射物) | |
| 叙事系统(对话、过场动画、剧情流程) | |
| 游戏AI系统(移动、寻路、决策、战术) | |
| 算法与数据结构(寻路、搜索、物理、通用求解器) | |
| Signal | Favor DDD | Favor Data-Driven |
|---|---|---|
| Entity interactions | Complex multi-entity rules (attacker × defender × buffs × environment) | Mostly CRUD + display, few cross-entity rules |
| Behavior source | Varies by entity type, hard to express as pure data | Driven by config tables, designer-authored content |
| Change frequency | Rules change with game balance iterations | Content/flow changes far more often than logic |
| Performance profile | Acceptable overhead for rich object graphs | Needs batch processing, cache-friendly layouts |
| Networking | Stateful objects acceptable | Flat state snapshots preferred (sync, rollback) |
| Team workflow | Programmers own the logic | Designers need to iterate without code changes |
| 信号 | 优先选DDD | 优先选数据驱动 |
|---|---|---|
| 实体交互 | 复杂的多实体规则(攻击者×防御者×Buff×环境) | 以CRUD和展示为主,跨实体规则少 |
| 行为来源 | 因实体类型而异,难以用纯数据表达 | 由配置表、设计师创作的内容驱动 |
| 变更频率 | 规则随游戏平衡性迭代变更 | 内容/流程的变更频率远高于逻辑 |
| 性能需求 | 可接受富对象图带来的开销 | 需要批处理、缓存友好的布局 |
| 网络需求 | 允许有状态对象 | 偏好扁平状态快照(同步、回滚) |
| 团队工作流 | 程序员负责逻辑 | 设计师无需修改代码即可迭代 |
architect/technical_design.mdarchitect/implementation.mdreferences/references/evolution.mdreferences/performance-optimization.mdarchitect/technical_design.mdarchitect/implementation.mdreferences/references/evolution.mdreferences/performance-optimization.mdarchitect/implementation.md[!NOTE] Code implementation is not part of this skill. Hand offto the implementation phase.implementation.md
architect/implementation.md[!NOTE] 代码实现不属于本技能的服务范围。请将移交至实现阶段。implementation.md
architect/technical_design.mdarchitect/technical_design.mdundefinedundefined| Category | Feature | Priority | Notes |
|---|---|---|---|
| Platform | OS / Device targets | - | |
| Genre | Game type & sub-genre | - | |
| Network | Single-player / Multiplayer | - | |
| Scope | Project scale & milestones | - | |
| Performance | Target FPS, memory budget, loading time | - | |
| Testability | Test strategy, debug tools, GM panel | - | |
| Observability | Logging, monitoring, crash reporting | - | |
| Deployment | Build pipeline, CI/CD, patching | - | |
| Security | Anti-cheat, data validation, encryption | - |
| 分类 | 功能 | 优先级 | 备注 |
|---|---|---|---|
| 平台 | 目标操作系统/设备 | - | |
| 类型 | 游戏类型与子类型 | - | |
| 网络 | 单机/多人 | - | |
| 范围 | 项目规模与里程碑 | - | |
| 性能 | 目标FPS、内存预算、加载时间 | - | |
| 可测试性 | 测试策略、调试工具、GM面板 | - | |
| 可观测性 | 日志、监控、崩溃上报 | - | |
| 部署 | 构建流水线、CI/CD、补丁更新 | - | |
| 安全性 | 反作弊、数据验证、加密 | - |
| Term | Definition |
|---|
| 术语 | 定义 |
|---|
---
---undefinedundefinedSkip this section for new projects.
新项目可跳过本节。
| Application | Role | Description |
|---|
| 应用 | 角色 | 描述 |
|---|
| Category | Selection | Alternatives | Reason |
|---|---|---|---|
| Engine | |||
| Language | |||
| Networking | |||
| Data Storage | |||
| Key Libraries |
| 分类 | 选型 | 备选方案 | 理由 |
|---|---|---|---|
| 引擎 | |||
| 编程语言 | |||
| 网络 | |||
| 数据存储 | |||
| 核心库 |
| Module | Layer | Paradigm | Description |
|---|
| 模块 | 层级 | 范式 | 描述 |
|---|
| Module | Scope (Full / Partial) | Key Deliverables | Notes |
|---|
| 模块 | 范围(完整/部分) | 核心交付物 | 备注 |
|---|
For modules using the Use-Case Driven Prototype paradigm, further split each milestone into small iterations (1–3 days each).
对于采用用例驱动原型范式的模块,需将每个里程碑进一步拆分为小迭代(每个迭代1-3天)。
---
---undefinedundefinedproject-root/
├── src/
│ ├── foundation/ # Foundation Layer
│ ├── logic/ # Logic Layer modules
│ └── app/ # Application Layer
├── configs/ # Data tables & configurations
├── assets/ # Art, audio, etc.
└── tests/project-root/
├── src/
│ ├── foundation/ # 基础层
│ ├── logic/ # 逻辑层模块
│ └── app/ # 应用层
├── configs/ # 数据表与配置
├── assets/ # 美术、音频等资源
└── tests/| Class | Role (Entity/Service/VO/Repository/Factory) | Responsibilities |
|---|
| 类 | 角色(实体/服务/值对象/仓库/工厂) | 职责 |
|---|
---
---references/requirements.mdarchitect/requirement.mdreferences/macro-design.mdreferences/principles.mdreferences/domain-driven-design.mdsystem-skill.mdsystem-action-combat.mdsystem-time.mdsystem-scene.mdalgorithm.mdarchitect/technical_design.mdreferences/evolution.mdarchitect/implementation.mdreferences/requirements.mdarchitect/requirement.mdreferences/macro-design.mdreferences/principles.mdreferences/domain-driven-design.mdsystem-skill.mdsystem-action-combat.mdsystem-time.mdsystem-scene.mdalgorithm.mdarchitect/technical_design.mdreferences/evolution.mdarchitect/implementation.mdreferences/requirements.mdarchitect/requirement.mdreferences/macro-design.mdreferences/principles.mdreferences/domain-driven-design.mdreferences/data-driven-design.mdsystem-skill.mdsystem-foundation.mdsystem-time.mdarchitect/technical_design.mdreferences/evolution.mdarchitect/implementation.mdreferences/requirements.mdarchitect/requirement.mdreferences/macro-design.mdreferences/principles.mdreferences/domain-driven-design.mdreferences/data-driven-design.mdsystem-skill.mdsystem-foundation.mdsystem-time.mdarchitect/technical_design.mdreferences/evolution.mdarchitect/implementation.mdreferences/requirements.mdarchitect/requirement.mdreferences/macro-design.mdreferences/principles.mdreferences/prototype-design.mdsystem-time.mdalgorithm.mdarchitect/technical_design.mdreferences/evolution.mdarchitect/implementation.mdreferences/requirements.mdarchitect/requirement.mdreferences/macro-design.mdreferences/principles.mdreferences/prototype-design.mdsystem-time.mdalgorithm.mdarchitect/technical_design.mdreferences/evolution.mdarchitect/implementation.mdarchitect/implementation.mdreferences/evolution.mdreferences/performance-optimization.mdarchitect/implementation.mdarchitect/implementation.mdreferences/evolution.mdreferences/performance-optimization.mdarchitect/implementation.md