/kibana-infrastructure-ops-tools:check-cross-repo-consistencyfrom kibana-infrastructure-ops-tools
Check elastic-cursor-plugin and cursor-plugin-evals for Docker versions, npm dependencies, and YAML convention drift
Ships in kibana-infrastructure-ops-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Ensures elastic-cursor-plugin and cursor-plugin-evals stay in sync for shared dependencies and conventions.
Docker images should use identical versions across both repos.
Check locations:
Dockerfile.github/workflows/*.yml (service containers)docker-compose.yml / docker-compose.yamlCommon images to verify:
node:*elasticsearch:*kibana:*postgres:*redis:*Core dependencies should be aligned (not necessarily identical, but major versions should match).
Check locations:
package.json (dependencies, devDependencies)package-lock.json (resolved versions)Critical dependencies:
typescriptjest, playwright, vitest)@swc/core, esbuild, vite)eslint, prettier)Consistent formatting and structure for CI/CD configs.
Check locations:
.github/workflows/*.ymlactions/checkout@v*, actions/setup-node@v*).nvmrc / .node-version (Node.js versions).prettierrc / prettier.config.jstsconfig.json (compiler options, especially strict, target, module)# Find repos (common locations)
REPO1="/Users/patrykkopycinski/Projects/elastic-cursor-plugin"
REPO2="/Users/patrykkopycinski/Projects/cursor-plugin-evals"
# Verify they exist
if [ ! -d "$REPO1" ]; then
echo "❌ elastic-cursor-plugin not found at expected location"
echo "Please provide the correct path."
exit 1
fi
if [ ! -d "$REPO2" ]; then
echo "❌ cursor-plugin-evals not found at expected location"
echo "Please provide the correct path."
exit 1
fi
echo "=== Docker Image Versions ==="
# Extract Docker image versions from Dockerfiles and workflows
echo "## elastic-cursor-plugin:"
grep -rh "FROM.*:" "$REPO1" --include="Dockerfile*" --include="*.yml" --include="*.yaml" 2>/dev/null | sort -u
echo ""
echo "## cursor-plugin-evals:"
grep -rh "FROM.*:" "$REPO2" --include="Dockerfile*" --include="*.yml" --include="*.yaml" 2>/dev/null | sort -u
echo ""
echo "=== Node & NPM Versions ==="
# Node version
echo "## elastic-cursor-plugin:"
[ -f "$REPO1/.nvmrc" ] && echo "Node: $(cat "$REPO1/.nvmrc")"
[ -f "$REPO1/.node-version" ] && echo "Node: $(cat "$REPO1/.node-version")"
echo ""
echo "## cursor-plugin-evals:"
[ -f "$REPO2/.nvmrc" ] && echo "Node: $(cat "$REPO2/.nvmrc")"
[ -f "$REPO2/.node-version" ] && echo "Node: $(cat "$REPO2/.node-version")"
echo ""
echo "=== Critical NPM Dependencies ==="
# Check key dependencies
DEPS=("typescript" "jest" "playwright" "eslint" "prettier" "@swc/core")
for dep in "${DEPS[@]}"; do
echo ""
echo "## $dep:"
echo "elastic-cursor-plugin: $(jq -r ".dependencies[\"$dep\"] // .devDependencies[\"$dep\"] // \"not found\"" "$REPO1/package.json" 2>/dev/null)"
echo "cursor-plugin-evals: $(jq -r ".dependencies[\"$dep\"] // .devDependencies[\"$dep\"] // \"not found\"" "$REPO2/package.json" 2>/dev/null)"
done
echo ""
echo "=== GitHub Actions Versions ==="
echo "## elastic-cursor-plugin:"
grep -rh "uses:.*@v" "$REPO1/.github/workflows" 2>/dev/null | sed 's/.*uses: *//' | sort -u
echo ""
echo "## cursor-plugin-evals:"
grep -rh "uses:.*@v" "$REPO2/.github/workflows" 2>/dev/null | sed 's/.*uses: *//' | sort -u
After collecting data, analyze for drift:
# Drift Report
## 🔴 Critical Drift (Major version mismatch)
- [List any major version differences that break compatibility]
## 🟡 Minor Drift (Patch/minor version differences)
- [List non-breaking version differences that should be aligned]
## ✅ In Sync
- [List what's properly aligned]
## 📋 Action Items
1. [Specific update commands for each drift item]
2. [PRs to create]
Present findings as a structured report with:
Add to weekly routine:
/loop 7d /check-cross-repo-consistency
Or create a hook:
event: PostToolUse
tool: Bash
condition: |
${TOOL_ARGS} contains "package.json" OR
${TOOL_ARGS} contains "Dockerfile" OR
${TOOL_ARGS} contains ".github/workflows"
prompt: |
A dependency file was modified. Run /check-cross-repo-consistency
to check if the same change should be applied to the other repo.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/cross-repo-syncAuto-propagate version and configuration changes across sibling repos (elastic-cursor-plugin, cursor-plugin-evals, agent-skills-sandbox). Detects Docker versions, npm dependencies, YAML conventions, and config file changes, then creates sync PRs with CI validation. Use when syncing versions across repos, propagating Renovate updates, or when asked to "sync this change", "update [package] across repos", or "propagate this version"./i18n-helperInternationalization helper for Kibana - find hardcoded strings, generate translations, and validate i18n implementation./monitoring-setupAdd monitoring and observability to Kibana features including APM tracing, custom metrics, structured logging, dashboards, and alerting./spike-managerManage multiple Kibana spike environments using Docker/OrbStack. Handles isolated spike environments, switches between spikes, and manages Docker containers. Use when working on multiple Kibana spikes simultaneously, switching between spikes, or using Docker for spike isolation. Triggers on "spike start", "spike list", "manage spikes", "switch spike", or "multiple spikes".npx claudepluginhub patrykkopycinski/patryks-treadmill-claude-plugins --plugin kibana-infrastructure-ops-tools