Features: - Combat system with AP/EP hit calculation and three-layer defense - Auto-combat/farming mode - Item system with stacking support - Skill system with levels, milestones, and parent skill sync - Shop system with dynamic pricing - Inventory management with bulk selling - Event system - Game loop with offline earnings - Save/Load system Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
86 lines
2.7 KiB
Markdown
86 lines
2.7 KiB
Markdown
---
|
|
description: req
|
|
---
|
|
```mermaid
|
|
flowchart TD
|
|
start_node_default([Start])
|
|
prompt_requirements[请描述您的需求细节]
|
|
analyze_project[analyze-project]
|
|
compare_requirements[compare-requirements]
|
|
confirm_details{AskUserQuestion:<br/>是否需要确认细节?}
|
|
confirm_questions[提出需要确认的问题清单]
|
|
check_complexity{If/Else:<br/>Conditional Branch}
|
|
plan_steps[plan-steps]
|
|
create_doc[生成步骤文档,包含所有可验证的修改步骤]
|
|
modify_direct[modify-direct]
|
|
end_node_default([End])
|
|
|
|
start_node_default --> prompt_requirements
|
|
prompt_requirements --> analyze_project
|
|
analyze_project --> compare_requirements
|
|
compare_requirements --> confirm_details
|
|
confirm_details -->|是| confirm_questions
|
|
confirm_questions --> check_complexity
|
|
confirm_details -->|否| check_complexity
|
|
check_complexity -->|复杂| plan_steps
|
|
plan_steps --> create_doc
|
|
check_complexity -->|简单| modify_direct
|
|
modify_direct --> end_node_default
|
|
create_doc --> end_node_default
|
|
```
|
|
|
|
## Workflow Execution Guide
|
|
|
|
Follow the Mermaid flowchart above to execute the workflow. Each node type has specific execution methods as described below.
|
|
|
|
### Execution Methods by Node Type
|
|
|
|
- **Rectangle nodes**: Execute Sub-Agents using the Task tool
|
|
- **Diamond nodes (AskUserQuestion:...)**: Use the AskUserQuestion tool to prompt the user and branch based on their response
|
|
- **Diamond nodes (Branch/Switch:...)**: Automatically branch based on the results of previous processing (see details section)
|
|
- **Rectangle nodes (Prompt nodes)**: Execute the prompts described in the details section below
|
|
|
|
### Prompt Node Details
|
|
|
|
#### prompt_requirements(请描述您的需求细节)
|
|
|
|
```
|
|
请描述您的需求细节
|
|
```
|
|
|
|
#### confirm_questions(提出需要确认的问题清单)
|
|
|
|
```
|
|
提出需要确认的问题清单
|
|
```
|
|
|
|
#### create_doc(生成步骤文档,包含所有可验证的修改步骤)
|
|
|
|
```
|
|
生成步骤文档,包含所有可验证的修改步骤
|
|
```
|
|
|
|
### AskUserQuestion Node Details
|
|
|
|
Ask the user and proceed based on their choice.
|
|
|
|
#### confirm_details(是否需要确认细节?)
|
|
|
|
**Selection mode:** Single Select (branches based on the selected option)
|
|
|
|
**Options:**
|
|
- **是**: 需要确认细节后再继续
|
|
- **否**: 不需要确认,直接进行比对
|
|
|
|
### If/Else Node Details
|
|
|
|
#### check_complexity(Binary Branch (True/False))
|
|
|
|
**Evaluation Target**: modificationComplexity
|
|
|
|
**Branch conditions:**
|
|
- **复杂**: 修改复杂度高,需要多步骤
|
|
- **简单**: 修改相对简单,可直接进行
|
|
|
|
**Execution method**: Evaluate the results of the previous processing and automatically select the appropriate branch based on the conditions above.
|