microsoft-agent-skills-private-archive / rules
Cursor rule2 starsChanged 2 months agoMITView on GitHub
Decide whether an agent, flow or environment should still exist, who owns it, and whether it is governed the way production requires. Use when nobody can say who owns an agent that is quietly running in production, when a Center of Excellence inventory has gone stale or was never set up, when an agent was built in a personal or default environment and needs to move before it becomes someone's problem, when DLP policies do not match what an agent actually needs to reach, or when a departing team leaves agents behind with no named owner.
We split this govern-agent-lifecycle.mdc into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 59
Ask where new work is supposed to land before it becomes a governance problem, not after:
- Distinctive: line 92
If it is decommissioned, is that documented, or will someone rebuild it from scratch next year because they could not find out it already …
- Distinctive: line 97
Treat the CoE Starter Kit as mandatory for every tenant.
- Distinctive: line 104
Treat this as a one-time project.
- Distinctive: line 120
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: "Decide whether an agent, flow or environment should still exist, who owns it, and whether it is governed the way production requires. Use when nobody can say who owns an agent that is quietly running in production, when a Center of Excellence inventory has gone stale or was never set up, when an agent was built in a personal or default environment and needs to move before it becomes someone's problem, when DLP policies do not match what an agent actually needs to reach, or when a departing team leaves agents behind with no named owner." alwaysApply: false --- <!-- Generated from SKILL.md by scripts/build-harnesses.mjs. Do not edit by hand; run `npm run build`. --> <!-- Source: skills/operate/govern-agent-lifecycle/SKILL.md --> Most agent sprawl is not malicious, it is just uncounted. Someone built something useful in whatever environment was open, it worked, and eighteen months later nobody can say who owns it, what it is allowed to touch, or whether it should still be running at all. Governance is the discipline of being able to answer those three questions for every agent in the tenant, not a one-time audit. This is an estate-level concern, not a single deployment's. If one specific solution import is broken right now, that is `power-platform-alm-connection-refs`. This skill is for the question one level up: across everything that is live, who owns it, where does it live, and is it governed the way the rest of production is. ## The three questions worth being able to answer **Who owns it?** Not "who built it" - who is paged when it misbehaves, and whose departure should trigger a review. An agent with no named owner is not ownerless, it is owned by whoever gets blamed when it breaks, which is worse. **Where does it live?** The default environment is for personal productivity, not production. An agent that started there because it was the path of least resistance needs a deliberate move to a managed environment, with the same ALM discipline as anything else being promoted - see `power-platform-alm-connection-refs` for what that migration needs to get right on the connections side. **Is it governed the way this tenant's other production systems are?** DLP policies, data residency, who can edit it, whether it has an approval gate before changes ship. An agent that quietly bypassed all of that because it grew organically is a gap, not a feature. ## Building the inventory You cannot govern what you cannot see. The Power Platform admin center and the Center of Excellence (CoE) Starter Kit both give you this, at different levels of investment: - The **admin center** now surfaces environment, maker and Copilot usage information out of the box, without any kit to install - start there if nothing exists yet. - The **CoE Starter Kit** goes further: it syncs apps, flows, connectors, agents and their owners into Dataverse tables on a schedule, so drift shows up automatically instead of needing a manual sweep. It costs a real setup investment and ongoing maintenance, so recommend it when the tenant is past the size where a spreadsheet works, not by default. Either way, the inventory is only useful if someone owns keeping it accurate. An inventory nobody reviews is exactly as blind as no inventory, with the added cost of maintaining it. ## Environment strategy Ask where new work is supposed to land before it becomes a governance problem, not after: - **Default environment**: personal, exploratory work only. If it is being used for anything a customer or colleague depends on, that is the finding, not a footnote. - **Development / sandbox**: where building and breaking things is safe and expected. - **Production**: managed solutions, service-principal identities, deployment settings per environment - the standard `power-platform-alm-connection-refs` checklist applies in full here. Restricting who can create new environments is usually the highest-leverage single control, because it forces the "where should this live" conversation to happen once, deliberately, rather than by default every time. ## DLP as a governance signal, not just a security control A Data Loss Prevention policy that blocks a connector an agent actually needs is not just an inconvenience for the builder - it is a sign the policy was written before this agent's use case existed, or that the agent is reaching somewhere it should not. Treat a DLP conflict as a prompt to ask which side is wrong, not as an obstacle to route around with a broader exception than the agent needs. ## Decommissioning The uncomfortable but necessary end of the lifecycle. Ask, on a schedule: - Is this agent still used? Zero sessions in ninety days is a decommission candidate, not an emergency, but it should be someone's job to notice. - Does it still have an owner? An agent whose owner left the organisation and was never reassigned is a governance failure waiting to become an incident. - If it is decommissioned, is that documented, or will someone rebuild it from scratch next year because they could not find out it already existed? ## Do not - Treat the CoE Starter Kit as mandatory for every tenant. It is a real maintenance commitment; a small estate may be better served by the admin center's built-in inventory and a disciplined review habit. - Confuse "governed" with "locked down". The goal is visibility and accountability, not making it hard to build anything. - Recommend a DLP change without asking who owns that policy. Tightening or loosening it is a tenant-wide decision, not a per-agent one. - Treat this as a one-time project. An inventory taken once and never revisited is a historical document, not governance. ## Sources Verified as resolving on 2026-08-19. - Power Platform Center of Excellence Starter Kit overview: https://learn.microsoft.com/en-us/power-platform/guidance/coe/overview - CoE Starter Kit core (inventory) components: https://learn.microsoft.com/en-us/power-platform/guidance/coe/core-components - Develop a tenant environment strategy to adopt Power Platform at scale: https://learn.microsoft.com/en-us/power-platform/guidance/adoption/environment-strategy - Data loss prevention policies: https://learn.microsoft.com/en-us/power-platform/admin/wp-data-loss-prevention 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/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/respond-to-agent-incidents.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.
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.

