一键导入
review-pr
Reviews a PR against BTP Manager conventions (reconciler patterns, conditions API, state machine, test structure, etc.).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reviews a PR against BTP Manager conventions (reconciler patterns, conditions API, state machine, test structure, etc.).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | review-pr |
| description | Reviews a PR against BTP Manager conventions (reconciler patterns, conditions API, state machine, test structure, etc.). |
Review a pull request with BTP Manager-specific context in mind.
/review-pr <PR number or URL>
Examples:
/review-pr 1234/review-pr https://github.com/kyma-project/btp-manager/pull/1234Fetch the PR diff and review it through the lens of BTP Manager conventions. Structure your review as:
One paragraph: what the PR does and whether the approach makes sense.
List only real problems — not style nits unless they violate a hard rule. For each issue:
blocking | suggestionEvaluate every item below. Only print items that have a note or failure — skip items that pass cleanly. If everything passes, write a single line: BTP Manager checklist: all clear.
Use this format for printed items only:
Reconciler / state machine (if controllers/ is touched):
Handle*State method dispatched from Reconcile()UpdateBtpOperatorStatus() — not direct client patchesoperator.kyma-project.io/btp-manager) is only added/removed in the correct lifecycle phasesprocessingStateRequeueInterval, readyStateRequeueInterval) — no hardcoded time.Duration literalsConditions (if internal/conditions/ or status conditions are touched):
internal/conditions/conditions.gomake test-docs would passResource management (if module-resources/ or manifest handling is touched):
module-resources/apply/, resources to delete go in module-resources/delete/client.Apply / client.Delete calls that bypass the manifest reconciliation pathTests:
testify)btpoperator_controller_<concern>_test.go)controllers/suite_test.go — no duplicate envtest bootstrappingmake test would pass (envtest env vars sourced from scripts/testing/set-env-vars.sh)Code generation (if api/v1alpha1/ or controller markers are touched):
make generate and make manifests were run — generated files (zz_generated.deepcopy.go, CRD YAMLs) are up to dateDocumentation:
CLAUDE.md updated if project structure, conventions, or build/test workflow changedGeneral:
Approve / Request changes / Comment — with one sentence explaining why.