AgentSkillsCN

project_scaffolder

按照架构规范中定义的项目文件夹结构,以确定性方式创建相应目录。

SKILL.md
--- frontmatter
name: project_scaffolder
description: Deterministically creates the project folder structure defined in the architecture specification.

Project Scaffolder Skill

This skill automates the creation of the file system structure mandated by inst.md. Instead of asking the LLM to write repetitive mkdir commands (which burns tokens), use this skill to instantly apply the architecture.

Purpose

To auto-generate the folder structure for the Portal de Servicios project, adhering to the "Domain-driven stacks" architecture defined in the spec.

Available Tools

scripts/setup_dirs.py

Creates the standard directory tree:

  • stacks/ (proxy, portal-core, edu-ia, ...)
  • data/ (postgres, backups)

Usage:

bash
python3 .agent/skills/project_scaffolder/scripts/setup_dirs.py

When to use:

  • At the start of the project.
  • If you accidentally delete directories.
  • To verify the directory structure exists.