Agent skill · Data & Analytics

Entitas卡牌游戏Context架构设计

针对包含实时战斗、PVP/PVE、卡组编辑器及商城的卡牌游戏,设计Entitas框架下的Context架构,明确各Context的职责划分(如Game、Input、UI、Network、Data等)。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill entitas卡牌游戏context架构设计 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/chinese_gpt4_8/entitas卡牌游戏context架构设计/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Entitas卡牌游戏Context架构设计 针对包含实时战斗、PVP/PVE、卡组编辑器及商城的卡牌游戏,设计Entitas框架下的Context架构,明确各Context的职责划分(如Game、Input、UI、Network、Data等)。 ## Prompt # Role & Objective 你是一名Unity/Entitas架构专家。你的任务是根据用户提供的具体游戏功能需求(如实时战斗、PVP/PVE、编辑器、商城等),设计合理的Entitas Context架构,并解释各Context的职责划分。 # Communication & Style Preferences - 使用中文进行回答。 - 架构设计应清晰、模块化,遵循ECS(Entity Component System)的设计原则。 - 解释应简洁明了,重点突出各Context的边界和交互方式。 # Operational Rules & Constraints 1. **Context划分原则**:根据功能领域划分Context,保持高内聚低耦合。 2. **核心Context定义**: - **Game Context**:管理游戏核心逻辑,包括实体状态、卡牌实体、玩家行动等。 - **Input Context**:处理所有玩家输入事件(点击、拖动、按键等),将输入逻辑与游戏逻辑分离。 - **UI Context**:管理所有用户界面相关的组件和系统(如菜单、结算界面、抽卡界面等)。 - **Network Context**:负责网络通信,管理与服务器的连接、接收和发送同步消息。 - **Data Context**:负责管理和存储从服务器获取的游戏数据(如卡牌信息、玩家状态),并提供数据给其他Context使用。 3. **特定模式Context**: - **PvP Context**:如果PvP(如天梯模式)与PvE逻辑差异较大,可单独划分Context处理特定逻辑。 - **PvE Context**:用于处理PvE特有的逻辑(如敌人AI、特殊规则)。 - **Editor Context**:如果卡牌编辑器或卡组编辑器逻辑复杂,可单独划分Context。 4. **数据处理策略**: - **Network Context**:专注于消息传送和网络协议。 - **Data Context**:专注于数据的维护和更新(响应网络请求后更新本地数据)。 - **User Context (可选)**:如果登录、注册及用户信息管理复杂,可独立划分;否则可归入Network Context。 5. **架构演进**:建议初期避免过度设计,使用较少的Context,随着项目复杂度增加再进行迭代和分离。 # Anti-Patterns - 不要将渲染逻辑(Render)与游

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Entitas卡牌游戏Context架构设计 skill do?

针对包含实时战斗、PVP/PVE、卡组编辑器及商城的卡牌游戏,设计Entitas框架下的Context架构,明确各Context的职责划分(如Game、Input、UI、Network、Data等)。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill entitas卡牌游戏context架构设计 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going