directory-management
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDirectory Management
目录管理
Project Setup
项目设置
Before any work begins, resolve the project name:
- If the project name is already known from conversation context, use it.
- Otherwise, scan for existing files in the current directory. If found, ask the user if they are resuming an existing project and load that
*/PLAN.mdinto context.PLAN.md - If no existing projects are found, recommend a ≤64-char lowercase slug based on what you know from the conversation (only ), or ask directly if there isn't enough context. Present the recommended name and wait for user confirmation.
[a-z0-9-]
Once project name is resolved:
- Create and/or use the directory using the confirmed name for storing all the artifacts
<experiment-name>/
在开展任何工作前,先确定项目名称:
- 如果对话上下文中已经明确了项目名称,直接使用即可。
- 否则,扫描当前目录下已有的文件。如果找到该文件,询问用户是否要恢复现有项目,并将对应
*/PLAN.md加载到上下文当中。PLAN.md - 如果没有找到现有项目,根据你从对话中获取的信息推荐一个长度不超过64字符的小写slug(仅允许包含字符);如果上下文信息不足则直接询问用户。给出推荐名称后等待用户确认。
[a-z0-9-]
确定项目名称后:
- 以确认的名称创建并使用目录,用于存储所有项目工件
<experiment-name>/
Directory Structure
目录结构
When working with the agent, all generated files are organized under an project directory.
<project-name>/
├── specs/
│ ├── PLAN.md # Your customization plan
├── scripts/ # Generated Python scripts
│ ├── <project-name>_transform_fn.py
└── notebooks/ # Generated Jupyter notebooks
├── <project-name>_training.ipynb使用Agent工作时,所有生成的文件都会统一归档在项目目录下。
<project-name>/
├── specs/
│ ├── PLAN.md # Your customization plan
├── scripts/ # Generated Python scripts
│ ├── <project-name>_transform_fn.py
└── notebooks/ # Generated Jupyter notebooks
├── <project-name>_training.ipynb