feature-architect

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Feature Architect Skill

功能架构设计Skill

Designs game feature architecture before coding begins.
在编码开始前设计游戏功能架构。

What This Does

功能说明

Takes feature requirements and produces complete architectural plans:
  • System Design - What classes/components are needed?
  • Architecture Diagram - Visual structure showing relationships
  • Integration Points - How does this plug into GameManager, InputManager, UIManager, etc.?
  • Modern Patterns - Input System usage, async/await patterns, dependency injection approach
  • Data Flow - How information moves through the system
  • Initialization Order - When/how does the feature initialize?
  • Resource Management - Pooling needs, object lifetime, cleanup strategy
接收功能需求并生成完整的架构方案:
  • 系统设计 - 需要哪些类/组件?
  • 架构图 - 展示关系的可视化结构
  • 集成点 - 如何与GameManager、InputManager、UIManager等集成?
  • 现代模式 - Input System使用、async/await模式、依赖注入方案
  • 数据流 - 信息如何在系统中流转
  • 初始化顺序 - 功能何时/如何初始化?
  • 资源管理 - 对象池需求、对象生命周期、清理策略

Activation Triggers

触发条件

This skill activates when you:
  • Ask to "design a feature" or "plan out"
  • Request an "architecture" for something
  • Ask "how should I structure" a new system
  • Run
    /design-feature
    command
  • Ask "what classes do I need?"
当你进行以下操作时,该Skill会被激活:
  • 要求“设计一个功能”或“规划”
  • 请求为某事物提供“架构”方案
  • 询问“我应该如何构建”一个新系统
  • 运行
    /design-feature
    命令
  • 询问“我需要哪些类?”

Input Format

输入格式

Describe your feature simply:
  • "I need a boss enemy with different attack patterns"
  • "Create a shop system where players buy upgrades"
  • "Design a checkpoint/save system"
简单描述你的功能:
  • “我需要一个具有不同攻击模式的Boss敌人”
  • “创建一个玩家可以购买升级的商店系统”
  • “设计一个检查点/存档系统”

Output Format

输出格式

Complete architecture plan with:
  1. System Overview - High-level description
  2. Class Structure - Classes needed, inheritance/composition
  3. Dependency Map - What connects to what
  4. Integration Strategy - How it plugs into starters
  5. Modern Patterns Used - Input System, async, DI approaches
  6. Code Skeleton - Class signatures and method stubs
  7. Next Step - Ready for
    /generate-feature
    command
完整的架构方案包含:
  1. 系统概述 - 高层描述
  2. 类结构 - 需要的类、继承/组合关系
  3. 依赖关系图 - 各模块的连接关系
  4. 集成策略 - 如何与启动器集成
  5. 使用的现代模式 - Input System、async、DI方案
  6. 代码骨架 - 类签名和方法存根
  7. 下一步 - 准备好运行
    /generate-feature
    命令

Jam-Time Workflow

Jam-Time工作流程

  1. Describe feature → get architecture
  2. Review architecture with team
  3. Use
    /generate-feature
    to write code
  1. 描述功能 → 获取架构方案
  2. 与团队评审架构方案
  3. 使用
    /generate-feature
    命令编写代码