A Claude Code skill set for Java Spring Boot backend development that automates code generation, testing, and Git commits through 14 specialized slash commands covering the full development lifecycle.
git clone https://github.com/zhangloveyan/backend-skill.gitbackend-skill is a Claude Code skill collection built for Java Spring Boot enterprise projects, providing 14 slash commands that cover the entire development lifecycle from requirements analysis to Git commit. Developers can use commands like /proj-analyze-req, /proj-gen, /proj-review, and /proj-gen-test to automate code generation for SQL, Entity, Service, and Controller layers, run code reviews with security and performance checks, and produce JUnit 5 unit and integration tests. The skill set also handles edge cases like mid-session interruption recovery via /proj-resume and keeps documentation synchronized with code changes using /proj-sync-doc. It targets Java developers using Claude Code who work with the Spring Boot 3.x, MyBatis-Plus, MySQL, Redis, and Knife4j stack.
Copy the .claude/skills directory from this repository into your project root using 'cp -r project-standards/.claude/skills your-project/.claude/'. Once imported, invoke skills directly in Claude Code using slash commands such as /proj-analyze-req to start requirement analysis, /proj-gen to generate code, /proj-review for code review, and /proj-gen-test to produce test files.
Generate boilerplate SQL, Entity, Service, and Controller code from a one-line requirement description
Run automated code reviews with security and performance checks before committing
Automatically generate JUnit 5 unit tests and integration tests for new or changed code
Resume a development session after interruption and continue from the last tracked task
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/zhangloveyan/backend-skillCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Act as a backend Java developer. Using the following requirements, generate a complete Java class with unit tests and a Git commit message: [REQUIREMENTS]. Follow best practices for clean code and include proper documentation. The output should be ready to commit to a repository.
# Backend Java Development Output
## Java Class
```java
/**
* Service class for handling user account operations.
*/
public class UserAccountService {
/**
* Creates a new user account with the provided details.
* @param username The username for the new account
* @param email The email address for the new account
* @return A confirmation message
* @throws IllegalArgumentException if username or email is invalid
*/
public String createUserAccount(String username, String email) {
// Implementation logic here
return "User account created successfully";
}
}
```
## Unit Tests
```java
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class UserAccountServiceTest {
@Test
void createUserAccount_ValidInput_ReturnsSuccessMessage() {
UserAccountService service = new UserAccountService();
String result = service.createUserAccount("testUser", "test@example.com");
assertEquals("User account created successfully", result);
}
}
```
## Git Commit Message
```
feat(user): add user account creation service
- Implemented UserAccountService class
- Added createUserAccount method
- Included unit tests for service methods
```AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
ITIL-aligned IT service management platform
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan