Skip to content

Commit efe05a1

Browse files
devondragonclaude
andcommitted
Add CLAUDE.md with build commands and code style guidelines
🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a068355 commit efe05a1

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Spring User Framework - Developer Guide
2+
3+
## Commands
4+
- **Build**: `./gradlew build`
5+
- **Run Tests**: `./gradlew test`
6+
- **Run Single Test**: `./gradlew test --tests "com.digitalsanctuary.spring.user.service.UserServiceTest"`
7+
- **Test with JDK17**: `./gradlew testJdk17`
8+
- **Test with JDK21**: `./gradlew testJdk21`
9+
- **Test All JDKs**: `./gradlew testAll`
10+
- **Lint/Check**: `./gradlew check`
11+
- **Publish Locally**: `./gradlew publishLocal`
12+
13+
## Code Style Guidelines
14+
- **Imports**: Organize imports alphabetically, no wildcards
15+
- **Formatting**: Use proper indentation (4 spaces)
16+
- **Documentation**: Use JavaDoc for all public classes and methods
17+
- **Naming**: CamelCase for classes, lowerCamelCase for methods/variables
18+
- **Logging**: Use SLF4J (Lombok @Slf4j) with appropriate log levels
19+
- **Error Handling**: Use specific exceptions, provide meaningful messages
20+
- **Nullability**: Check for null before accessing potentially null references
21+
- **Services**: Use @RequiredArgsConstructor with final fields for DI

0 commit comments

Comments
 (0)