원클릭으로
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.