refactor: 将 skill 文档移动到项目根目录

- 将 skill/SKILL.md 移动至根目录 SKILL.md
- 更新 build.py 中的路径配置
- 更新 openspec/config.yaml 中的文档位置说明
This commit is contained in:
2026-03-09 10:05:40 +08:00
parent 58093e0877
commit b2fb418a06
3 changed files with 3 additions and 3 deletions

View File

@@ -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")

View File

@@ -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文档