Skip to content

Commit bd62501

Browse files
ChengYanJing-carre
andcommitted
Update .claude/skills/review-pr/SKILL.md
Co-authored-by: Guillaume CARRE <122804551+g-carre@users.noreply.github.com>
1 parent 1db1d14 commit bd62501

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.claude/skills/review-pr/SKILL.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,17 @@ gh pr diff <number> --repo <owner/repo>
4444
| Kubernetes operator | RBAC scoping (least-privilege), reconciler idempotency, status subresource updates only via `Status().Update()` |
4545
| Interface compliance | Verify implementations satisfy interfaces at compile time (e.g. `var _ SomeInterface = &MyType{}`) |
4646
| TypeScript/React | Prop changes (missing/wrong types), missing `key` props in lists, proper hook usage, no `console.log` in production code |
47-
| Scality dep pinning | `@scality/core-ui`, `@scality/module-federation`, `@kubernetes/client-node` must be pinned to a specific tag/commit, not a branch |
48-
| Salt states | Correct use of requisites (`require`, `watch`, `onchanges`); no hardcoded credentials; proper Jinja templating |
47+
| Scality dep pinning | `@scality/core-ui`, `@scality/module-federation` must be pinned to a specific tag/commit, not a branch |
48+
| External dep pinning | `@kubernetes/client-node` must be pinned to a specific git tag in package.json |
49+
| Salt states | Correct use of requisites (`require`, `watch`, `onchanges`); no hardcoded credentials; proper Jinja templating; proper map.jinja templating; ochestartions states ordering |
4950
| Helm/Kustomize | Resource limits set, security contexts defined, proper label selectors, upgrade path preserved |
5051
| Python | No bare `except:`; specific exception types; type hints on new functions; no blocking calls in async context |
52+
| Python / buildchain | Correct doit task dependencies and file targets; proper pytest fixtures; behave step definitions match feature files; no hardcoded paths (use constants.py) |
5153
| Security | No secrets/tokens in plain text; no OWASP-relevant issues (injection, XSS, insecure defaults) |
5254
| Breaking changes | Public API changes, CRD schema changes, Salt pillar schema changes, UI prop interface changes |
53-
55+
| Test coverage | New logic paths have corresponding unit tests; changed functions have updated tests; no test files deleted without replacement, no orphan test that would be never run |
56+
| Test impact | Changes to shared code (`map.jinja`, `constants.py`, CRD types, API types) are reflected in dependent tests across all affected layers |
57+
| BDD / integration | New user-facing behavior has matching behave scenarios in `tests/`; modified Salt orchestrations have updated integration steps |
5458
4. **Deliver your review:**
5559

5660
### If CI mode: post to GitHub

0 commit comments

Comments
 (0)