Skip to content

docs: 完善工作站与资源接入技能文档#294

Open
yxz321 wants to merge 1 commit into
deepmodeling:devfrom
yxz321:update-add-workstation-and-resource-skills
Open

docs: 完善工作站与资源接入技能文档#294
yxz321 wants to merge 1 commit into
deepmodeling:devfrom
yxz321:update-add-workstation-and-resource-skills

Conversation

@yxz321

@yxz321 yxz321 commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

背景

本 PR 更新 Uni-Lab-OS 的 .cursor/skills 文档,主要针对近期接入工作站和资源时遇到的几个容易踩坑的问题,补充更明确的技能指引。

主要修改

  • 完善 add-workstation skill 的补充参考,新增 Bioyond/外部系统工作站接入说明。
  • 新增工作流节点编写指南,覆盖 @action、handles、manual-confirm、参数分组、错误语义等约定。
  • add-resource 中明确 class 形式资源必须在运行时被 import,避免 find_subclass() 找不到自定义 Deck / WareHouse / Plate。
  • 将“类资源未导入”问题从事后排错改为前置 authoring 规则,并增加 resources/__init__.py eager import 和验证建议。
  • 明确 setup=False 的使用边界:仅对需要首次创建默认 children/layout 的资源启用,例如工作站 Deck 自动放置 WareHouse;默认保持 False,避免反序列化已有 children 时重复创建或覆盖状态。

验证

  • 已运行 git diff --check -- .cursor/skills,无 whitespace 问题。
  • 未运行完整测试;本 PR 仅修改技能文档。

Add workstation skill references for Bioyond integration and workflow node authoring.

Clarify add-resource guidance for setup=False default children/layout initialization and import-visible class resources.

Shorten the find_subclass troubleshooting into prevention-focused resource authoring and validation rules.
@yxz321 yxz321 requested a review from Xuwznln July 8, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant