Skill / SKILL.md

Reconciler Logic

grafana/skills

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".
2 views 326 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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".

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/grafana/skills' skill-source

Use the complete skill-source/skills/grafana-app-sdk/reconciler-logic directory with your client’s skill installer.

  • skills/grafana-app-sdk/reconciler-logic

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/grafana-app-sdk/reconciler-logic

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
0204cd23b0844297ac7ce8462436f7540e46e42f9aabd194215c054aed1028fc
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills