agentleFS
MicrosoftKnown publishermicrosoft/frontier-sre-agent-rvas/usecases/0086-sqlmi-maintenance-resilience/manifests/skills/sqlmi-maintenance-resilience/SKILL.md

sqlmi-maintenance-resilience

Skill9 starsChanged 49 days agoMITView on GitHub

Azure SQL Managed Instance resilience to maintenance windows. Window inventory, real reconfigurations, upcoming maintenance, per-application user impact (Application Insights) and recommended window from real load. Read-only.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If mode is demo, the message field already starts with "DEMO MODE (simulated data)".

    line 32
  2. Distinctive:

    Azure SQL MI offers 3 windows: default (17:00-08:00 every day), weekday (Mon-Thu 22:00-06:00) and weekend (Fri-Sun 22:00-06:00), in the …

    line 42
  3. Distinctive:

    Read-only. Never change windows, connection type or alerts, and never run a failover.

    line 49
  4. Distinctive:

    Do not invent instances, applications, dates or figures: use only what the tool returns.

    line 50
  5. Very specific:

    If status is no_data or error, show message and the configuration steps (case README, steps 2 to 4).

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SQL Managed Instance and maintenance windows

When to use this skill

  • "Why do users see errors when SQL MI maintenance happens?"
  • "Which maintenance window do my Managed Instances have, and which one should they have?"
  • "When is the next maintenance and which applications are at risk?"
  • "Which applications have no retry logic?"
  • "Can we choose the exact day and hour of maintenance like on-premises?"

Tool

generate-sqlmi-maintenance-report (read-only)

ParameterValuesUse
operationreport (default), summary, upcomingreport writes HTML + JSON + 2 CSV. summary returns only KPIs and actions. upcoming returns the next planned maintenance and the applications at risk.
periodlast_30d (default), last_14d, last_7dHistorical analysis window.
data_sourceauto (default), live, demoauto uses real data when the tool is configured, otherwise simulated data. demo forces simulated data.

Make exactly one call per request. Do not call again with other parameters unless the user asks.

How to answer

  1. If mode is demo, the message field already starts with "DEMO MODE (simulated data)". Do not repeat it; say clearly that the data is simulated.
  2. For report, show the message field without changing the links (they are native SRE Agent download links).
  3. Summarize in this order:
    • Short answer (answer).
    • Next maintenance (next_maintenance or upcoming): date, instances and applications at risk.
    • Actions (top_actions or findings): severity, what to do and the command when there is one.
  4. Finish with the right conclusion for the case (see below).

Conclusion that must be clear

  • Azure SQL MI offers 3 windows: default (17:00-08:00 every day), weekday (Mon-Thu 22:00-06:00) and weekend (Fri-Sun 22:00-06:00), in the region's local time. You cannot choose an exact day and hour or postpone a specific maintenance.
  • The window decides WHEN the reconfiguration happens; retries decide IF users notice. A reconfiguration always drops connections for a few seconds (usually < 30 s, error 40613 and similar).
  • No window covers unplanned events (hardware, network) or some critical updates. Only retry logic with backoff in the application removes that impact.
  • Complementary platform improvements: weekday or weekend window depending on load, different windows on the primary and secondary of a failover group, a Service Health alert for planned maintenance, Redirect connection type instead of Proxy, and manual failover drills in pre-production.

Rules

  • Read-only. Never change windows, connection type or alerts, and never run a failover. If the user asks, give the command from the report so their team runs it after validating it.
  • Do not invent instances, applications, dates or figures: use only what the tool returns.
  • If status is no_data or error, show message and the configuration steps (case README, steps 2 to 4).
  • "No telemetry" means there is no Application Insights for that application, not that it is resilient.
  • Answer in the user's language (English by default). The report files are in English.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.