refactor: 将 skill 文档移动到项目根目录
- 将 skill/SKILL.md 移动至根目录 SKILL.md - 更新 build.py 中的路径配置 - 更新 openspec/config.yaml 中的文档位置说明
This commit is contained in:
2
build.py
2
build.py
@@ -98,7 +98,7 @@ def main() -> None:
|
|||||||
|
|
||||||
# 路径配置
|
# 路径配置
|
||||||
project_root = os.path.dirname(os.path.abspath(__file__))
|
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")
|
scripts_source_dir = os.path.join(project_root, "scripts")
|
||||||
build_dir = os.path.join(project_root, "build")
|
build_dir = os.path.join(project_root, "build")
|
||||||
scripts_target_dir = os.path.join(build_dir, "scripts")
|
scripts_target_dir = os.path.join(build_dir, "scripts")
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ context: |
|
|||||||
- 依赖: pyproject.toml声明,使用uv安装
|
- 依赖: pyproject.toml声明,使用uv安装
|
||||||
- 主机环境: 禁止污染配置,需操作须请求用户
|
- 主机环境: 禁止污染配置,需操作须请求用户
|
||||||
- 开发文档: README.md,每次迭代按需更新开发文档; 禁emoji/特殊字符
|
- 开发文档: README.md,每次迭代按需更新开发文档; 禁emoji/特殊字符
|
||||||
- skill文档: skill/SKILL.md,每次迭代按需更新skill文档
|
- skill文档: SKILL.md,每次迭代按需更新skill文档
|
||||||
- 测试: 所有需求必须设计全面测试
|
- 测试: 所有需求必须设计全面测试
|
||||||
- 任务: 禁止创建git变更任务(push/commit等); git读取允许(status/log/diff等)
|
- 任务: 禁止创建git变更任务(push/commit等); git读取允许(status/log/diff等)
|
||||||
- 代码: 模块文件150-300行; 错误需自定义异常+清晰信息+位置上下文
|
- 代码: 模块文件150-300行; 错误需自定义异常+清晰信息+位置上下文
|
||||||
@@ -17,9 +17,9 @@ context: |
|
|||||||
- 目标:统一文档解析工具,将DOCX/XLSX/PPTX/PDF/HTML/URL 转换为 Markdown,面向AI skill使用
|
- 目标:统一文档解析工具,将DOCX/XLSX/PPTX/PDF/HTML/URL 转换为 Markdown,面向AI skill使用
|
||||||
# 项目目录结构
|
# 项目目录结构
|
||||||
- scripts/: 核心代码目录
|
- scripts/: 核心代码目录
|
||||||
- skill/: skill文档目录
|
|
||||||
- tests/: 测试目录
|
- tests/: 测试目录
|
||||||
- openspec/: 规范文档目录
|
- openspec/: 规范文档目录
|
||||||
- temp/: 开发临时文件目录
|
- temp/: 开发临时文件目录
|
||||||
- pyproject.toml: 项目配置
|
- pyproject.toml: 项目配置
|
||||||
- README.md: 项目开发文档
|
- README.md: 项目开发文档
|
||||||
|
- SKILL.md: skill文档
|
||||||
|
|||||||
Reference in New Issue
Block a user