agent-project-structure

Agent project directory structure规范。指导agent生成规范的项目文件结构,包括:项目文件单独存放在项目目录下,日志文件统一放在log目录,临时文件(截图、缓存等)与正式文件分离。使用时检查现有结构是否符合规范,或根据规范创建/调整目录结构。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "agent-project-structure" with this command: npx skills add songxf1024/agent-project-structure

Agent Project Structure 规范

如何触发

当用户说以下内容时,默认触发此技能

  • "创建一个项目" / "create a project"
  • "新建项目" / "new project"
  • "项目结构" / "project structure"

除非用户明确指定其他目录结构需求,否则应按此规范组织项目结构。

快速开始

检查现有结构

python scripts/check_structure.py <项目路径>

创建新项目结构

python scripts/create_structure.py <项目路径>

标准目录结构

agent-project/
├── projects/          # 项目文件目录
├── log/               # 日志文件目录
├── temp/              # 临时文件目录(截图、缓存等)
│   ├── screenshots/   # 截图文件
│   └── cache/         # 缓存文件
├── config/            # 配置文件目录
├── data/              # 数据文件目录
│   ├── input/         # 输入数据
│   └── output/        # 输出数据
├── scripts/           # 脚本文件目录
└── docs/              # 文档目录

文件分类原则

类型目录说明
项目文件projects/项目代码、资源
日志文件log/应用日志
临时文件temp/截图、缓存
配置文件config/环境配置
数据文件data/输入/输出数据

使用场景

  1. 检查现有结构 - 检查现有项目结构是否符合规范
  2. 创建新项目 - 生成标准目录结构
  3. 重构项目结构 - 指导现有项目重构

相关资源

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

handdraw-flowchart

Create hand-drawn workflow diagrams from natural-language process descriptions by generating strictly validated Mermaid flowchart, sequenceDiagram, or classD...

Registry SourceRecently Updated
Automation

Find Agent

OceanBus-powered agent and service discovery via Yellow Pages. Use when users want to find someone, look for a service, reach out to an expert, discover anot...

Registry SourceRecently Updated
Automation

Qwen Web Agent

Browser automation for 通义千问 (Qwen) web interface at qianwen.com. Use when the agent needs to ask questions to Qwen AI and get back responses via browser auto...

Registry SourceRecently Updated
Automation

bot File Processor

通用文件处理技能,用于批量重命名和格式转换。当用户需要批量重命名文件(添加前缀/后缀、替换文本、编号重命名、正则表达式重命名)或转换文件格式(图片格式转换、PDF与图片互转、DOCX转PDF、Markdown转PDF)时使用此技能。

Registry SourceRecently Updated