.claude/skills/review/SKILL.md
Review code changes in PRs or local diffs. Use when asked to review a PR, inspect changes, or provide feedback on code quality.
npx skillsauth add adobe/s3mock reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Read AGENTS.md (root + relevant module) before reviewing — especially DO/DON'T, Code Style, and Architecture sections.
Evaluate changes against these categories, in priority order:
S3Exception constants used correctly (not new exception classes)?2017-<current year> in every modified file@Autowired or field injection in production code@Mock / @InjectMocks / @ExtendWith(MockitoExtension::class) instead of @SpringBootTest + @MockitoBeanvar on public API propertiestestSomething naming in new or touched testscom.fasterxml.jackson.dataformat.xml.annotation usage such as @JacksonXmlRootElement; current DTOs should use com.fasterxml.jackson.annotation.JsonRootName / @JsonProperty together with XML-specific annotations from tools.jackson.dataformat.xml.annotation, such as @JacksonXmlProperty and @JacksonXmlElementWrapper, as needed*Test.kt): extend correct base class (ServiceTestBase, StoreTestBase, BaseControllerTest)?*IT.kt): extend S3TestBase, use givenBucket(testInfo)?internal class, AssertJ assertions?See docs/KOTLIN.md for the full list of idioms and anti-patterns to check (null safety, expression bodies, named it, when, isEmpty()/isNotEmpty(), string templates).
CHANGELOG.md updated for user-facing changes?README.md operations table updated for new S3 operations?Structure feedback as:
refactor skill for purely readability/style improvements rather than asking the author to add more codeFor each finding, reference the specific AGENTS.md rule or AWS API doc where applicable.
AGENTS.mdlint skill if style issues are foundCHANGELOG.md is updated if neededdevelopment
Write, update, or fix tests. Use when asked to test code, create test cases, or debug failing tests.
development
Fix code style issues and ensure linting passes. Use when asked to fix lint errors, formatting issues, or when ktlint or Checkstyle violations are reported.
development
Generate or update project documentation. Use when asked to document code, create docs, explain features, or fix formatting, wording, or style in existing documentation files.
development
Improve code readability, enforce idiomatic conventions, and enhance documentation quality. Use when asked to clean up code, improve naming, add meaningful comments, or align with Kotlin/project idioms.