From b2fb418a06e2cef2af75e585a57ae95ae8f39a29 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Mon, 9 Mar 2026 10:05:40 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=B0=86=20skill=20=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E7=A7=BB=E5=8A=A8=E5=88=B0=E9=A1=B9=E7=9B=AE=E6=A0=B9?= =?UTF-8?q?=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 skill/SKILL.md 移动至根目录 SKILL.md - 更新 build.py 中的路径配置 - 更新 openspec/config.yaml 中的文档位置说明 --- skill/SKILL.md => SKILL.md | 0 build.py | 2 +- openspec/config.yaml | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename skill/SKILL.md => SKILL.md (100%) diff --git a/skill/SKILL.md b/SKILL.md similarity index 100% rename from skill/SKILL.md rename to SKILL.md diff --git a/build.py b/build.py index 01403fe..3c25971 100644 --- a/build.py +++ b/build.py @@ -98,7 +98,7 @@ def main() -> None: # 路径配置 project_root = os.path.dirname(os.path.abspath(__file__)) - skill_md_path = os.path.join(project_root, "skill", "SKILL.md") + skill_md_path = os.path.join(project_root, "SKILL.md") scripts_source_dir = os.path.join(project_root, "scripts") build_dir = os.path.join(project_root, "build") scripts_target_dir = os.path.join(build_dir, "scripts") diff --git a/openspec/config.yaml b/openspec/config.yaml index f40e35d..eb91105 100644 --- a/openspec/config.yaml +++ b/openspec/config.yaml @@ -7,7 +7,7 @@ context: | - 依赖: pyproject.toml声明,使用uv安装 - 主机环境: 禁止污染配置,需操作须请求用户 - 开发文档: README.md,每次迭代按需更新开发文档; 禁emoji/特殊字符 - - skill文档: skill/SKILL.md,每次迭代按需更新skill文档 + - skill文档: SKILL.md,每次迭代按需更新skill文档 - 测试: 所有需求必须设计全面测试 - 任务: 禁止创建git变更任务(push/commit等); git读取允许(status/log/diff等) - 代码: 模块文件150-300行; 错误需自定义异常+清晰信息+位置上下文 @@ -17,9 +17,9 @@ context: | - 目标:统一文档解析工具,将DOCX/XLSX/PPTX/PDF/HTML/URL 转换为 Markdown,面向AI skill使用 # 项目目录结构 - scripts/: 核心代码目录 - - skill/: skill文档目录 - tests/: 测试目录 - openspec/: 规范文档目录 - temp/: 开发临时文件目录 - pyproject.toml: 项目配置 - README.md: 项目开发文档 + - SKILL.md: skill文档