docs: 完善工作站与资源接入技能文档#294
Open
yxz321 wants to merge 1 commit into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
本 PR 更新 Uni-Lab-OS 的
.cursor/skills文档,主要针对近期接入工作站和资源时遇到的几个容易踩坑的问题,补充更明确的技能指引。主要修改
add-workstationskill 的补充参考,新增 Bioyond/外部系统工作站接入说明。@action、handles、manual-confirm、参数分组、错误语义等约定。add-resource中明确 class 形式资源必须在运行时被 import,避免find_subclass()找不到自定义 Deck / WareHouse / Plate。resources/__init__.pyeager import 和验证建议。setup=False的使用边界:仅对需要首次创建默认 children/layout 的资源启用,例如工作站 Deck 自动放置 WareHouse;默认保持False,避免反序列化已有 children 时重复创建或覆盖状态。验证
git diff --check -- .cursor/skills,无 whitespace 问题。