一键导入
review
Self-review checklist for a CarbonJ change before opening or merging a PR. Aligns with what CI enforces.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Self-review checklist for a CarbonJ change before opening or merging a PR. Aligns with what CI enforces.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Structured triage workflow for CarbonJ bugs — reproduce, isolate to a pipeline phase (ingest / accumulate / store / query), then write a failing test before patching.
Verify and auto-fix the BSD-3-Clause license headers that the build enforces. CarbonJ has no checkstyle/spotless — license headers are the only enforced static check.
Build the bootJar and start CarbonJ locally on the default `dev` profile.
Run CarbonJ tests. Defaults to the service module's full unit+integration suite. Pass an FQCN (e.g. `com.demandware.carbonj.service.db.points.SomeTest`) or pattern to scope.
基于 SOC 职业分类
| name | review |
| description | Self-review checklist for a CarbonJ change before opening or merging a PR. Aligns with what CI enforces. |
Run through this before pushing or requesting review.
./gradlew build printCoverageReport
This mirrors CI (.github/workflows/gradle.yml). If this is green, CI will be green.
For a faster loop while iterating:
./gradlew :carbonj.service:test
.java file under either module?carbonj.service/src/main/docker/files/?If yes:
./gradlew licenseFormat && ./gradlew licenseMain
db/?
60s24h, 5m7d, 30m2y) unchanged?cfg* class and documented in application.yml (with a default that matches existing behavior)?service.args, relay-rules.conf, blacklist.conf, or other files in src/main/docker/files/? Confirm Dockerfile still picks them up./_dw/rest/carbonj/... or Graphite servlets unchanged? If changed, update admin-api.md / delete-api.md.src/main/docker/files/*.py / *.sh reads? Update the script in the same PR.master (releases run from master only).git status
git diff --stat origin/master...HEAD
Nothing unintended staged.