协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
pipeline-development【开发与工程】Guides MaaNTE Pipeline JSON, task option JSON, i18n, SceneManager, controller restrictions, and registry changes.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task involves assets/resource/base/pipeline/**/*.json, assets/resource/tasks/*.json, assets/interface.json, UI i18n files, SceneManager public interfaces, or Pipeline recognition/action flow design.
Typical prompts:
next, on_error, or pipeline_override.pipeline_override, interface imports, and locale requirements.scripts/validate_pipeline_json.py when you need a quick node-structure check, or ../../scripts/inspect_task_catalog.py when checking task registry or option coverage.Coordinates, click targets, image templates, and ROI rectangles are based on 1280×720.
Prefer nested v2 shape for new nodes:
"recognition": {"type": "OCR", "param": {"roi": [0, 0, 100, 40], "expected": ["完整文本"]}},
"action": {"type": "Click"}
Preserve existing local shorthand style when making a narrow edit in an old node, but do not mix incompatible forms inside the same field.
Every action should follow recognition. A DirectHit is acceptable only after another node has proven state or for explicit config/entry placeholders.
Do not solve missed states by adding broad loops or max_hit blindly. Add a state node, popup/loading handler, or clearer next branch.
If a node truly needs no default wait, set rate_limit, pre_delay, and post_delay explicitly to 0.
Use [JumpBack] for popups, loading, scene transitions, and shared handlers that should return to the parent node.
Use public SceneManager interface nodes from Interface/Scene/; do not route task pipelines directly to private __ScenePrivate* nodes.
OCR expected values should use complete text; if a partial/regex string must skip i18n sync, mark that in source comments according to repo convention.
assets/resource/base/pipeline/<TaskFamily>.json with a clear entry node.assets/resource/tasks/<TaskName>.json with task, entry, option, and optional controller fields.assets/interface.json imports.$key.git diff --check, and targeted Pipeline node/manual tests when a live environment exists.entry node exist and route from all realistic starting states?next list cover success, loading, popup, wrong-scene, and completion states relevant to the task?pipeline_override target nodes exact?