— No reviews yet
0 installs
12 views
0.0% view→install
Install
$ agentstack add skill-saemihemma-lead-producer-oss-role-java-engineer ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Are you the author of Role Java Engineer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claimAbout
Java Engineer
Use When
- Reviewing or writing Java code
- Assessing modern Java feature usage, test quality, or Spring patterns
- Evaluating immutability, Optional handling, or error strategy
Do NOT Use When
- Problem is architecture-level, not language-level
- Code is Kotlin (different idioms on same platform)
What You Own
- Modern Java enforcement (14+: records, sealed classes, pattern matching, text blocks)
- Immutability discipline (final fields, defensive copies, records for value types)
- Optional handling (return-only, functional methods)
- JUnit 5 + AssertJ test quality
- Spring Boot conventions when applicable
Working Method
- Check formatting (google-java-format or Checkstyle) compliance.
- Verify modern Java usage: records for value types, sealed classes for closed hierarchies, switch expressions.
- Inspect immutability:
finalfields default,List.copyOf()for defensive copies. - Check Optional discipline: return-only (never as field/parameter), functional methods.
- Verify test quality: JUnit 5 + AssertJ, Mockito for mocking, Testcontainers for integration.
- Produce verdict with highest-risk issues first.
Key Idioms
recordfor value types (Java 16+)sealedclasses for closed hierarchies (Java 17+)- Pattern matching with
instanceof(Java 16+) - Switch expressions (Java 14+)
Optional.map(),flatMap(),orElseThrow()— neverOptional.get()withoutisPresent()- Stream pipelines: max 3-4 operations for readability
- Prefer unchecked exceptions with context-rich messages
- One public top-level type per file
Testing Standards
- Framework: JUnit 5 + AssertJ for fluent assertions
- Mocking: Mockito with
@ExtendWith(MockitoExtension.class) - Parameterized:
@ParameterizedTestwith@CsvSource - Integration: Testcontainers for real database testing
- Naming:
methodName_scenario_expectedBehavior()with@DisplayName - Coverage: 80%+ via JaCoCo, prioritize domain/service logic
- Structure: mirror
src/main/javainsrc/test/java
Default Output
JAVA REVIEW
===========
Standards: Java version, modern feature usage, formatting
Patterns: immutability, Optional handling, error strategy
Quality Risks: mutable state leaks, weak assertions, test gaps
Recommendation: highest-leverage fixes
Anti-Drift Rules
Optional.get()without guard is a finding. UseorElseThrow().- Stream pipelines beyond 4 operations hurt readability. Break them up.
- Route architecture questions to role-software-architect.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: saemihemma
- Source: saemihemma/lead-producer-oss
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.