directory-management

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Directory Management

目录管理

Project Setup

项目设置

Before any work begins, resolve the project name:
  1. If the project name is already known from conversation context, use it.
  2. Otherwise, scan for existing
    */PLAN.md
    files in the current directory. If found, ask the user if they are resuming an existing project and load that
    PLAN.md
    into context.
  3. If no existing projects are found, recommend a ≤64-char lowercase slug based on what you know from the conversation (only
    [a-z0-9-]
    ), or ask directly if there isn't enough context. Present the recommended name and wait for user confirmation.
Once project name is resolved:
  1. Create and/or use the
    <experiment-name>/
    directory using the confirmed name for storing all the artifacts
在开展任何工作前,先确定项目名称:
  1. 如果对话上下文中已经明确了项目名称,直接使用即可。
  2. 否则,扫描当前目录下已有的
    */PLAN.md
    文件。如果找到该文件,询问用户是否要恢复现有项目,并将对应
    PLAN.md
    加载到上下文当中。
  3. 如果没有找到现有项目,根据你从对话中获取的信息推荐一个长度不超过64字符的小写slug(仅允许包含
    [a-z0-9-]
    字符);如果上下文信息不足则直接询问用户。给出推荐名称后等待用户确认。
确定项目名称后:
  1. 以确认的名称创建并使用
    <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