Real file from a public repo · synced Sep 3, 2026
reconciler-logic
Implement reconcilers and watchers for grafana-app-sdk apps — write TypedReconciler[*MyKind] reconcile functions, apply generation-based skip patterns, do conflict-safe status updates via resource.UpdateObject, configure BasicReconcileOptions (namespace, label/field filters, finalizer management), use Watcher for event-style handling, reconcile UnmanagedKinds (resources your app doesn't own), and register the whole thing in app.go. Use when writing a reconciler, implementing the reconcile loop, adding async business logic, handling create/update/delete events, processing resource state changes, scheduling periodic resyncs with RequeueAfter, picking between Watcher and Reconciler, or wiring a controller into app.go — even when the user says "process this resource", "handle X events", or "write a controller" without saying "reconciler".
Works with
Install in three steps
- 1
Download the ZIP
One file per agent, plus INSTALL.md with the exact paths below.
- 2
Claude Code: copy SKILL.md into your skills folder
.claude/skills/reconciler-logic/SKILL.md # this project ~/.claude/skills/reconciler-logic/SKILL.md # every project
- 3
Other agents: use the matching file
skill.mdc goes in Cursor’s .cursor/rules/. AGENTS.md works as GitHub Copilot instructions, a legacy .cursorrules, or a Codex / Gemini CLI instructions file.

