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 從公開儲存庫中收錄這些內容。

檢舉或申請下架