frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Claude plugin to automate Kubebuilder setup

https://github.com/Sagart-cactus/claude-k8s-plugin
1•saggy4•1h ago
Hey HN,

I kept spending 2–3 hours scaffolding Kubebuilder projects before writing any actual reconciliation logic — initializing the project, wiring the controller, configuring webhooks, setting up cert-manager, writing a Tiltfile for iteration.

So I built a Claude Code plugin that automates the repetitive setup and guides the full operator lifecycle via slash commands.

It wraps Kubebuilder and related tooling — it doesn’t replace them.

Available commands:

  /k8s:prereqs - Checks and installs Go, Kubebuilder, kind, kubectl, Kustomize, Tilt.

  /k8s:create-cluster - Creates a kind cluster for local development.

  /k8s:create-operator - Scaffolds a controller-runtime operator including: CRD definitions, reconciliation skeleton, RBAC markers, webhook boilerplate, project layout, Tiltfile for live iteration

  /k8s:dev - Starts the Tilt-based dev loop.

  /k8s:verify - Validates CRDs, pods, webhooks, and cluster events.

  /k8s:checklist - Runs a safety and quality checklist before shipping.

The part I care most about is the safety hook.

It uses a PreToolUse hook to block kubectl/helm/kustomize commands unless the current context matches kind-*. This prevents accidental operations against non-local clusters during development — something I’ve personally seen go wrong.

Install:

  claude plugin marketplace add https://github.com/Sagart-cactus/claude-k8s-plugin

  claude plugin install k8s@sagart-devtools

GitHub: https://github.com/Sagart-cactus/claude-k8s-plugin

I built this partly to learn Claude Code’s plugin system, and partly because I needed it while building OptiPod (a GitOps-safe Kubernetes resource rightsizing operator).

Happy to answer questions about:

- Claude plugin architecture - The hook system - Kubebuilder automation patterns - or operator lifecycle design.

Ancient Faces

https://www.ancientfaces.com/
1•davedx•37s ago•0 comments

Automated App Store Screenshots with Fastlane: A Practical Guide

https://buczel.com/blog/fastlane-screenshots-ios/
1•skreep•37s ago•0 comments

Long-Distance Trail Running Induces Inflammatory Oxidation in Red Blood Cells

https://www.sciencedirect.com/science/article/pii/S3050598426000107
1•PaulHoule•53s ago•0 comments

The battle of the squares: When domestic workers protest

https://toolong.co/s/lz5q172x
1•a_void_sky•1m ago•0 comments

Ex-UK ambassador to U.S. Peter Mandelson arrested in London

https://www.cnbc.com/2026/02/23/epstein-files-peter-mandelson-london-uk.html
1•Betelbuddy•1m ago•0 comments

The Statistical Signature of LLMs

https://arxiv.org/abs/2602.18152
1•bikenaga•2m ago•0 comments

Exploiting Almost Every Antivirus Software (2020)

https://rack911labs.ca/research/exploiting-almost-every-antivirus-software/
1•LorenDB•2m ago•0 comments

From Select to Advanced SQL: JOINs, CTEs, and More

https://jsdev.space/sql-complete-guide/
1•javatuts•3m ago•0 comments

Show HN: Find Local Business Leads

https://leadsbylocation.com
1•corefiredrill•4m ago•0 comments

RWKV-7 beats Llama 3.2 with 3x fewer training tokens and formally exceeds TC^0

https://ai.gopubby.com/rwkv-7-beats-llama-3-2-rnn-constant-memory-46064bbf1f64
1•Aedelon•5m ago•1 comments

Show HN: BaitAI – Conversational AI interviews with realtime interview artifacts

https://baitai.club
1•Rupak182•5m ago•0 comments

The Laws of Software

https://www.laws-of-software.com/
1•itzlambda•5m ago•0 comments

Ask HN: How are you testing LLM integrations in CI?

1•akarshc•5m ago•0 comments

The Rise of Eyes Began with Just One

https://www.nytimes.com/2026/02/23/science/evolution-vertebrate-eye.html
2•marojejian•6m ago•1 comments

AOL (Sign On – Dial Up) [video]

https://www.youtube.com/watch?v=D1UY7eDRXrs
1•surprisetalk•7m ago•0 comments

Wilks' Tolerance Intervals

https://entropicthoughts.com/wilks-tolerance-intervals
1•surprisetalk•7m ago•0 comments

Unconventional strategies for practicing Spanish (2019)

https://devon.postach.io/post/unconventional-strategies-for-practicing-spanish
1•surprisetalk•7m ago•0 comments

Everything is Amazing, But Nothing is Ours (2019)

https://devon.postach.io/post/everything-is-amazing-but-nothing-is-ours
1•surprisetalk•7m ago•0 comments

Show HN: Brag Frog – The brag doc that builds itself from GitHub, Jira and Co

https://brag-frog.org/
1•recvonline•7m ago•0 comments

The best Part about receiving your miracle

https://in-due-time.com/when-your-receive-your-miracle/
1•marysminefnuf•8m ago•0 comments

Why SLMs are eating the world (and how to use them)

https://project-1960fbd1.doanything.app
1•aibuildersdig•9m ago•1 comments

Solubility in olive oil predicts anasthetic potency of a compound

https://en.wikipedia.org/wiki/Theories_of_general_anaesthetic_action
1•rdgthree•9m ago•0 comments

Snake Charmer – a modern way to view Python docs

https://snake-charmer.work/3.14/tutorial/appetite
1•spikepuppet•9m ago•1 comments

Inkplate13 Spectra - Color 13" eink board

https://www.crowdsupply.com/soldered/inkplate-13spectra
2•ashenke•9m ago•0 comments

Naiply – Real-time multiplayer Spanish card games built with Phoenix LiveView

https://naiply.com/
1•mendrugory•9m ago•1 comments

Hey I almost got scammed by Google

https://statmodeling.stat.columbia.edu/2026/02/21/hey-i-almost-got-scammed-by-google/
1•sega_sai•9m ago•0 comments

Show HN: Tastebuds AI – recipe generator with USDA-backed nutrition data

https://www.tastebudsai.com
1•marcosinghof•10m ago•1 comments

C64 Graphics Explorer

https://c64graphicsexplorer.com/
1•haunter•10m ago•0 comments

Why the EU's AI Act is about to become enterprises' biggest compliance challenge

https://techpinions.com/why-the-eus-ai-act-is-about-to-become-every-enterprises-biggest-complianc...
4•swolpers•12m ago•0 comments

Writing code is cheap now

https://simonwillison.net/guides/agentic-engineering-patterns/code-is-cheap/
5•swolpers•13m ago•0 comments