senior-java
Make and apply targeted git patches to a Java/Maven repo, handle Maven dependency-resolution build breaks (e.g., missing SNAPSHOT artifacts), and rebuild with the required Maven flags.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- senior-java
- tags
- [ "java", "spring-boot", "spring-framework", "microservices", "jpa", "hibernate", "spring-cloud", "webflux", "enterprise", "cloud-native", "maven", "gradle", "api", "backend" ]
- stats
- { "stars": 0, "rating": 0, "reviews": 0, "downloads": 0 }
- title
- Senior Java Skill Package
- author
- Claude Skills Team
- domain
- engineering
- created
- 1765843200000
- license
- MIT
- updated
- 1765843200000
- version
- v1.0.0
- examples
- [ { "input": "python scripts/spring_project_scaffolder.py my-service --type microservice --db postgresql", "title": "Spring Boot Project Scaffolding", "output": "Complete Spring Boot 3.x project with layered architecture, Docker setup, and CI/CD pipeline" }, { "input": "python scripts/entity_generator.py User --fields 'id:Long,email:String,name:String,createdAt:LocalDateTime'", "title": "Entity Generation", "output": "JPA entity with repository, service, controller, and DTO classes" } ]
- featured
- false
- verified
- true
- frequency
- Daily for enterprise development teams
- subdomain
- java-development
- use-cases
- [ "Building enterprise Spring Boot applications with production-ready configuration", "Designing microservices with Spring Cloud and service discovery", "Implementing JPA/Hibernate data layers with optimized queries", "Setting up Spring Security with OAuth2 and JWT authentication", "Performance tuning JVM applications and reactive WebFlux systems" ]
- difficulty
- advanced
- tech-stack
- [ "Java 17/21 LTS", "Spring Boot 3.x", "Spring Framework 6.x", "Spring Cloud", "Spring Security", "Spring Data JPA", "Hibernate ORM", "Maven/Gradle", "JUnit 5", "Mockito", "Docker", "Kubernetes" ]
- time-saved
- 60%+ on project scaffolding, 40% on security implementation
- description
- Make and apply targeted git patches to a Java/Maven repo, handle Maven dependency-resolution build breaks (e.g., missing SNAPSHOT artifacts), and rebuild with the required Maven flags.
- contributors
- []
- dependencies
- { "assets": [], "scripts": [ "spring_project_scaffolder.py", "dependency_analyzer.py", "entity_generator.py", "api_endpoint_generator.py", "security_config_generator.py", "performance_profiler.py" ], "references": [ "spring-boot-best-practices.md", "microservices-patterns.md", "jpa-hibernate-guide.md", "spring-security-reference.md", "java-performance-tuning.md" ] }
- compatibility
- Python 3.8+; platforms: macos, linux, windows
- related-agents
- [ "cs-java-engineer" ]
- related-skills
- [ "senior-backend", "senior-architect" ]
- orchestrated-by
- [ "cs-java-engineer" ]
- related-commands
- []
02 资源文件 24
- 资产文件assets/.gitkeep—
- 参考文档HOW_TO_USE.md2.3 KB
- 参考文档references/java-performance-tuning954 B
- 参考文档references/java-performance-tuning.md9.0 KB
- 参考文档references/jpa-hibernate-guide950 B
- 参考文档references/jpa-hibernate-guide.md12.2 KB
- 参考文档references/microservices-patterns953 B
- 参考文档references/microservices-patterns.md10.7 KB
- 参考文档references/spring-boot-best-practices957 B
- 参考文档references/spring-boot-best-practices.md15.0 KB
- 参考文档references/spring-security-reference956 B
- 参考文档references/spring-security-reference.md14.0 KB
- 脚本scripts/api_endpoint_generator3.2 KB
- 脚本scripts/api_endpoint_generator.py6.4 KB
- 脚本scripts/dependency_analyzer3.2 KB
- 脚本scripts/dependency_analyzer.py11.5 KB
- 脚本scripts/entity_generator3.2 KB
- 脚本scripts/entity_generator.py24.4 KB
- 脚本scripts/performance_profiler3.2 KB
- 脚本scripts/performance_profiler.py11.6 KB
- 脚本scripts/security_config_generator3.2 KB
- 脚本scripts/security_config_generator.py13.7 KB
- 脚本scripts/spring_project_scaffolder3.2 KB
- 脚本scripts/spring_project_scaffolder.py36.6 KB
03 SKILL.md 正文
Steps
- Work from
/root/druidand keep changes reviewable:- Use
git statusandgit --no-pager diffto confirm the exact edits to be patched.
- Use
- When using the shell tool, do not submit multiple separate commands in one call unless they are explicitly chained (e.g.,
cmd1 && cmd2)—otherwise run them as separate tool calls. - If the Maven build fails due to an unavailable SNAPSHOT artifact (e.g.,
org.apache.apache.resources:apache-jar-resource-bundle:1.5-SNAPSHOTused bymaven-remote-resources-plugin):- Locate the exact
pom.xmlentry referencing the SNAPSHOT. - Replace it with a released version available from Maven Central (e.g.,
1.5).
- Locate the exact
- Create patch files under
/root/patches/(one patch per logical change) directly from the git diff, e.g.:git --no-pager diff > /root/patches/0001-...patch- Verify with
ls -l /root/patches/.
- Rebuild using the exact required command (skipping checks/tests and excluding web-console), and confirm
BUILD SUCCESS:mvn clean package -DskipTests -Dcheckstyle.skip=true -Dpmd.skip=true -Dforbiddenapis.skip=true -Dspotbugs.skip=true -Danimal.sniffer.skip=true -Denforcer.skip=true -Djacoco.skip=true -Ddependency-check.skip=true -pl '!web-console' -pl indexing-service -am
- Confirm the expected JARs exist under the relevant module
target/directories (processing/core/server/indexing-service) after the successful build.
Expected Result
Patch files are present in /root/patches/, the repository at /root/druid/ builds successfully with the specified Maven invocation, and the rebuilt artifacts exist in the expected target/ paths.
04 同仓库更多 Skills
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms