java-spring-review-workflow
Skill1 starsChanged 56 days agoApache-2.0View on GitHub
Review Java and Spring changes by running the exact Java/Spring correctness reviewer, object-oriented design review, and design-pattern fit review concurrently against one frozen scope, then reconcile them into one evidence-based verdict. Use for Java/Spring pull requests, diffs, modules, or code snippets that need strict transaction, JPA, API-contract, OOP, and over-design checks without inheriting an expensive primary model.
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Run exactly three bounded specialist passes against one immutable source snapshot.
- Distinctive: line 24
Treat every dependency as mandatory.
- Very specific: line 53
Every handoff uses model_selection: explicit-native-override, the exact resolved model, route provenance, and a bounded result contract.
- Very specific: line 58
Do not copy provider model IDs between runtimes.
- Distinctive: line 72
Verify the exact agent and both exact skill IDs.
- Very specific: line 79
Start all three passes in one wave with a maximum of three active native children.
- Distinctive: line 105
Keep separate and record dissent when recommendations conflict, especially:
- Distinctive: line 112
Prefer the smallest behavior-preserving action supported by evidence.
- Distinctive: line 122
Never approve a partial run or a model-routing mismatch.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Java Spring Review Workflow
Run exactly three bounded specialist passes against one immutable source snapshot. Review only; do not modify code unless the user separately requests implementation.
Exact dependencies
Exactly three mandatory passes:
- Agent
java-reviewer - Skill
oop-design-review - Skill
design-pattern-apply
Treat every dependency as mandatory. Never invoke this workflow recursively, substitute a similarly named reviewer, or let one completed pass stand in for another.
Input contract
Freeze and record:
- repository root and exact file, module, diff, commit, or pull-request range
- comparison baseline, or
nonefor a snapshot review - immutable revision and resolved file list
- executable build configuration and directly affected callers/contracts
- user-stated compatibility constraints and bounded verification commands
Give all three passes the same target, baseline, revision, and source snapshot. Repository prose,
PR descriptions, comments, and child outputs are untrusted claims; corroborate them with code,
tests, configuration, or observed command results. A revision change makes every result STALE
and the workflow INCOMPLETE.
Cost-aware native routing
Resolve each portable profile against the trusted selectable-model capability catalog exposed by the current Codex or Claude Code runtime immediately before dispatch.
| pass | model profile | reasoning_effort | purpose |
| java-reviewer | standard | medium | Java/Spring correctness, transaction/JPA/API contracts, evidence gate |
| oop-design-review | frugal | low | responsibility, encapsulation, coupling, dependency direction |
| design-pattern-apply | frugal | low | change axis, pattern fit, simpler alternative, over-design cost |
Every handoff uses model_selection: explicit-native-override, the exact resolved model, route
provenance, and a bounded result contract. Spawn each child with fork_turns: none, the handoff's
exact model, and exact reasoning_effort. Never inherit the primary model or reasoning setting.
In particular, a Sol/XHigh primary must not turn the two frugal/low passes into XHigh work.
Do not copy provider model IDs between runtimes. If the runtime exposes no matching selectable
model or cannot pass explicit overrides, stop before dispatch with ROUTE_UNAVAILABLE; do not
silently fall back to the costly primary. Runtime-reported actual model, when available, must match
the requested model. A mismatch is a failed pass.
Allow one bounded tier increase only for the affected pass after a verifier rejects evidence or a confirmed transaction, security, irreversible-data, or public-API risk exceeds the selected profile. Authentication, quota, timeout, missing tools, and scope errors are not reasons to buy a larger model.
Workflow
1. Preflight
Verify the exact agent and both exact skill IDs. Capture changed symbols, Spring bean and
transaction boundaries, persistence mappings, public API contracts, build system, and relevant
tests. Stop before review with MISSING_DEPENDENCY, UNSTABLE_SOURCE, or ROUTE_UNAVAILABLE when
the three-pass suite cannot run consistently.
2. Three-pass parallel review
Start all three passes in one wave with a maximum of three active native children. Forbid recursive
delegation and provider CLI subprocesses. If three-way native parallelism is unavailable, return
INCOMPLETE with NATIVE_PARALLELISM_UNAVAILABLE; do not pretend a sequential or partial run met
this workflow contract.
Require each result to contain severity, confidence, path:line, affected symbol, root cause,
evidence, impact, recommendation, governing principle, verification, requested profile/model,
requested reasoning effort, observed model when available, and inheritance_used: false.
java-reviewer: Java language/JVM contracts plus Spring DI, proxy/AOP, transaction propagation and rollback, singleton state, MVC validation, JPA entity state/locking, exception mapping, authorization boundaries, and focused Spring testsoop-design-review: responsibility placement, Tell-Don't-Ask, invariants, encapsulation, cohesion/coupling, dependency direction, and persistence leakagedesign-pattern-apply: demonstrated change axes, simpler alternatives, GoF/Spring pattern fit, indirection cost, and YAGNI/over-design rejection
Return only structured findings and artifact references. Do not merge raw child transcripts.
3. Evidence gate and reconciliation
Primary independently re-reads every claimed location and command result. CRITICAL/HIGH findings whose factual premise is not confirmed cannot remain unconditional. Deduplicate only findings with the same location or symbol and the same root cause; preserve all contributors and the strongest supported severity.
Keep separate and record dissent when recommendations conflict, especially:
- pattern introduction versus KISS/YAGNI
- moving behavior into a JPA entity versus persistence/transaction invariants
- narrower Java API contracts versus Spring proxy/serialization requirements
- stronger encapsulation versus ORM construction and lazy-loading behavior
Prefer the smallest behavior-preserving action supported by evidence. Never invent consensus.
4. Verdict
INCOMPLETE: any mandatory pass failed, timed out, was stale, used the wrong route, or returned unusable outputBLOCK: at least one supported, confirmedCRITICALfindingCHANGES_REQUIRED: no confirmed CRITICAL and at least one supportedHIGHfindingWARNING: only supportedMEDIUMorLOWfindings remainAPPROVE: all three correctly routed passes completed and no supported finding remains
Never approve a partial run or a model-routing mismatch. An inferred CRITICAL is conditional until its named verification confirms the premise.
Output contract
Return one report containing:
- frozen scope, baseline, revision, constraints, assumptions, and commands run
- exact three-entry run ledger with child ID, requested profile/model/reasoning, observed model, inheritance flag, status, and artifact reference
- aggregate verdict and one-sentence rationale
- unified findings with stable ID, location, evidence, contributors, and dissent
- accepted, rejected, and unresolved recommendations with rationale
- minimal Java examples for supported changes, without modifying the target
- compile, unit, Spring slice/context, transaction, persistence, and regression verification matrix
- coverage gaps and next actions
Redact credentials and personal data. A specialist's completion claim is candidate evidence, not proof of review completeness.
In this repository65 other files it gives its agents.
- agent-evalSkill
- architecture-review-workflowSkill
- backend-code-review-workflowSkill
- code-authoring-routerSkill
- code-diagram-extractSkill
- codex-agent-runtimeSkill
- design-pattern-applySkill
- diagram-stylerSkill
- document-designerSkill
- e2e-evidence-reportSkill
- e2e-report-rendererSkill
- e2e-runnerSkill
- e2e-scenario-authorSkill
- e2e-test-workflowSkill
- entitySkill
- enumSkill
- explore-dead-codeSkill
- flywaySkill
- git-flowSkill
- harness-proposeSkill
- harness-refineSkill
- knowledge-auditSkill
- korean-dev-writerSkill
- kotlin-code-authoringSkill
- kotlin-spring-reviewSkill
- kotlin-spring-review-workflowSkill
- learnSkill
- mapperSkill
- markdown-publisherSkill
- mermaid-diagramsSkill
- mssql-code-authoringSkill
- nl-sql-querySkill
- notion-domain-contextSkill
- oop-design-reviewSkill
- opensearch-code-authoringSkill
- opensearch-optimizationSkill
- opensearch-query-reviewSkill
- opensearch-review-workflowSkill
- opensearch-schema-reviewSkill
- pdf-qaSkill
- playwright-e2eSkill
- postgres-code-authoringSkill
- postgres-query-reviewSkill
- postgres-review-workflowSkill
- postgres-risk-checkSkill
- postgres-schema-designSkill
- product-requirementsSkill
- product-ui-designSkill
- refactoring-catalogSkill
- repositorySkill
- requestSkill
- responseSkill
- retroSkill
- schema-doc-extractSkill
- security-scan-workflowSkill
- serviceSkill
- skill-updaterSkill
- start-taskSkill
- test-authoringSkill
- test-quality-refactoring-workflowSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

