Loading...
Loading...
Compare original and translation side by side
════════════════════════════════════════════════════════════════════════════════
DEEP-PROJECT: Requirements Decomposition
════════════════════════════════════════════════════════════════════════════════
Transforms vague project requirements into well-scoped planning units.
Usage: /deep-project @path/to/requirements.md
Output:
- Numbered split directories (01-name/, 02-name/, ...)
- spec.md in each split directory
- project-manifest.md with execution order and dependencies
════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
DEEP-PROJECT: 需求分解
════════════════════════════════════════════════════════════════════════════════
将模糊的项目需求转换为范围明确的规划单元。
使用方式: /deep-project @path/to/requirements.md
输出内容:
- 编号拆分目录 (01-name/, 02-name/, ...)
- 每个拆分目录中的spec.md文件
- 包含执行顺序和依赖关系的project-manifest.md
════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
DEEP-PROJECT: Requirements File Required
════════════════════════════════════════════════════════════════════════════════
This skill requires a path to a requirements markdown file.
Example: /deep-project @path/to/requirements.md
The requirements file should contain:
- Project description and goals
- Feature requirements (can be vague)
- Any known constraints or context
════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
DEEP-PROJECT: 需要需求文件
════════════════════════════════════════════════════════════════════════════════
本技能需要一个指向需求markdown文件的路径。
示例: /deep-project @path/to/requirements.md
需求文件应包含:
- 项目描述与目标
- 功能需求(可模糊)
- 任何已知约束或背景信息
════════════════════════════════════════════════════════════════════════════════DEEP_PLUGIN_ROOT=<path>DEEP_SESSION_IDDEEP_PLUGIN_ROOTplugin_root<DEEP_PLUGIN_ROOT value>/scripts/checks/setup-session.pyDEEP_PLUGIN_ROOTfind "$(pwd)" -name "setup-session.py" -path "*/scripts/checks/*" -type f 2>/dev/null | head -1find ~ -name "setup-session.py" -path "*/scripts/checks/*" -path "*deep*project*" -type f 2>/dev/null | head -1scripts/checks/DEEP_PLUGIN_ROOT=<path>DEEP_SESSION_IDDEEP_PLUGIN_ROOTplugin_root<DEEP_PLUGIN_ROOT value>/scripts/checks/setup-session.pyDEEP_PLUGIN_ROOTfind "$(pwd)" -name "setup-session.py" -path "*/scripts/checks/*" -type f 2>/dev/null | head -1find ~ -name "setup-session.py" -path "*/scripts/checks/*" -path "*deep*project*" -type f 2>/dev/null | head -1scripts/checks/DEEP_SESSION_ID=xxxuv run {script_path} --file "{requirements_file_path}" --plugin-root "{plugin_root}" --session-id "{DEEP_SESSION_ID}"{plugin_root}/path/to/deep_project/scripts/checks/setup-session.py/path/to/deep_project{DEEP_SESSION_ID}DEEP_SESSION_ID--session-id/clear reset--session-idsuccess == truetasks_written > 0TaskListmode == "conflict"--forcemode == "no_task_list"task_write_errorsession_id_sourcesession_id_matchedtruefalse/clear resetTaskListDEEP_SESSION_ID=xxxuv run {script_path} --file "{requirements_file_path}" --plugin-root "{plugin_root}" --session-id "{DEEP_SESSION_ID}"{plugin_root}/path/to/deep_project/scripts/checks/setup-session.py/path/to/deep_project{DEEP_SESSION_ID}DEEP_SESSION_ID--session-id/clear reset--session-idsuccess == truetasks_written > 0TaskListmode == "conflict"--forcemode == "no_task_list"task_write_errorsession_id_sourcesession_id_matchedtruefalse/clear resetTaskListresume_from_stepWarning: The requirements file has changed since the last session.
Changes may affect previous decisions.resume_from_step警告:自上次会话以来,需求文件已更改。
更改可能会影响之前的决策。════════════════════════════════════════════════════════════════════════════════
SESSION REPORT
════════════════════════════════════════════════════════════════════════════════
Mode: {new | resume}
Requirements: {input_file}
Output dir: {planning_dir}
{Resume from: Step {resume_from_step} (if resuming)}
════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
会话报告
════════════════════════════════════════════════════════════════════════════════
模式: {new | resume}
需求文件: {input_file}
输出目录: {planning_dir}
{恢复自: 步骤 {resume_from_step} (如果是恢复会话)}
════════════════════════════════════════════════════════════════════════════════{initial_file}{planning_dir}/deep_project_interview.md{initial_file}{planning_dir}/deep_project_interview.md{initial_file}{planning_dir}/deep_project_interview.md{initial_file}{planning_dir}/deep_project_interview.md{planning_dir}/project-manifest.md{planning_dir}/project-manifest.md{initial_file}{planning_dir}/deep_project_interview.md{planning_dir}/project-manifest.mdproject-manifest.md{initial_file}{planning_dir}/deep_project_interview.md{planning_dir}/project-manifest.mdproject-manifest.mduv run {plugin_root}/scripts/checks/create-split-dirs.py --planning-dir "{planning_dir}"project-manifest.mdcreatedskippedsuccess == falseuv run {plugin_root}/scripts/checks/create-split-dirs.py --planning-dir "{planning_dir}"project-manifest.mdcreatedskippedsuccess == false{initial_file}{planning_dir}/deep_project_interview.md{planning_dir}/project-manifest.mdsplit_directoriessplits_needing_specsspec.md{initial_file}{planning_dir}/deep_project_interview.md{planning_dir}/project-manifest.mdsplit_directoriessplits_needing_specsspec.md{planning_dir}/project-manifest.mdsplit_directoriessplits_needing_specssplits_needing_specs════════════════════════════════════════════════════════════════════════════════
DEEP-PROJECT COMPLETE
════════════════════════════════════════════════════════════════════════════════
Created {N} split(s):
- 01-name/spec.md
- 02-name/spec.md
...
Project manifest: project-manifest.md
Next steps:
1. Review project-manifest.md for execution order
2. Run /deep-plan for each split:
/deep-plan @01-name/spec.md
/deep-plan @02-name/spec.md
...
════════════════════════════════════════════════════════════════════════════════{planning_dir}/project-manifest.mdsplit_directoriessplits_needing_specssplits_needing_specs════════════════════════════════════════════════════════════════════════════════
DEEP-PROJECT 完成
════════════════════════════════════════════════════════════════════════════════
已创建 {N} 个拆分模块:
- 01-name/spec.md
- 02-name/spec.md
...
项目清单: project-manifest.md
后续步骤:
1. 查看project-manifest.md了解执行顺序
2. 为每个拆分模块运行/deep-plan:
/deep-plan @01-name/spec.md
/deep-plan @02-name/spec.md
...
════════════════════════════════════════════════════════════════════════════════Error: Cannot read requirements file
File: {path}
Reason: {file not found | not a .md file | empty file | permission denied}
Please provide a valid markdown requirements file.错误:无法读取需求文件
文件: {path}
原因: {文件未找到 | 不是.md文件 | 文件为空 | 权限被拒绝}
请提供有效的markdown需求文件。AskUserQuestion:
question: "Session state conflict detected. How should we proceed?"
options:
- label: "Start fresh"
description: "Discard existing session and begin new analysis"
- label: "Resume from Step {N}"
description: "Continue from where the previous session stopped"AskUserQuestion:
question: "检测到会话状态冲突。应如何处理?"
options:
- label: "重新开始"
description: "丢弃现有会话并开始新的分析"
- label: "从步骤 {N} 恢复"
description: "从上一次会话停止的位置继续"create-split-dirs.pyskippedcreate-split-dirs.pyskipped