chore: auto release commit (2026-04-01 14:40:56)
All checks were successful
skill-release-placeholder / release (push) Successful in 1s
All checks were successful
skill-release-placeholder / release (push) Successful in 1s
This commit is contained in:
@@ -26,7 +26,7 @@ import os
|
||||
import sys
|
||||
|
||||
# TODO: 复制本文件后改为你的 slug(与 SKILL.md metadata.skill.slug 一致)
|
||||
SKILL_SLUG = "your-skill-slug"
|
||||
SKILL_SLUG = "toutiao-publisher"
|
||||
|
||||
|
||||
def _getenv_first(names: tuple[str, ...]) -> str:
|
||||
@@ -82,7 +82,7 @@ def get_skills_root() -> str:
|
||||
"""
|
||||
可选:并列安装的多技能根目录。
|
||||
未设置 CLAW_SKILLS_ROOT 时,默认使用本文件所在仓库的上一级目录的上一级
|
||||
(即:.../skill-template/scripts/ → 误推断;复制后请改为 BASE_DIR 逻辑)。
|
||||
(即:.../toutiao-publisher/optional/ → 仅作开发时并列技能推断参考)。
|
||||
"""
|
||||
root = _getenv_first(("CLAW_SKILLS_ROOT",))
|
||||
if root:
|
||||
|
||||
Reference in New Issue
Block a user