check-prod
Skill1.1k starsChanged 59 days agoMITView on GitHub
Check Azure production health across the API, telemetry, PostgreSQL, dependencies, and alerts. Use for "check prod", "is prod up", "prod status", or explicit requests to investigate production health or errors.
In this repository9 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- debug-deploySkill
- gh-stackSkill
- query-prod-dbSkill
- reset-prod-submissionsSkill
- review-pr-commentsSkill
- review-terraformSkill
- ship-itSkill
- write-migrationSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Run independent Azure Monitor and Log Analytics queries concurrently after resource discovery.
- Very specific: line 27
Use workspace-mode tables AppRequests, AppExceptions, AppTraces, AppDependencies, AppAvailabilityResults, and AppMetrics.
- Very specific: line 43
Use auth.login.success and auth.callback.* failure events for OAuth outcomes.
- Very specific: line 50
Check worker failures in AppTraces as well as AppExceptions.
- Distinctive: line 58
Treat worker death as Critical and overdue work as Warning.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Check Production
Perform a read-only health assessment of resources in rg-ltc-dev. Discover
resource names at runtime; do not rely on generated suffixes. Require an
authenticated Azure CLI session.
Run independent Azure Monitor and Log Analytics queries concurrently after resource discovery. Cover:
/readystatus and response time- Azure resource health and fired alerts (24h)
- availability failures, request count, 5xx count, and P95 latency (24h)
- exceptions (7d) and error-level traces (24h)
- dependency failures and latency, especially PostgreSQL and
api.github.com - PostgreSQL peak CPU, memory, storage, connections, and minimum CPU credits
- Container App peak CPU/memory and current-revision crash or unhealthy events
- console
Traceback,FATAL,OOMKilled, or segmentation-fault events - verification outcomes and OAuth success/failure activity (24h)
- API worker failures (
verification.worker.failed), overdue attempts (verification.attempt.stuck), and queued versus executing backlog
Use workspace-mode tables AppRequests, AppExceptions, AppTraces,
AppDependencies, AppAvailabilityResults, and AppMetrics. Container App
tables may use either the _CL schema with _s columns or the standard schema.
Verdict
Critical: readiness is non-200; any 5xx; unavailable resource; PostgreSQL dependency failure; OOM/crash; fired Sev1 alert; DB CPU above 80% or credits below 10.
Warning: P95 above 500 ms; failed availability test; recurring exception; other dependency failure; DB CPU 50-80%, memory/storage 70-85%, or credits 10-30; Container App CPU/memory above 80%; unhealthy replicas without matching scale events; OAuth callback failures above 50% of observed OAuth callback outcomes when login activity exists.
Use auth.login.success and auth.callback.* failure events for OAuth outcomes.
Expected request 401s for missing sessions and 303 login redirects are not OAuth
callback failures or unhandled application errors. Request URL attributes should
use route templates, including router prefixes; /unmatched is reserved for
requests without a known route template.
Verification runs in the API under learn-to-cloud-api, not a separate host.
Check worker failures in AppTraces as well as AppExceptions. Both /health
and /ready return 503 when the worker task has finished; ordinary page routes
are not worker health checks. The worker logs only error.type, not raw
exception details. Overdue reasons are
queued_beyond_limit and execution_beyond_limit, with
verification.attempt.age_seconds. Correlate created, execution-started, and
saved completion events by attempt ID; missing completion telemetry alone is not
proof of pending work. Confirm backlog with authorized read-only database access.
Treat worker death as Critical and overdue work as Warning. Do not log prompts,
evidence, fetched source, or credentials while investigating.
Otherwise report Healthy. Missing telemetry is Unknown, not healthy.
Return one overall verdict followed by a compact table containing each signal, its status, observed value, and time window. Put actionable critical findings first and distinguish application failures from Azure telemetry-query failures.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

