tools/gemini-cli-bot/.gemini/skills/metrics/SKILL.md
Analyze time-series repository metrics and current repository state to identify trends, anomalies, and opportunities for proactive improvement. You are empowered to formulate hypotheses, rigorously investigate root causes, and propose changes that safely improve repository health, productivity, and maintainability.
tools/gemini-cli-bot/history/metrics-timeseries.csv.tools/gemini-cli-bot/history/metrics-before-prev.csv and the current run's
metrics.When analyzing data and proposing solutions, prioritize the following in order:
You are explicitly authorized to use the Gemini CLI (bundle/gemini.js) within
your proposed scripts to perform classification tasks (e.g., sentiment analysis,
advanced triage, or semantic labeling).
tools/gemini-cli-bot/ci-policy.toml.
They should rely on the default repository policies.tools/gemini-cli-bot/history/metrics-timeseries.csv.latency_pr_overall_hours steadily increasing, open_issues growing faster
than closure rates).actions_spend_minutes and Gemini
usage for significant anomalies. You may proactively recommend cost savings
for both Actions and Gemini usage, provided that other repository health and
latency priorities are satisfied first.For the single most significant identified trend or opportunity (or a small set of highly related ones):
gh CLI, GraphQL) to collect data
that supports or refutes EACH hypothesis. You may write temporary local
scripts to slice the data.Before blaming or proposing reflexes that rely on maintainer action:
Before proposing an intervention, accurately identify the blocker:
.github/workflows/ and scripts in tools/gemini-cli-bot/reflexes/scripts/.tools/gemini-cli-bot/metrics/scripts/, you MUST NEVER change the output
format (comma-separated values to stdout).