Skip to content

Instantly share code, notes, and snippets.

View dominiqueclarke's full-sized avatar
🍩
donut

Dominique Clarke dominiqueclarke

🍩
donut
View GitHub Profile
@dominiqueclarke
dominiqueclarke / SKILL.md
Created August 31, 2026 13:55
explain-issue - Cursor skill for rich interactive HTML explanations of GitHub issues and epics
name explain-issue
description Produce a rich interactive HTML explanation of a GitHub issue or epic. Use when the user asks to explain, summarize, or visualize an issue or epic.

/explain-issue

Produce a rich, interactive HTML explanation of a GitHub issue or epic — its

@dominiqueclarke
dominiqueclarke / episode-e7836f42.json
Created August 27, 2026 14:38
Alerting v2 flapping episode e7836f42 — 20 events from .rule-events
[
{
"@timestamp": "2026-08-27T14:05:15.097Z",
"rule": {
"id": "745d0562-8ebe-44e6-af92-5a5cfb25ad40",
"version": 1
},
"group_hash": "37299d12c32aa3c154f28f5237f3229c20c22f8376c6d2c5da68af4cf85d44cb",
"data": {
"failure_count": 9,
@dominiqueclarke
dominiqueclarke / rule_template_v1_to_v2_migration.md
Last active September 16, 2026 17:47
Migrating integration rule templates: v1 → v2

Migrating integration rule templates: v1 → v2

Guide for converting Fleet/integration kibana/alerting_rule_template/*.json assets from the current (v1 / shared .es-query params) shape to the alerting v2 template shape.

Required for all v2 rule templates

Template attributes are a two-key envelope. Create-rule fields live under rule, not next to engine.

Requirement Value Notes
@dominiqueclarke
dominiqueclarke / kibana.aliases.zsh
Last active May 14, 2026 15:23
Kibana dev aliases — ES snapshot, Kibana start, EIS setup (multi-worktree)
# Kibana dev aliases
alias kbn-bootstrap='nvm use && yarn kbn bootstrap'
alias kbn-start='./start-kbn.sh --no-base-path'
alias kbn='nvm use && yarn kbn bootstrap && ./start-kbn.sh --no-base-path'
# Starts the Phoenix trace viewer for Agent Builder LLM observability.
alias kbn-phoenix='docker run -p 6006:6006 -p 4317:4317 -i -t arizephoenix/phoenix:latest'
# Starts an ES snapshot on the correct port for the current worktree.
@dominiqueclarke
dominiqueclarke / SKILL.md
Created May 4, 2026 18:18
Cursor Agent Skill: Confirm if a PR/commit has shipped in a specific release version
name confirm-commit-in-version
description Confirm whether a GitHub PR or commit has shipped in a specific release version. Use when asked if a fix is in a version, checking backport status, verifying a PR landed in a patch release, or triaging SDH issues about whether a fix shipped.

Confirm PR/Commit in Release Version

@dominiqueclarke
dominiqueclarke / seed_rule_doctor_env.sh
Created April 30, 2026 12:40
Rule Doctor: Seed environment script for testing deduplication workflow
#!/usr/bin/env bash
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
source "$REPO_ROOT/scripts/kibana_api_common.sh"
RULES_API="$KIBANA_URL/api/alerting/v2/rules"
RUN_API="$KIBANA_URL/api/alerting/v2/rule_doctor/run"
INSIGHTS_API="$KIBANA_URL/api/alerting/v2/rule_doctor/insights"
SETTINGS_API="$KIBANA_URL/api/kibana/settings"
@dominiqueclarke
dominiqueclarke / README.md
Created April 2, 2026 01:34
Alerting V2 Episode Actions — Manual Test Data & Setup (PR #260195)

Alerting V2 Episode Actions — Manual Test Data & Setup

Test data and rules for manually exercising the episode table actions UI (PR #260195).

Prerequisites

  • Kibana + ES running with xpack.alerting_v2.enabled: true
  • The kbn-data-forge CLI available (or node x-pack/scripts/data_forge.js)

Quick Start