Difficult situations

From manager-dot-dev/manager-skills · View interactive version

Difficult situations is an AI agent skill from the GitHub repository manager-dot-dev/manager-skills. Provides situational playbooks for high-stakes edge cases that don't fit the standard management toolkit — produces step-by-step guidance for inappropriate team behavior, an engineer badmouthing your manager, letting someone go when circumstances are hard, manager quitting guilt, and handling layoff

How to use this skill

Skill file

Difficult Situations

Before Starting

Check for EM context first. If .agents/em-context.md exists, read it. If a specific person is mentioned, check .agents/reports/[name].md.

If .agents/em-context.md does not exist, ask for a minimal manager profile first and save it before giving detailed advice: role/title, team size, team mission or ownership area, and current challenge or priority.

If a specific person is central to the conversation and .agents/reports/[name].md does not exist, ask for a minimal profile for that person first and save it before giving detailed advice: title/level, tenure, strengths, and current challenge or growth area.

If the conversation reveals durable new context later, update .agents/em-context.md or .agents/reports/[name].md automatically. Save stable facts and patterns, not guesses, transient frustration, or unresolved interpretations.


Response Style

Keep the first answer concise and useful. Do not dump the whole framework unless the user asks for depth.

Default to:


How to Use This Skill


Default Response Shape

For difficult situations, prioritize safety, clarity, and sequence:

  1. Situation read: what is at stake and who could be harmed.
  2. Immediate action: what to do first, especially if delay sends the wrong signal.
  3. Private follow-up: who needs a 1:1 and what to say.
  4. Documentation / escalation: what to record and when to involve HR, legal, or leadership.
  5. Repair path: how to stabilize trust after the acute moment.

If the situation may involve harassment, discrimination, threats, layoffs, or termination, advise involving the appropriate company process rather than improvising alone.


Inappropriate Remarks in Team Channels

When something offensive or inappropriate is posted in a team channel — a homophobic remark, a racist joke, a comment that demeans a colleague — you have to act. Not acting is a decision too, and the team is watching.

What to do:

  1. Don't ignore it or wait. The longer you wait, the more the silence reads as endorsement.
  2. Address it in the channel first, briefly. Something like: "That's not the kind of thing we share in this space." Keep it short and non-escalating in public.
  3. Follow up 1:1 with the person who posted it. Don't pile on publicly, but the private conversation needs to happen. Be clear about what the expectation is going forward.
  4. Check in with anyone who may have been affected. A quick, private message — not a formal HR conversation, just: "I saw that and I want you to know it's not acceptable and I'm handling it."

The goal is to protect the team environment without creating a public shaming event. Both things matter.


When an Engineer Talks Badly About Your Manager

A developer tells you in a 1:1 that your manager is incompetent, made a bad call, or is screwing over the team. Or they say it in a way that's clearly trying to get you to take a side.

This is a loyalty test dressed as a venting session.

What to do:

The line is: you can think critically about your manager's decisions. You can't commiserate about them with your reports.


Letting Someone Go When the Timing Is Terrible

The engineer is a father of four. They just bought a house. Their spouse is dealing with a health issue. You know about it all.

There is no clean version of this. The decision about whether to let someone go should be made on whether they're in the right role — not on the circumstances of their personal life. If you make exceptions based on personal circumstances, you'll never be able to make this call, and the team and the individual both pay the price of the right decision being deferred indefinitely.

What you can do:

What you shouldn't do:

The hardest version of this job is making a decision you know is right while knowing it's going to hurt someone. That discomfort doesn't go away. Carrying it is part of the role.


Quitting as a Manager: The Guilt That Comes With It

When a manager leaves a job, the guilt structure is different from when an individual contributor leaves.

You feel responsible for your team — people who trusted you, whose careers you influenced, some of whom joined because of you. Leaving feels like abandonment, especially if the team is mid-project, mid-difficulty, or in a period of instability.

Some honest realities:

What you owe them:

What you don't owe them:


Handling Layoffs

Layoffs are logistically and emotionally hard. Some things that reduce the harm:

Why secrecy during planning is necessary — and painful. You can't communicate details you don't yet have. In the absence of specifics, people fill the void with fear. Premature disclosure creates ruptures that can be permanent. This secrecy is uncomfortable but it protects people from worse outcomes.

Be a fair witness to the difficulty. It feels arbitrary and unfair — because it often is. People who didn't contribute to the business problem lose their jobs because of it. That's genuinely hard, and feeling bad about it is appropriate. What's not appropriate is letting that feeling drive decisions about who stays and goes (see "Letting Someone Go When the Timing Is Terrible" above).

For the people being let go:

For the people who stay:

For yourself:


Dive Deeper

If the user asks where a framework came from, wants to read the original article, or wants more context on any topic in this skill — read CODE0 for the full list of source articles (with links) and books.


Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.