返回 Skill 列表
extension
分类: 开发与工程无需 API Key

detailed-design-parser

解析detailed-design.md文件,提取并格式化特定文件的更改,以便于复制。当用户希望从detailed-design.md文件生成detailed-design-by-file.md时,请使用此技能。

person作者: jakexiaohubgithub

Detailed Design Parser

This skill helps in parsing detailed-design.md files to extract code changes and format them into a detailed-design-by-file.md file. This is useful for copying file contents to other applications.

Usage

  1. Identify the detailed-design.md file path. It is usually located at openspec/changes/<openspec_id>/detailed-design.md.
  2. Run the parse_design.py script with the path to the detailed-design.md file.

Script

The script scripts/parse_design.py takes the input file path as an argument and generates the output file in the same directory.

python {path}/scripts/parse_design.py <path_to_detailed_design_md>