← ClaudeAtlas

code-scaffoldlisted

Generate โครงสร้างไฟล์ + API stubs + DB migration + test stubs จาก SystemFlow + Dev Handoff Package ไม่ใช่ full code แต่ให้ Dev มี starting point
witchwasin/Axiom-PMO · ★ 3 · AI & Automation · score 74
Install: claude install-skill witchwasin/Axiom-PMO
# PMO Skill: Code Scaffold > **Purpose:** แปลง Dev Handoff Package เป็น boilerplate code ที่ Dev เอาไปต่อได้ทันที > ไม่ใช่ full implementation แต่ให้โครงสร้างที่ถูกต้องตั้งแต่เริ่ม --- ## 1. Prerequisites ก่อนรัน scaffold ต้องมี: - Dev Handoff Package (จาก `pmo-dev-handoff`) — Data Model, API Spec, Component Inventory - Tech Stack Info — language, framework, database, ORM (ถาม user ถ้ายังไม่มี) - Coding Standards (จาก `pmo-coding-standards` ถ้ามี) — naming convention, folder structure --- ## 2. Output Structure ### 2.1 สร้าง Folder Structure ``` {project-code}-scaffold/ ├── README.md <- Setup instructions ├── docker-compose.yml <- Local dev environment ├── .env.example <- Environment variables template │ ├── backend/ │ ├── src/ │ │ ├── models/ <- DB models from Data Model spec │ │ │ └── {entity}.{ext} <- One file per entity │ │ ├── routes/ <- API routes from API Spec │ │ │ └── {resource}.{ext} <- One file per resource │ │ ├── services/ <- Business logic stubs │ │ │ └── {module}.{ext} <- One file per module │ │ ├── middleware/ <- Auth, validation, error handling │ │ └── config/ <- DB config, app config │ ├── tests/ │ │ ├── unit/ <- Unit test stubs │ │ └── integration/ <- Integration test stubs │ └── migrations/ <- DB migration files │ ├── frontend/ │ ├── src/ │ │