| name | code-review |
|---|---|
| description | PR checklist and optional Blocker/Major/Minor — use when reviewing or before submitting a PR |
- Reviewing another contributor’s pull request.
- Self-review before merge.
- Auditing API, security, or test coverage for a change set.
- Public API: New or changed methods on
Utils,GQL,DefaultOption, orinterfacesare necessary, Javadoc’d, and safe forcom.contentstack.sdk:utilsconsumers. - Backward compatibility: Breaking changes only with major version /
Changelog.mdplan. - Naming: Consistent with existing Utils and RTE/embedded terminology.
- JSON: Missing keys /
_embedded_itemsbehave predictably; no accidental NPEs or silent semantic changes. - Null safety:
JSONObject/JSONArrayaccess follows existingopt*/haspatterns.
- Dependencies:
pom.xmlchanges are justified; consider downstream Java SDK consumers. - SCA: Snyk / team process (
.github/workflows/sca-scan.yml) — address or defer with a ticket.
- Coverage: New behavior has tests and fixtures under
src/test/java/src/test/resourcesas needed. - Surefire: With
testFailureIgnore, verifytarget/surefire-reports/, not only exit code.
| Level | Examples |
|---|---|
| Blocker | Unapproved breaking public API; critical CVE; no tests for new behavior. |
| Major | Undocumented HTML/JSON behavior change; missing Javadoc on new public API; risky dependency bump. |
| Minor | Style, typos, internal refactor with equivalent coverage. |
skills/testing/SKILL.md— test conventions and Surefire.skills/contentstack-utils-java/SKILL.md— API boundaries.AGENTS.md— stack and commands.