← 返回
效率工具 中文

fullstack-project-creator

Create standardized Java Spring Boot + Vue3 full-stack project structure
创建标准化的 Java Spring Boot + Vue3 全栈项目结构
superchao9
效率工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 706
下载
💾 39
安装
1
版本
#latest

概述

Fullstack Project Creator

Create standardized Java Spring Boot + Vue3 full-stack project structure for users.

> Author: @superchao9

> Version: 1.0.0

> License: MIT

Use Cases

Use this Skill when users need to create new projects or features, to generate standardized project structure and initial files.

Trigger Keywords (any one will activate)

This Skill activates when user expressions contain the following patterns:

PatternExample
------------------
Create/New/Generate + Project/System/Feature"Create a lottery project", "Generate user management system"
Write/Build/Develop + Project/System/Feature"Help me write a blog project", "Build an order system"
Give me/Need + Project/System"Give me a lottery project", "Need an image management feature"
XX Project/System/Module"Lottery project", "User management module" (implies creation intent)
Simple/Complete + Project"Simple lottery project", "Complete e-commerce system"

Non-triggering Cases

  • Asking about existing project issues: "This lottery project has an error, how to fix?"
  • Modifying/optimizing existing code: "Help me change the lottery logic"
  • Pure technical consultation: "How to implement lottery algorithm"

Project Creation Process

  1. Requirement Communication - Confirm project requirements with user
  2. Generate Project Structure - Create standardized directories and files
  3. Generate Code - Generate initial code based on requirements

Project Structure Specification

Created projects must follow this structure:

{project-name}/
├── backend/                          # Java Backend
│   ├── src/
│   │   ├── main/
│   │   │   ├── java/
│   │   │   │   └── com/
│   │   │   │       └── example/
│   │   │   │           └── {project-name}/
│   │   │   │               ├── controller/     # REST API Controllers
│   │   │   │               ├── service/        # Business Logic Layer
│   │   │   │               ├── mapper/         # MyBatis Mapper
│   │   │   │               ├── entity/         # Entity Classes
│   │   │   │               ├── dto/            # Data Transfer Objects
│   │   │   │               ├── config/         # Configuration Classes
│   │   │   │               └── util/           # Utility Classes
│   │   │   └── resources/
│   │   │       ├── application.yml             # Main Configuration
│   │   │       ├── application-dev.yml         # Dev Environment Config
│   │   │       └── mapper/                     # MyBatis XML
│   │   └── test/                               # Test Code
│   ├── pom.xml                                 # Maven Config
│   └── README.md                               # Backend Documentation
│
├── frontend/                         # Vue3 Frontend
│   ├── src/
│   │   ├── api/                    # API Interfaces
│   │   ├── assets/                 # Static Resources
│   │   ├── components/             # Common Components
│   │   ├── views/                  # Page Views
│   │   ├── router/                 # Route Config
│   │   ├── stores/                 # Pinia State Management
│   │   ├── utils/                  # Utility Functions
│   │   ├── App.vue
│   │   └── main.js
│   ├── public/
│   ├── package.json
│   ├── vite.config.js
│   └── README.md
│
├── database/                         # Database Scripts
│   ├── init.sql                    # Initialization Script
│   └── migration/                  # Migration Scripts
│
├── docs/                             # Project Documentation
│   ├── api.md                      # API Documentation
│   └── design.md                   # Design Documentation
│
├── docker/                           # Docker Config
│   ├── Dockerfile-backend
│   ├── Dockerfile-frontend
│   └── docker-compose.yml
│
├── .gitignore
├── README.md                         # Project Overview
└── PROJECT.md                        # Project Specification

Tech Stack Specification

Backend (Java)

  • Framework: Spring Boot 3.2+
  • JDK: 17+
  • Database: MySQL 8.0
  • ORM: MyBatis Plus
  • Build Tool: Maven
  • API Documentation: SpringDoc OpenAPI

Frontend (Vue3)

  • Framework: Vue 3.4+
  • Build Tool: Vite 5+
  • UI Library: Element Plus
  • State Management: Pinia
  • Routing: Vue Router 4
  • HTTP Client: Axios

Code Specification

Java Backend

  1. Package Name: com.example.{project-name}
  2. Class Name: PascalCase
  3. Method Name: camelCase
  4. Database Fields: snake_case
  5. Must Include: Lombok, unified return format, global exception handling

Vue3 Frontend

  1. Component Name: PascalCase
  2. Composition API: Use