Cursor as an AI SRE

Search for a command to run...

No comments yet. Be the first to comment.
Your team has 14 versions of the same code review skill across 5 repos, with no way to sync them. when one improves, the others don't. drop a folder in .claude/skills/ and pray nothing drifts. source

AI agents are unreasonably good at writing SQL. They get specific error messages, fix their own mistakes in one retry, and can introspect query performance with EXPLAIN ANALYZE before you even ask. No

n8n has over 400 integrations. Zapier claims 7,000+. Every single one was hand-built, tested against a moving API, and will eventually break when that API ships a v2. The entire workflow automation in

Part of the "Your Next Startup" series, where I break down startup ideas I think are worth building. Auth0 sold for \(6.5B. Okta is worth \)15B+. CyberArk, Delinea, BeyondTrust, all printing money fro

For as long as software has existed, we've been building two doors into our systems. Door one: the UI, a carefully designed surface where humans point, click, and occasionally rage-quit. Door two: the

Every week, we see a new “AI SRE” announcement. Some look like magic, others more like marketing.
But here’s the real superpower: you can create your own AI SRE today, by letting an AI work with the same CLI tools you already use daily.
I built a Cursor rule file that turns an AI into a collaborative SRE copilot, able to run kubectl, helm, argocd, istioctl, and more, all under your control.
As human SREs, we already have the skills and instincts. But incidents eat time on repetitive steps:
Checking service discovery & endpoints
Inspecting Istio routes
Pulling Helm diffs
Reading logs & events
Hunting down recent config changes
AI can do those steps fast, and with our approval, so we can focus on judgment calls, not keystrokes.
.cursorrules File?.cursorrules files are configuration files that provide Cursor AI with specific, always-on instructions.
Think of them as the blueprint for how the AI should behave, what tools it should use, and how it should structure its responses.
We designed the rule file to make the AI:
Context-Aware
First confirm cluster/context, namespace, and affected service/workload.
Detect which tools are installed in the cluster.
Structured in Reasoning
Always produce a Diagnostic Plan before running anything.
Steps cover service health, routing, workload status, logs/events, and recent changes.
Safe by Default
Read-only diagnostics first.
Approval gates before any change.
Rollback plans for every mitigation.
Multi-Tool Fluent
If Istio exists, check routing.
If ArgoCD is present, diff last known good state.
If Helm is installed, compare release histories.
Human in the Loop
You approve every action.
The AI explains what it’s doing, no black boxes.
Consistency: Every incident starts with the same high-quality checklist, so nothing gets missed.
Transparency: The “Diagnostic Plan” makes the AI’s thought process visible, not hidden.
Tool-Agnostic: The AI can dynamically use whatever’s in your cluster, from plain kubectl to full GitOps pipelines.
Safety: Two approval gates (diagnostics, then changes) mean no accidental breakage.
Auditability: Each command is logged with the reason it’s being run.
Below is an actual run from Cursor using our rule file, in this case, debugging a CrashLoopBackOff issue.

User: help me debug the issue
kubectl get pods -n scenario-1753115617359
(Output shows pod in CrashLoopBackOff)
Cursor’s Structured Diagnosis
Found pod restarting 424 times over 35 hours.
Pulled logs & inspected related secret.
Discovered APP_MODE was set to broken instead of safe.
Confirmed the app exits immediately if APP_MODE is not safe.
Proposed Mitigation Options
Patch Secret (recommended):
kubectl patch secret availability-issue-bad-secret-change-a37a6159-secret \
-n scenario-1753115617359 \
-p '{"data":{"APP_MODE":"c2FmZQ=="}}'
Create a new secret and update the deployment.
Update deployment to hardcode APP_MODE temporarily.
Rollback plan included. Awaited approval before doing anything.
The full chat is at chat.md.
By letting AI use the same battle-tested tools you already rely on, but with a structured, safe, and transparent process, you turn it into a real teammate.
You still own the decisions.
You just get there faster.
The full .cursorrules file.
Feel free to visit komodor.com for more info on AI SRE.