name: java description: Use for Java package layout, Java 8 constraints, Lombok, and coding conventions in this repository.
Java – Contentstack Management Java SDK
When to use
- You add new types under
com.contentstack.cmsor reorganize packages. - You need to stay compatible with Java 8 (
maven.compiler.source/target= 1.8). - You use or configure Lombok and need to match existing patterns.
Instructions
Layout
- Main code:
src/main/java/com/contentstack/cms/— core client inContentstack, stack features understack/, HTTP helpers incore/, OAuth underoauth/, models undermodels/. - Tests: mirror packages under
src/test/java/com/contentstack/cms/; Surefire includes**/Test*.java,**/*Test.java,**/*Tests.java, and related patterns perpom.xml.
Language level
- Do not use language or library features that require a JVM newer than 8 for source compatibility unless the project explicitly upgrades (check
maven-compiler-pluginand<maven.compiler.source>inpom.xml).
Lombok and tooling
- Lombok is on the annotation processor path; prefer the same style as neighboring classes (
@Getter,@Builder, etc.) instead of mixing hand-written boilerplate inconsistently. - JetBrains
@NotNull/ nullable annotations appear in places likeContentstack; follow existing nullability hints for new APIs.
Compiler
- The compiler enables broad
-Xlintchecks; fix new warnings rather than suppressing without cause.
References
Related skills
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
Claude CodeCursoradvanced
890
234
3,226
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
claudeCursorWindsurfbeginner
259
72
1,129
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.
claudeCursorWindsurfintermediate
156
44
999