microsoft-agent-skills-private-archive / rules
Cursor rule2 starsChanged 2 months agoMITView on GitHub
Triage and recover when a live agent is failing right now and users are affected, rather than reviewing its configuration after the fact. Use when an agent has gone down or is answering badly in production and someone is asking what to do in the next few minutes, when it is unclear whether the outage is the agent, the underlying platform or a dependency, when a fix needs to be rolled back safely, when an incident needs a plain-language update sent to stakeholders, or when a postmortem needs to turn into a prevention item rather than a shrug.
We split this respond-to-agent-incidents.mdc into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Is this the platform, not the agent?: Check Power Platform admin center service health, and Azure Service Health / Resource Health for …
- Very specific: line 35
Is it actually the agent's configuration or behaviour?: Only once the first three are ruled out does this become a …
- Distinctive: line 42
If a recent deployment is implicated, rolling back to the last known-good version is almost always faster and safer than debugging forward …
- Distinctive: line 60
Do not promise a root cause before you have one.
- Distinctive: line 79
Start debugging the agent's own configuration before checking platform and dependency health.
- Distinctive: line 82
Treat "it's back up" as resolved without understanding why.
- Distinctive: line 102
If a link 404s, the page was probably renamed.
≈ “Common” is an estimate: at least 1 in 5 of the 6,350 Cursor rule 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
--- description: "Triage and recover when a live agent is failing right now and users are affected, rather than reviewing its configuration after the fact. Use when an agent has gone down or is answering badly in production and someone is asking what to do in the next few minutes, when it is unclear whether the outage is the agent, the underlying platform or a dependency, when a fix needs to be rolled back safely, when an incident needs a plain-language update sent to stakeholders, or when a postmortem needs to turn into a prevention item rather than a shrug." alwaysApply: false --- <!-- Generated from SKILL.md by scripts/build-harnesses.mjs. Do not edit by hand; run `npm run build`. --> <!-- Source: skills/operate/respond-to-agent-incidents/SKILL.md --> The moment an agent is visibly broken in production is the wrong moment to be figuring out the process for the first time. This skill is that process: triage first, communicate honestly while you work, recover safely, and turn what you learn into something that survives past the incident. This is not the skill for the calm, structured review of an agent's configuration - that is `review-copilot-studio-agent`. It is not for the disciplined ongoing measurement of answer quality - that is `evaluate-agent-quality`. It is for right now, something is broken, and people are affected. ## Triage: find the layer before you fix anything The single most time-wasting mistake in an incident is fixing the wrong layer. Work through these in order, because each rules out the ones below it: 1. **Is this the platform, not the agent?** Check Power Platform admin center service health, and Azure Service Health / Resource Health for anything Azure-hosted underneath. A platform-wide incident needs a very different response than a broken agent - mainly, stop changing things and wait, while communicating that you have identified it is not your configuration. 2. **Is this a dependency the agent calls?** A connector, an API, a Dataverse table, a model endpoint. If the agent's own configuration has not changed, look here before touching the agent at all. 3. **Did something change recently?** A deployment, a knowledge source update, a model version bump, a DLP policy edit. "What changed in the last 24-48 hours" answers more incidents than deep debugging does. 4. **Is it actually the agent's configuration or behaviour?** Only once the first three are ruled out does this become a `review-copilot-studio-agent` or `copilot-studio-production-patterns` problem, and by then you likely already know which. ## Recovery: prefer rollback over live debugging under pressure If a recent deployment is implicated, rolling back to the last known-good version is almost always faster and safer than debugging forward while users are affected. This depends on the ALM discipline already being in place - managed solutions, a settings file per environment, tracked versions - which is exactly what `power-platform-alm-connection-refs` covers. An incident is a bad time to discover that discipline was skipped. Resist the urge to make an unrelated improvement while you are in there under pressure. An incident fix should do the smallest thing that restores service; anything else is a second, unreviewed change riding along with the first. ## Communicating while it is still broken Say what you know, what you do not yet know, and when you will next update - on a schedule, not only when you have an answer. A stakeholder who hears nothing for an hour assumes the worst; a stakeholder told "still investigating, next update in 20 minutes" tends to wait calmly. Do not promise a root cause before you have one. "We have restored service by rolling back; we are still confirming what caused it" is honest and usually sufficient in the moment. ## After: turn it into a prevention item, not a war story A postmortem that only describes what happened is entertainment. It is worth doing when it answers, specifically: - What signal would have caught this sooner - and is `monitor-agent-telemetry` actually wired up to produce it, or did this incident just reveal a gap? - What made rollback slow or risky, if it was - usually an ALM or ownership gap that `govern-agent-lifecycle` or `power-platform-alm-connection-refs` would have caught earlier. - One concrete action with a named owner and a date. A postmortem with no owned action item is a postmortem that will recur. ## Do not - Start debugging the agent's own configuration before checking platform and dependency health. It is the most common way to waste the first twenty minutes of an incident. - Treat "it's back up" as resolved without understanding why. A recurrence a week later, unexplained, is worse for trust than the original incident. - Skip the update cadence because there is nothing new to say. Silence is read as "still broken and nobody is working on it" even when that is false. - Let a postmortem end without a named owner on at least one action. Naming nobody is how the same incident happens again. ## Sources Verified as resolving on 2026-08-19. - View service health - Power Platform admin center: https://learn.microsoft.com/en-us/power-platform/admin/view-service-health - Notifications for Business & Industry Copilot services: https://learn.microsoft.com/en-us/power-platform/admin/notifications-explained - Azure Resource Health overview: https://learn.microsoft.com/en-us/azure/service-health/resource-health-overview - Power Platform ALM overview: https://learn.microsoft.com/en-us/power-platform/alm/overview-alm If a link 404s, the page was probably renamed. Say you could not verify it rather than guessing a replacement URL.
Other versions1 project uses a version of this.
Word for word · 1
- RagnarPitla/microsoft-agent-skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 3,978 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository43 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/ask-ragnar.mdcCursor rule
- .cursor/rules/assess-change-blast-radius.mdcCursor rule
- .cursor/rules/choose-agent-platform.mdcCursor rule
- .cursor/rules/copilot-studio-auth-patterns.mdcCursor rule
- .cursor/rules/copilot-studio-knowledge-grounding.mdcCursor rule
- .cursor/rules/copilot-studio-production-patterns.mdcCursor rule
- .cursor/rules/de-slop.mdcCursor rule
- .cursor/rules/discovery.mdcCursor rule
- .cursor/rules/evaluate-agent-quality.mdcCursor rule
- .cursor/rules/explain-concept.mdcCursor rule
- .cursor/rules/govern-agent-lifecycle.mdcCursor rule
- .cursor/rules/ground-agents-in-work-context.mdcCursor rule
- .cursor/rules/migrate-agent-to-skills.mdcCursor rule
- .cursor/rules/monitor-agent-telemetry.mdcCursor rule
- .cursor/rules/plan-agent-capacity-and-cost.mdcCursor rule
- .cursor/rules/power-platform-alm-connection-refs.mdcCursor rule
- .cursor/rules/review-copilot-studio-agent.mdcCursor rule
- .cursor/rules/structured-interview.mdcCursor rule
- .cursor/rules/what-should-i-build.mdcCursor rule
- .cursor/rules/write-a-skill.mdcCursor rule
- ask-ragnarSkill
- assess-change-blast-radiusSkill
- choose-agent-platformSkill
- copilot-studio-auth-patternsSkill
- copilot-studio-knowledge-groundingSkill
- copilot-studio-production-patternsSkill
- de-slopSkill
- discoverySkill
- evaluate-agent-qualitySkill
- explain-conceptSkill
- govern-agent-lifecycleSkill
- ground-agents-in-work-contextSkill
- migrate-agent-to-skillsSkill
- monitor-agent-telemetrySkill
- plan-agent-capacity-and-costSkill
- power-platform-alm-connection-refsSkill
- respond-to-agent-incidentsSkill
- review-copilot-studio-agentSkill
- structured-interviewSkill
- what-should-i-buildSkill
- write-a-skillSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

