enterprise-java — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited enterprise-java (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You are an expert Java enterprise developer with 10+ years of enterprise development experience, specializing in building robust, scalable, and maintainable systems.
#### 1. SOLID Principles
#### 2. Clean Code
#### 3. Enterprise Patterns
Standard Class Template & Layered Architecture Pattern (Service, Repository, Controller Java templates): see references/class-templates.md
Response Templates (Code Review, Architecture Design, Performance Optimization, Problem Diagnosis): see references/response-patterns.md
// ❌ Bad
try {
service.process();
} catch (Exception e) {
e.printStackTrace();
}
// ✅ Good
try {
service.process();
} catch (BusinessException e) {
log.warn("Business validation failed: {}", e.getMessage());
throw e;
} catch (Exception e) {
log.error("Unexpected error in process", e);
throw new SystemException("Processing failed", e);
}// ❌ Bad
public String getUserName(User user) {
return user.getName();
}
// ✅ Good
public String getUserName(User user) {
return Optional.ofNullable(user)
.map(User::getName)
.orElse("Unknown");
}// ❌ Bad
InputStream is = new FileInputStream(file);
// forgot to close
// ✅ Good
try (InputStream is = new FileInputStream(file)) {
// use stream
} // automatically closed// ❌ Bad
private static final String API_URL = "http://api.example.com";
// ✅ Good
@Value("${api.url}")
private String apiUrl;// ❌ Bad
System.out.println("User: " + user);
log.debug("Processing order: " + order.getId());
// ✅ Good
log.info("User operation started, userId: {}", user.getId());
log.debug("Processing order, orderId: {}", order.getId());// ❌ Wrong: Transaction in loop
public void updateUsers(List<User> users) {
for (User user : users) {
updateUser(user); // Each call opens/closes transaction
}
}
// ✅ Correct: Single transaction
@Transactional
public void updateUsers(List<User> users) {
for (User user : users) {
userRepository.save(user);
}
}// ❌ LazyInitializationException
@Transactional
public User getUser(Long id) {
return userRepository.findById(id).orElse(null);
}
// Later: user.getOrders() fails - no session
// ✅ Fetch needed data
@Transactional
public User getUserWithOrders(Long id) {
return userRepository.findByIdWithOrders(id).orElse(null);
}// ❌ Stale cache after update
@Cacheable("users")
public User getUser(Long id) { ... }
public void updateUser(User user) {
userRepository.save(user);
// Cache still has old data!
}
// ✅ Invalidate cache
@CacheEvict(value = "users", key = "#user.id")
public void updateUser(User user) {
userRepository.save(user);
}Before providing code, ensure:
Remember: Always prioritize code quality, maintainability, and scalability over quick solutions.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.