Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

project-generator

БесплатноЗапускает вложенные скриптыНе проверен

Automatically transform requirement documents or natural language descriptions into complete full-stack projects (Java backend + Vue frontend) with MANDATORY…

bighardpersonот bighardperson★ 71 звезда на GitHub

Об этом скилле

Project Generator Skill

Transform requirement documents or natural language descriptions into complete, production-ready full-stack applications with MANDATORY customizable tech stack selection.

⚠️ IMPORTANT: Tech stack selection is MANDATORY. Users cannot skip this step by pressing Enter. Each option must be explicitly selected or confirmed.

Capabilities

This skill generates:

  • Backend: Java Spring Boot with proper layering (Controller, Service, Repository, Entity)
  • Frontend: Vue 3 + TypeScript + UI component library
  • Database: Entities with relationships, migration scripts
  • API: RESTful endpoints with OpenAPI/Swagger docs
  • Authentication: JWT-based auth (optional)
  • Documentation: README, API docs, setup instructions

Interactive Tech Stack Selection

Before generating the project, the skill will guide you through selecting your preferred technology stack.

Selection Modes

Mode 1: Quick Selection (Mandatory)

⚠️ 此模式为强制模式,用户必须输入选择,不能回车跳过。

Use numbered options for rapid selection:

【后端】
1. Java:      [1]8 [2]11 [3]17 [4]21
2. SpringBoot:[1]2.7 [2]3.0 [3]3.2
3. Build:     [1]Maven [2]Gradle
4. Database:  [1]MySQL5.7 [2]MySQL8.0 [3]PostgreSQL [4]H2
5. ORM:       [1]JPA [2]MyBatis [3]MyBatis-Plus
...

【前端】
1. Vue:       [1]2 [2]3
2. UI:        [1]ElementUI(Vue2) [2]ElementPlus(Vue3) [3]AntDV [4]NaiveUI
3. State:     [1]Pinia(Vue3) [2]Vuex
...

⚠️ 必须输入完整选择,格式: 1,1,1,1,3,1,2,2,1

#### Mode 2: Free-form Text Input

Directly specify technology and version in natural language:

**Examples:**
> "Java 8, Spring Boot 2.7, MySQL 5.7, MyBatis-Plus, Redis"

> "JDK17 + SpringBoot 3.2 + PostgreSQL 15 + JPA + RabbitMQ"

> "Vue3 + TypeScript + Element Plus + Pinia + Tailwind"

> "React 18 + JavaScript + Ant Design + Zustand"

⚠️ **注意:** 如果自由格式输入未包含所有必要选项,系统仍会**强制提示**用户补充选择剩余选项。

**Supported Input Formats:**
- Technology name + version: `Java 8`, `Vue 3`, `MySQL 5.7`
- Short names: `JDK8`, `SB2.7`, `Vue2`, `React18`, `TS`
- With connectors: `+`, `,`, `/`, `and`
- Multiple lines or bullet points

### Selection Flow (Mandatory)

⚠️ **技术栈选择是强制性的,不能跳过。**
  1. Requirement Description (REQUIRED) ├─ User describes project requirements ├─ Skill analyzes and understands the needs └─ Summarizes core features ↓
  2. Present Tech Stack Options (MANDATORY) ├─ Display all options with recommendations ├─ Provide suggestions based on requirements └─ Wait for user input ↓
  3. User Selects Preferences (REQUIRED) ├─ User enters selection numbers ├─ Or confirms recommendations └─ Re-prompt if input is empty ↓
  4. Generate Project with Selected Stack

### Phase 1: Requirement Description

⚠️ **用户必须首先描述项目需求。**

**Acceptable Inputs:**
- 自然语言描述: "创建一个电商订单管理系统"
- 功能列表: "用户管理、商品管理、订单管理"
- PRD文档: 上传需求文档
- 简要描述: "一个简单的博客系统"

**Requirements for Description:**
- 项目名称(可选)
- 核心功能模块
- 业务场景描述
- 技术偏好(可选,如已知)

**Example:**
> "创建一个用户管理系统,包含用户注册登录、用户信息管理、角色权限分配功能。使用Java开发,前端用Vue。"

### Backend Options

#### 1. Java Version
| # | Version | Description |
|---|---------|-------------|
| 1 | Java 8 | Legacy support, widely used |
| 2 | Java 11 | LTS version |
| 3 | Java 17 | Default LTS version, stable |
| 4 | Java 21 | Latest LTS, virtual threads |

#### 2. Spring Boot Version
| # | Version | Description |
|---|---------|-------------|
| 1 | 2.7.x | Compatible with Java 8/11 |
| 2 | 3.0.x | Requires Java 17+ |
| 3 | 3.2.x | Default, latest features |

#### 3. Build Tool
| # | Tool | Description |
|---|------|-------------|
| 1 | Maven | Default, widely used |
| 2 | Gradle | Faster builds, flexible |

#### 4. Database
| # | Database | Description |
|---|----------|-------------|
| 1 | MySQL 5.7 | Legacy stable version |
| 2 | MySQL 8.0 | Default, latest features |
| 3 | PostgreSQL | Advanced features, robust |
| 4 | H2 | In-memory, for development |

#### 5. Data Access
| # | Framework | Description |
|---|-----------|-------------|
| 1 | JPA/Hibernate | Default, rapid development |
| 2 | MyBatis | SQL control, complex queries |
| 3 | MyBatis-Plus | Enhanced MyBatis, CRUD shortcuts |

#### 5. Additional Features (Multi-select)
| # | Feature | Description |
|---|---------|-------------|
| 1 | JWT Authentication | Token-based security |
| 2 | Redis Cache | Performance caching |
| 3 | Audit Logging | Track data changes |
| 4 | Soft Delete | Logical deletion |
| 5 | Multi-tenant | Multiple organizations |
| 6 | File Upload | File storage support |
| 7 | Excel Export | Data export functionality |

### Frontend Options

#### 1. Vue Version
| # | Version | Description |
|---|---------|-------------|
| 1 | Vue 2 | Legacy, stable |
| 2 | Vue 3 | Default, latest features, Composition API |

#### 2. UI Component Library
| # | Library | Description |
|---|---------|-------------|
| 1 | Element UI | For Vue 2, mature |
| 2 | Element Plus | For Vue 3, default, rich components |
| 3 | Ant Design Vue | Enterprise UI design |
| 4 | Naive UI | Modern, TypeScr
Полный SKILL.md на GitHub

Установить project-generator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_meta.json_skillhub_meta.jsonassets/tech-stack-config.jsonassets/templates/application-mysql.txtassets/templates/application-postgres.txtassets/templates/build.txtassets/templates/docker-compose-mysql.txtassets/templates/docker-compose-postgres.txtassets/templates/mybatis-plus-config.txtassets/templates/package-antdv.txtassets/templates/package-element-ui-vue2.txtassets/templates/package-naive.txtassets/templates/pom.txtassets/templates/vue-package.txtreferences/examples.mdreferences/specification.mdscripts/generate-backend.pyscripts/generate-frontend.py

FAQ

Что делает скилл project-generator?

Automatically transform requirement documents or natural language descriptions into complete full-stack projects (Java backend + Vue frontend) with MANDATORY interactive tech stack selection. Supports database schema design, REST API generation, CRUD operations, user authentication, and project scaffolding. ⚠️ TECH STACK SELECTION IS MANDATORY - Users MUST explicitly select or confirm each option, cannot skip by pressing Enter. Use when: (1) Converting PRD/requirements into working code, (2) Rapid prototyping of web applications, (3) Generating boilerplate projects from descriptions, (4) Bootstrapping CRUD applications, (5) Creating MVP projects from text specifications.

Как установить скилл project-generator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл project-generator запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить project-generator с