协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
unity-sample【开发与工程】Sample and demo skills for API connectivity testing
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Before calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via
GET /skills/recommend?includeSchema=true) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.
Basic examples for testing the API.
Operating Mode (v1.9 three-tier):
get_scene_info, find_objects_by_name) run directly. Creators/mutators (create_cube, create_sphere, set_object_position, set_object_rotation, set_object_scale) are FullAuto — on MODE_RESTRICTED, run the grant protocol.delete_object (SkillOperation.Delete). It is reachable only under Bypass or via a user-managed Allowlist entry; the grant flow returns MODE_FORBIDDEN.Surface profile: this module's write skills count as GameObject authoring under another name, so both the guide and noSceneAuthoring profiles hide them and answer SURFACE_EXCLUDED — the exclusion cannot be bypassed by mode or Allowlist. Under guide, details.manualDoc points at manual-gameobject, which teaches these same primitive/transform steps by hand. The query skills stay available in every profile.
SURFACE_EXCLUDED has a second source beyond a hidden skill name: visible shell skills that replay a payload — batch_execute / batch_retry_failed (batch module) and the workflow undo/redo/revert skills (workflow module) — return the same code at execution time when the payload they are about to apply lands in a category the active profile withdraws, even though those shell skills are never themselves hidden.
DO NOT (common hallucinations):
sample_create is a simplified version of gameobject_create — prefer the full gameobject modulesample_hello / sample_ping are connectivity test skills onlyRouting:
gameobject moduleunity_skills.health()Create a cube primitive.
Parameters: x, y, z, name
Create a sphere primitive.
Parameters: x, y, z, name
Delete object by name.
Parameters: objectName
find_objects_by_nameFind objects containing string.
Parameters: nameContains (name is also accepted as a compatibility alias)
set_object_positionSet object position.
Parameters: objectName, x, y, z
set_object_rotationSet object rotation.
Parameters: objectName, x, y, z
set_object_scaleSet object scale.
Parameters: objectName, x, y, z
get_scene_infoGet current scene information. Parameters: None.
Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.