all publishers

kubernetes-sigs

@kubernetes-sigs-kueue source repo

60 published skills

  1. ▌
    Duplicated Logic · kubernetes-sigs-kueue
    Flag identical (or near-identical) blocks across types/adapters/call sites that should live in a shared helper — and newly extracted helpers with only one caller.
    3.2k repo stars
  2. ▌
    Missing Deferred Removal Markers · kubernetes-sigs-kueue
    Flag temporary or deprecated compatibility-shim code kept in the diff without a deferred-removal comment naming the removal version and a tracking issue.
    3.2k repo stars
  3. ▌
    Annotation Label Namespace Abuse · kubernetes-sigs-kueue
    Flag generic loops over obj.Annotations that copy, forward, or echo values — allow tenant injection into reserved kueue.x-k8s.io/ namespace.
    3.2k repo stars
  4. ▌
    Illogical Structure · kubernetes-sigs-kueue
    Flag code organization that a future maintainer will struggle to follow, modify, or extend.
    3.2k repo stars
  5. ▌
    Unnecessary Guard Conditions · kubernetes-sigs-kueue
    Flag extra checks that are logically unreachable at the call site — they add noise and can mask future regressions.
    3.2k repo stars
  6. ▌
    Integration Adapter Trust Boundary · kubernetes-sigs-kueue
    Flag integration adapters reading credential-like fields from third-party CRDs without treating them as untrusted (RayCluster, SparkApplication, JobSet).
    3.2k repo stars
  7. ▌
    Avoidable Complexity · kubernetes-sigs-kueue
    Flag solutions more elaborate than the problem requires — complexity that exists only because the author reached for a pattern.
    3.2k repo stars
  8. ▌
    Feature Gate Interaction Bugs · kubernetes-sigs-kueue
    Flag feature-gated behavior whose gate-off path is incorrect — early returns that skip cleanup, or state set only when on but read unconditionally.
    3.2k repo stars
  9. ▌
    Nonsensical Decisions · kubernetes-sigs-kueue
    Flag unnecessary indirection, mismatched abstractions, or confusing data flow that obscures what the code is doing.
    3.2k repo stars
  10. ▌
    Deleted Backwards Compatibility Code · kubernetes-sigs-kueue
    Hard blocker — flag removal or relocation of code that manages cluster state owned by previous controller versions.
    3.2k repo stars
  11. ▌
    Pointless Intermediate Variables · kubernetes-sigs-kueue
    Flag redundant local variables that add noise without adding clarity.
    3.2k repo stars
  12. ▌
    Algorithm Comments · kubernetes-sigs-kueue
    Review that algorithm comments match the implementation. Use when a comment describes a formula or algorithm and you want to verify it matches what the code actually does.
    3.2k repo stars
  13. ▌
    Feature Gated Code · kubernetes-sigs-kueue
    Review that new feature-gated behavior has explicit gate checks on all reachable code paths.
    3.2k repo stars
  14. ▌
    Metrics Label Sets · kubernetes-sigs-kueue
    Review that new ClusterQueue metrics use the same label set as existing ClusterQueue metrics.
    3.2k repo stars
  15. ▌
    Table Driven Tests · kubernetes-sigs-kueue
    Review that tests covering multiple scenarios use table-driven style instead of inline sequential blocks.
    3.2k repo stars
  16. ▌
    Visibility Exports · kubernetes-sigs-kueue
    Review that newly exported functions have callers outside the package, lowercasing those that don't.
    3.2k repo stars
  17. ▌
    Nil Safety · kubernetes-sigs-kueue
    Flag unguarded dereferences of optional pointer fields reachable from a malformed CR, and goroutines without recover (CWE-476).
    3.2k repo stars
  18. ▌
    Metrics Feature Gates · kubernetes-sigs-kueue
    Review that new metrics are gated by the same feature flags as similar existing metrics.
    3.2k repo stars
  19. ▌
    Terminology Semantics · kubernetes-sigs-kueue
    Review that code and events use terminology whose semantics match the operation (e.g., not Preempted for migration).
    3.2k repo stars
  20. ▌
    Encapsulate Paired Ops · kubernetes-sigs-kueue
    Review that paired operations and fields that always appear together are encapsulated in a helper or nested struct.
    3.2k repo stars
  21. ▌
    Push Guards To Callees · kubernetes-sigs-kueue
    Review that repeated guards at multiple call sites are moved inside the callee instead.
    3.2k repo stars
  22. ▌
    Path Traversal · kubernetes-sigs-kueue
    Flag file paths built from user-supplied names without sanitization, symlink-following in tenant dirs, and unvalidated archive extraction (CWE-22).
    3.2k repo stars
  23. ▌
    Over Commenting · kubernetes-sigs-kueue
    Flag comments that explain what self-documenting code already says.
    3.2k repo stars
  24. ▌
    Input Validation · kubernetes-sigs-kueue
    Flag missing input validation at trust boundaries — user-settable CR fields, webhook payloads, labels, annotations, or untrusted deserialization (CWE-20, CWE-502).
    3.2k repo stars
  25. ▌
    Logic Errors · kubernetes-sigs-kueue
    Flag incorrect conditionals, inverted boolean checks, off-by-one errors, unhandled edge cases, race conditions, or mishandled error returns.
    3.2k repo stars
  26. ▌
    Code Style Typos · kubernetes-sigs-kueue
    Flag typos in identifiers, strings, or any text introduced by the diff.
    3.2k repo stars
  27. ▌
    Convention Drift · kubernetes-sigs-kueue
    Flag new code that breaks naming conventions already established in the same file or package.
    3.2k repo stars
  28. ▌
    Inaccurate Comments · kubernetes-sigs-kueue
    Flag any comment or docstring that no longer matches the code — these mislead future maintainers who trust them.
    3.2k repo stars
  29. ▌
    Reinvented Helpers · kubernetes-sigs-kueue
    Flag logic that duplicates an existing util/helper function instead of reusing it.
    3.2k repo stars
  30. ▌
    Integration Tests For Updates · kubernetes-sigs-kueue
    Review that update/mutation logic has integration test coverage in test/integration/.
    3.2k repo stars
  31. ▌
    Supply Chain Hygiene · kubernetes-sigs-kueue
    Flag supply-chain hygiene gaps — unpinned image refs, TLS bypass, unjustified go.mod replace directives, curl|sh, moving-tag GitHub Actions (CWE-295, CWE-494).
    3.2k repo stars
  32. ▌
    Wrong Log Verbosity · kubernetes-sigs-kueue
    Flag per-reconcile-cycle log lines emitted at V(2) — recurring reconcile-loop logs must be V(4) or higher.
    3.2k repo stars
  33. ▌
    Wrong Kind Of Comment · kubernetes-sigs-kueue
    Flag comments that describe *what* the code does instead of *why* it does it.
    3.2k repo stars
  34. ▌
    Misaligned Test Names · kubernetes-sigs-kueue
    Flag unit or integration test function names that do not reflect the function or behavior under test.
    3.2k repo stars
  35. ▌
    Scope Creep · kubernetes-sigs-kueue
    Flag diffs that bundle a bugfix with an unrelated refactor, or generalize a change to all types when only one type needs it.
    3.2k repo stars
  36. ▌
    Webhook Safety Regressions · kubernetes-sigs-kueue
    Flag webhook safety regressions — loosened failurePolicy, shortened timeoutSeconds, TLS bypass paths, non-idempotent mutating webhooks.
    3.2k repo stars
  37. ▌
    Feature Gated Insecure Paths · kubernetes-sigs-kueue
    Flag feature-gated behavior whose security assumptions do not hold in both gate-on and gate-off states; require a comment near the gate check for new alpha attack surface.
    3.2k repo stars
  38. ▌
    Misplaced Logic · kubernetes-sigs-kueue
    Flag code put somewhere a reader would not expect to find it — cleanup scattered across callers, validation deep in business logic.
    3.2k repo stars
  39. ▌
    Resource Bounds Dos · kubernetes-sigs-kueue
    Flag missing resource bounds / DoS resistance — uncapped loops or allocations, missing timeouts, reconciler-wedging input, unbounded metric cardinality (CWE-400, CWE-770).
    3.2k repo stars
  40. ▌
    Authn Authz Relaxation · kubernetes-sigs-kueue
    Flag AuthN/AuthZ relaxation — webhook token skipping, failurePolicy Ignore, missing SubjectAccessReview, wildcard RBAC, privileged pod specs (CWE-269, CWE-287, CWE-306, CWE-862, CWE-863).
    3.2k repo stars
  41. ▌
    Information Disclosure · kubernetes-sigs-kueue
    Flag information-disclosure patterns — full-object logging, request echoing, credentials in status/annotations, kubeconfig logging, secret-bearing status (CWE-200, CWE-522, CWE-532, CWE-552).
    3.2k repo stars
  42. ▌
    Was Cluster · kubernetes-sigs-kueue
    Build and manage a kind cluster for Workload-Aware Scheduling (WAS) e2e tests. Use when the user wants to set up, run tests against, or tear down a WAS test cluster built from Kubernetes main.
    3.2k repo stars
  43. ▌
    Kueue Lineage · kubernetes-sigs-kueue
    Trace workload lineage to pods. Use when a user wants to trace lineage across any tier such as workload to pods, pod to workload, or job to workload. The user may provide a resource at any level (Workload, Job, Pod, JobSet, etc.) and this skill produces the full tree from Workload down to Pods.
    3.2k repo stars
  44. ▌
    Comments · kubernetes-sigs-kueue
    Review a diff for comment hygiene — over-commenting, what-not-why narration, inaccurate comments, and missing TODOs on compatibility shims.
    3.2k repo stars
  45. ▌
    Security · kubernetes-sigs-kueue
    Review a diff for security issues exploitable by a tenant, neighbouring controller, or malicious workload spec — input validation, injection, DoS, nil-safety, authz, info disclosure, supply chain, webhook safety.
    3.2k repo stars
  46. ▌
    Code Eval · kubernetes-sigs-kueue
    Evaluate the quality of a git diff between two commits by delegating per-skill analysis (Code Style, Buggy Behavior, Comments, Architectural Decisions, Security) to subagents, then aggregating their findings and recommendations into a scored report.
    3.2k repo stars
  47. ▌
    Kueue Release Notes · kubernetes-sigs-kueue
    Write or review Kueue PR release notes. Use when a user asks to draft, refine, validate, or combine release notes for a Kueue pull request, especially when deciding whether the note should be framed as a bugfix, feature, observability improvement, or breaking change.
    3.2k repo stars
  48. ▌
    Kueue Who Preempted · kubernetes-sigs-kueue
    Identify what preempted a workload. Use when a user asks why their workload was evicted or preempted, or wants to identify what preempted it. Investigates Kubernetes events, workload status conditions, and controller logs to trace preemption.
    3.2k repo stars
  49. ▌
    Code Style · kubernetes-sigs-kueue
    Review a diff for naming precision, convention drift, reinvented helpers, log-verbosity mistakes, misaligned test names, and typos.
    3.2k repo stars
  50. ▌
    Kueue Flake Debugger · kubernetes-sigs-kueue
    Debug Kueue CI flakes. Use when a user asks to debug a flake, investigate a test failure, a test timeout, or a CI flake. Analyzes Prow build logs, kube-scheduler logs, kubelet logs, and test code to identify root causes.
    3.2k repo stars
  51. ▌
    Buggy Behavior · kubernetes-sigs-kueue
    Review a diff for behavioral defects — logic errors, broken edge cases, feature-gate bugs, and deletions that break backwards compatibility during rolling upgrades.
    3.2k repo stars
  52. ▌
    Extract Helpers · kubernetes-sigs-kueue
    Review that local variables with unnecessarily wide scope are extracted into helper functions.
    3.2k repo stars
  53. ▌
    Race Conditions · kubernetes-sigs-kueue
    Review concurrent Go code for races, preferring fixes at the mutation site over adding snapshot fields.
    3.2k repo stars
  54. ▌
    Split Test Files · kubernetes-sigs-kueue
    Review that new feature tests are split into their own file rather than added to an already large test file.
    3.2k repo stars
  55. ▌
    API Field Comments · kubernetes-sigs-kueue
    Review that new CRD fields have complete godoc comments with enum value descriptions.
    3.2k repo stars
  56. ▌
    Injection · kubernetes-sigs-kueue
    Flag injection vectors from user-supplied strings — exec, SSRF, fmt.Sprintf-built selectors/URLs, template rendering, query concatenation (CWE-78, CWE-94, CWE-918).
    3.2k repo stars
  57. ▌
    Kueue E2e Cluster Multikueue · kubernetes-sigs-kueue
    Create (or reuse) the manager + worker kind clusters for Kueue MultiKueue e2e development. Use when a user asks to spin up MultiKueue e2e clusters, get a local multi-cluster environment ready, or debug/iterate against a MultiKueue e2e suite (baseline, extended, sequential, DRA).
    3.2k repo stars
  58. ▌
    Kueue E2e Cluster Singlecluster · kubernetes-sigs-kueue
    Create (or reuse) a single kind cluster for Kueue e2e development. Use when a user asks to spin up an e2e cluster, get a local kind environment ready for e2e tests, or debug/iterate against a single-cluster e2e suite (baseline, extended, sequential, TAS, cert-manager, DRA).
    3.2k repo stars
  59. ▌
    Architectural Decisions · kubernetes-sigs-kueue
    Review a diff for small-scale structural problems — unjustified complexity, duplicated logic, scope creep, or misplaced code.
    3.2k repo stars
  60. ▌
    Imprecise Names · kubernetes-sigs-kueue
    Flag identifiers whose name does not describe exactly what they contain — drift from package patterns, contradictory contents, misnamed feature gates, asymmetric mirror fields.
    3.2k repo stars