Directory Management

作者 awslabs097fe8ad56d8无许可证915 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

Manages project directory setup and artifact organization. Use when starting a new project, resuming an existing one, or when a PLAN.md needs to be associated with a project directory. Creates the project folder structure (specs/, scripts/, notebooks/, manifests/, agent_memory/) and resolves project naming.

AI 生成的概览

在工作开始前建立并组织项目目录结构,并确定项目命名。

功能
该技能引导智能体确定项目名称:可从对话上下文获取、扫描现有的 PLAN.md 文件,或推荐一个仅含小写字母、数字和连字符的短标识并等待用户确认。随后创建并使用包含 specs/、scripts/、notebooks/、manifests/ 和 agent_memory/ 子目录的项目目录来存放生成的产物。它还说明如何将 PLAN.md 与项目目录关联,以及如何通过会话笔记记录进度。
适用场景
适用于启动新项目、继续已有项目,或需要将 PLAN.md 与某个项目目录关联时。其目的是在任何其他工作开始之前确定命名和文件夹结构。
运行要求
不需要脚本或特殊工具;仅为说明性指令,依赖智能体的文件访问能力来扫描 PLAN.md 文件并创建目录。

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

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>.ipynb├── manifests/              # Machine-readable outputs (JSON)└── agent_memory/           # Session persistence (git-ignored)    └── session-notes.md    # Progress, artifacts, next steps

来源与署名

来源:awslabs/agent-plugins位于plugins/sagemaker-ai/skills/directory-management提交097fe8a

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架