CRITICAL: This skill should ONLY be triggered when the user explicitly mentions MyBatis-Plus or mybatis-plus-generator.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionmybatis-plus-generatorExecute the skills CLI command in your project's root directory to begin installation:
Fetches mybatis-plus-generator from teachingai/full-stack-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate mybatis-plus-generator. Access via /mybatis-plus-generator in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
259
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
259
stars
CRITICAL: This skill should ONLY be triggered when the user explicitly mentions MyBatis-Plus or mybatis-plus-generator.
ALWAYS use this skill when the user mentions:
Trigger phrases include:
DO NOT trigger this skill for:
Supported architectures:
Supported languages:
Supported component types:
CRITICAL: This skill should ONLY be triggered when the user explicitly mentions MyBatis-Plus or mybatis-plus-generator. Do NOT trigger for generic code generation requests without MyBatis-Plus context.
This skill follows a systematic 8-step workflow:
CRITICAL: Before generating any code, you MUST collect the following configuration:
Database Information:
Global Configuration:
src/main/java)io.swagger.annotations.*)io.swagger.v3.oas.annotations.*)Package Configuration:
com.example.app)entity)mapper)service)service.impl)controller)dto)vo)bo)Strategy Configuration:
IMPORTANT: API Documentation Type Selection:
When user enables API documentation, you MUST ask:
请选择 API 文档类型:
- [ ] Swagger 2
- 使用注解:@ApiModel, @ApiModelProperty, @Api, @ApiOperation
- 依赖:springfox-swagger2, springfox-swagger-ui
- 适用于:Spring Boot 2.x 项目
- [ ] OpenAPI 3
- 使用注解:@Schema, @Tag, @Operation, @Parameter
- 依赖:springdoc-openapi-ui
- 适用于:Spring Boot 2.2+ 和 Spring Boot 3.x 项目
Wait for user confirmation before proceeding.
Output: A configuration summary showing all collected information, including API documentation type.
CRITICAL: You MUST ask the user about the architecture type to determine which objects to generate.
Present architecture options:
请选择项目架构类型:
- [ ] 传统 MVC (Model-View-Controller)
- 生成:Entity, Mapper, Service, ServiceImpl, Controller
- [ ] DDD (领域驱动设计)
- 生成:Entity, Mapper, Service, ServiceImpl, Controller, DTO, VO, BO
- [ ] 分层架构 (Layered Architecture)
- 生成:Entity, Mapper, Service, ServiceImpl, Controller
- [ ] 整洁架构 (Clean Architecture)
- 生成:Entity, Repository, UseCase, Controller, DTO
- [ ] 自定义架构
- 请指定需要生成的对象类型
Wait for user confirmation before proceeding.
IMPORTANT: Directory Mapping Based on Architecture
After determining the architecture type, you MUST identify the correct output directories for each generated object.
CRITICAL Steps:
com.example.order)reference/architecture-directory-quick-reference.md for lookup tablereference/architecture-directory-mapping-guide.md for complete mapping rulesCommon Path Examples:
For user table with base package com.example.order:
com/example/order/entity/User.java, Controller → com/example/order/controller/UserController.javacom/example/order/domain/model/aggregate/user/User.java, Controller → com/example/order/interfaces/web/controller/UserController.javacom/example/order/domain/model/entity/User.java, Controller → com/example/order/infrastructure/adapter/inbound/web/controller/UserController.javacom/example/order/domain/entity/User.java, Controller → com/example/order/infrastructure/web/controller/UserController.javacom/example/order/domain/model/entity/User.java, Controller → com/example/order/adapter/web/controller/UserController.javaCRITICAL: Always confirm the exact directory structure with the user if the project structure is unclear. Ask: "请确认项目的目录结构,以便我将生成的代码放在正确的位置。"
CRITICAL: Ask user for functional requirements to understand what methods need to be generated.
Ask the user:
请描述此次生成代码的功能需求:
例如:
- 用户管理:需要根据邮箱查询用户、根据用户名查询用户、用户登录验证
- 订单管理:需要订单统计、订单分页查询、订单状态更新
- 商品管理:需要商品搜索、商品分类查询、库存管理
请详细描述每个表需要哪些功能,我会根据需求自动分析需要生成的方法。
After user provides requirements:
Analyze requirements to identify:
For each table, identify:
Output: A requirements analysis showing:
CRITICAL: Ask user about programming language.
请选择编程语言:
- [ ] Java
- [ ] Kotlin
Wait for user confirmation before proceeding.
Note: Templates in templates/ directory support both Java and Kotlin. Use appropriate templates based on user's choice.
CRITICAL: After collecting all information, create a detailed todo list.
For each table, generate a structured todo list:
## Todo List: MyBatis-Plus Code Generation
### Table: user
#### Entity 层
- [ ] User.java - 实体类
- [ ] 类注释
- [ ] 字段定义(id, username, email, password, status, createTime, updateTime)
- [ ] 字段注释
#### Mapper 层
- [ ] UserMapper.java - 数据访问接口
- [ ] 类注释
- [ ] 基础 CRUD 方法(继承 BaseMapper)
#### Service 层
- [ ] UserService.java - 服务接口
- [ ] 类注释
- [ ] saveUser() - 保存用户
- [ ] findById() - 根据ID查询
- [ ] updateUser() - 更新用户
- [ ] deleteById() - 删除用户
- [ ] findByEmail() - 根据邮箱查询(自定义方法)
- [ ] findByUsername() - 根据用户名查询(自定义方法)
#### ServiceImpl 层
- [ ] UserServiceImpl.java - 服务实现类
- [ ] 类注释
- [ ] 实现所有 Service 接口方法
- [ ] 方法注释和实现骨架
#### Controller 层
- [ ] UserController.java - 控制器
- [ ] 类注释
- [ ] createUser() - 创建用户
- [ ] getUserById() - 查询用户
- [ ] updateUser() - 更新用户
- [ ] deleteUser() - 删除用户
- [ ] getUserByEmail() - 根据邮箱查询(自定义接口)
#### DTO 层(如果架构需要)
- [ ] UserCreateDTO.java - 创建用户DTO
- [ ] UserUpdateDTO.java - 更新用户DTO
- [ ] UserQueryDTO.java - 查询用户DTO
#### VO 层(如果架构需要)
- [ ] UserVO.java - 用户视图对象
### Table: order
...
Important:
CRITICAL: Generate code files with intelligent comments based on table structure and requirements.
Order of generation:
For each object:
templates/ directory based on object type and languageAfter generating each object:
[x]Code Generation Standards: See reference/code-generation-standards.md for detailed requirements on comments, templates, and code quality.
CRITICAL: Provide real-time progress updates during code generation.
Update progress after:
Progress Format: See reference/progress-and-statistics-formats.md for detailed progress update format and examples.
CRITICAL: After all code generation completes, output comprehensive statistics.
Statistics Format: See reference/progress-and-statistics-formats.md for detailed statistics format including:
IMPORTANT: Generated code must include intelligent, context-aware comments, not just template placeholders.
Key Requirements:
Detailed Standards: See reference/code-generation-standards.md for:
CRITICAL: Use these reference documents for detailed guidance:
reference/architecture-directory-mapping-guide.md - Complete directory mapping guide for all architectures (CRITICAL)reference/architecture-directory-quick-reference.md - Quick lookup table for directory mappingsreference/code-generation-standards.md - Detailed comment standards, template usage, and code quality requirementsreference/template-variables.md - Complete list of template variablesreference/swagger-annotations-guide.md - Swagger 2 vs OpenAPI 3 annotation comparisonreference/progress-and-statistics-formats.md - Progress update and statistics output formatsreference/mybatis-plus-generator-guide.md - MyBatis-Plus Generator usage guideSee the examples/ directory for complete examples:
examples/mvc-architecture-example.md - MVC architecture generation exampleexamples/ddd-architecture-example.md - DDD architecture generation exampleexamples/full-workflow-example.md - Complete workflow exampleexamples/architecture-directory-mapping.md - Directory mapping examples for different architecturesexamples/swagger-annotations-example.md - Swagger 2 vs OpenAPI 3 annotation examplesTemplates are located in Make data-driven prioritization decisions faster Draft PRDs, status updates, and stakeholder presentations Example Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement Save 3-5 hours/week on communication overhead Prerequisites Time Estimate 30-60 minutes to see productivity improvements Steps Common Pitfalls ✓ Do ✗ Don't 💡 Pro Tips ✓ Use when Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work. ✗ Avoid when Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed. mattpocock/skills parcadei/continuous-claude-v3 cursor/plugins ailabs-393/ai-labs-claude-skills pproenca/dot-skills mattpocock/skills Keeps context tight: mybatis-plus-generator is the kind of skill you can hand to a new teammate without a long onboarding doc. mybatis-plus-generator is among the better-maintained entries we tried; worth keeping pinned for repeat workflows. I recommend mybatis-plus-generator for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area. mybatis-plus-generator reduced setup friction for our internal harness; good balance of opinion and flexibility. mybatis-plus-generator has been reliable in day-to-day use. Documentation quality is above average for community skills. Solid pick for teams standardizing on skills: mybatis-plus-generator is focused, and the summary matches what you get after install. Solid pick for teams standardizing on skills: mybatis-plus-generator is focused, and the summary matches what you get after install. Registry listing for mybatis-plus-generator matched our evaluation — installs cleanly and behaves as described in the markdown. We added mybatis-plus-generator from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront. Registry listing for mybatis-plus-generator matched our evaluation — installs cleanly and behaves as described in the markdown. showing 1-10 of 35templates/ directory, using FreeMarker syntax (.ftl files), strictly following ✓Stakeholder Communication
✓Implementation Guide
Best Practices
When to Use This
Learning Path
Related Skills
grill-me
648Productivitysame categorypremortem
214Productivitysame categorydeslop
159Productivitysame categorytravel-planner
136Productivitysame categoryframer-motion
131Productivitysame categorywrite-a-prd
128Productivitysame categoryReviews
4.7★★★★★35 reviewsCChaitanya Patil★★★★★Dec 16, 2024LLiam Menon★★★★★Dec 12, 2024IIsabella Chawla★★★★★Dec 4, 2024OOlivia Desai★★★★★Nov 23, 2024PPiyush G★★★★★Nov 7, 2024LLiam Perez★★★★★Nov 3, 2024SShikha Mishra★★★★★Oct 26, 2024ZZara Ghosh★★★★★Oct 14, 2024RRahul Santra★★★★★Sep 17, 2024TTariq Flores★★★★★Sep 17, 20241 / 4Discussion
Comments — not star reviews