Agent skill

Difficult Situations

by manager-dot-dev in 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…

MITAuto-check passedBusiness, Finance & HR

Install Difficult Situations

skills CLI
$ npx skills add manager-dot-dev/manager-skills --skill difficult-situations -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install manager-dot-dev/manager-skills difficult-situations --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/manager-dot-dev/manager-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/difficult-situations .claude/skills/difficult-situations && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
difficult-situations
GitHub stars
114
Token cost
~2.7k tokens
SKILL.md length
1,522 words
Files
2 (incl. references)
Skills in repo
27
Repo updated
First seen
Licence
MIT

At a glance

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…

  • Works in 5 steps: Situation read: what is at stake and who… → Immediate action: what to do first,… → Private follow-up: who needs a 1:1 and… → …
  • The user says dont know how to handle this
  • SKILL.md covers Before Starting, Response Style, How to Use This Skill and Default Response Shape, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Difficult Situations is an agent skill from 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 layoffs (for both those leaving and those staying). Use when the user says "don't know how to handle this," "someone said something inappropriate," "engineer said something offensive," "developer talks badly about my…

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/sources.md`).

It sits in Business, Finance & HR, covering Performance reviews. The repository describes itself as: Skills for engineering managers. The licence is MIT.

When your agent uses it

  • The user says dont know how to handle this
  • Someone said something inappropriate
  • Engineer said something offensive
  • Developer talks badly about my manager

Example prompts

  • “t know how to handle this,”
  • “someone said something inappropriate,”
  • “engineer said something offensive,”
  • “/difficult-situations”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  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.

What it can do on your machine

Read from SKILL.md and the folder at commit c47ebc7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Difficult Situations loads about 2.7k tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 194 tokens; SKILL.md has 1,522 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~194
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from manager-dot-dev/manager-skills at commit c47ebc7, republished under its MIT licence (© manager-dot-dev). 1,522 words, ~2,657 tokens.

Download SKILL.mdSave it as .claude/skills/difficult-situations/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
difficult-situations
description
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 layoffs (for both those leaving and those staying). Use when the user says "don't know how to handle this," "someone said something inappropriate," "engineer said something offensive," "developer talks badly about my manager," "letting someone go when their situation is hard," "I feel guilty about leaving my job," or "handling a layoff." Do NOT use for standard underperformance management (use performance-reviews) or giving direct feedback (use feedback).
metadata.version
2.1.2

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:

  • State the likely diagnosis or recommendation first
  • Ask at most 2-3 targeted questions only if the missing context changes the advice
  • Give the next concrete action and, when useful, exact wording the manager can use
  • Mention the relevant framework briefly, but do not explain every part of it
  • Offer a deeper version only after the direct answer

How to Use This Skill

  • Offensive or inappropriate remark posted in a team channel → Inappropriate Remarks in Team Channels
  • Engineer is venting about or criticizing your manager to you → When an Engineer Talks Badly About Your Manager
  • Letting someone go but their personal circumstances are terrible → Letting Someone Go When the Timing Is Terrible
  • Feeling guilty about leaving your own job → Quitting as a Manager: The Guilt That Comes With It
  • Planning or executing a layoff → Handling Layoffs

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:

  • Don't agree, even if you partly do. Validating criticism of your manager — to a direct report — breaks the chain of trust in both directions. You become the person who talks about your manager with your team.
  • Don't dismiss it either. "I hear that you're frustrated with that decision" is honest. "My manager is fine, you just don't understand" is dishonest and condescending.
  • Redirect toward what's actionable. "I can't speak to what's behind that decision, but I can look into how it affects your work and whether there's a way I can advocate for something different."
  • If there's a genuine grievance, take it seriously. Separately from the conversation, evaluate whether the concern is legitimate. If it is — raise it through the right channels.

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:

  • Be generous on the timeline where possible — a few extra weeks of notice, a longer formal transition period
  • Be generous on the severance or support you advocate for internally
  • Be honest in the conversation: name what isn't working clearly, and be humane in how you frame it
  • Be available after — a good reference, an introduction, a recommendation

What you shouldn't do:

  • Keep someone in a role they're not succeeding in because you feel guilty about their circumstances
  • Avoid the conversation indefinitely while both parties know what's coming

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.


Show full SKILL.md (554 more words)Show less

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:

  • You're not betraying them. Your team members would leave for better opportunities without feeling they were betraying you. You're allowed to do the same.
  • Your replacement will be fine. Teams don't collapse when good managers leave. Strong teams outlast managers.
  • The guilt is a signal of care, not obligation. Feeling it means you took the role seriously. Acting on it by staying in a role that's no longer right for you doesn't serve the team either.

What you owe them:

  • A thoughtful transition — no disappearing act, no pretending nothing is happening
  • Honest conversations with people who deserve to hear it from you directly
  • A strong handoff — documentation, context, introductions

What you don't owe them:

  • Staying indefinitely
  • A timeline that's dictated by guilt rather than what's best for your next chapter

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:

  • Be direct and clear. Tell them in person (or live video). Don't bury the message.
  • Give them what they need to understand what comes next: severance, benefits continuation, timeline, reference availability.
  • End the conversation cleanly. Prolonged attempts to process it together usually make it harder, not easier.

For the people who stay:

  • Acknowledge what happened. Don't act like nothing changed. People who survived a layoff are processing loss and uncertainty — they need honesty about what comes next more than reassurance that everything is fine.
  • Be honest about what you know and what you don't. "I don't know" is more credible than false certainty.
  • Give them space for the grief. Productivity will dip. That's normal.

For yourself:

  • You may be implementing a decision you didn't make and didn't want. That's a real burden. Find a peer or mentor to process it with — outside your team.

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 references/sources.md for the full list of source articles (with links) and books.


  • feedback — Most difficult situations require a direct feedback conversation first
  • performance-reviews — The formal letting-someone-go process lives here
  • managing-yourself — How to lead under pressure and absorb team fear during hard moments
  • 1on1s — The place where most of these situations first surface

© manager-dot-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/difficult-situations of manager-dot-dev/manager-skills.

  • SKILL.md
  • references/sources.md

Open the folder on GitHubat commit c47ebc7

Compare with similar skills

Difficult Situations next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Difficult Situations compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Difficult Situations this skillmanager-dot-dev/manager-skills114—~2.7kAutomated safety check: PassMIT
Wp Performance Reviewelvismdev/claude-wordpress-skills2341 repos~4.5kAutomated safety check: PassMIT
Align Humanagentscope-ai/OpenJudge867—~3.1kAutomated safety check: PassApache-2.0
Performance ReportAffitor/affiliate-skills6981 repos~2.5kAutomated safety check: PassMIT
Run Mv Hoi Reconstructionnvidia-isaac/video_to_data847—~1.5kAutomated safety check: PassCustom licence
Company Analysiszhu1090093659/dsh-trading230—~4.2kAutomated safety check: PassCustom licence

Similar skills

  • Wp Performance Review

    elvismdev/claude-wordpress-skills

    WordPress performance code review and optimization analysis.

    234 GitHub starsUsed in 1 repo~4.5k tokens
    Business, Finance & HRAuto-check passed
  • Align Human

    agentscope-ai/OpenJudge

    A skill your agent uses when the user has a judge/grader and human-labeled data, and wants to measure how well the judge agrees with humans, detect systematic biases, determine whether automatic…

    867 GitHub stars~3.1k tokensUpdated 26 days ago
    Business, Finance & HRAuto-check passed
  • Performance Report

    Affitor/affiliate-skills

    Generate affiliate performance reports with KPIs and recommendations.

    698 GitHub starsUsed in 1 repo~2.5k tokens
    Business, Finance & HRAuto-check passed
  • Run Mv Hoi Reconstruction

    nvidia-isaac/video_to_data

    Run and validate the repository-local multi-view camera calibration and human-object reconstruction pipelines.

    847 GitHub stars~1.5k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Company Analysis

    zhu1090093659/dsh-trading

    A skill your agent uses when the user wants to analyze a listed company, stock, business, or investment target; challenge or revise an existing company report; compare A/H or primary-listing/ADR…

    230 GitHub stars~4.2k tokensUpdated 4 days ago
    Business, Finance & HRAuto-check passed
  • Slurm Pipeline Manager

    CliMA/EnsembleKalmanProcesses.jl

    Scaffold and maintain a SLURM/HPC job-dependency tree for an EnsembleKalmanProcesses.jl (EKP) calibration pipeline.

    127 GitHub stars~3.4k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed

More from manager-dot-dev/manager-skills

All 27 skills in this repo
  • Em Grid Scorer

    manager-dot-dev/manager-skills

    Score an Engineering Manager's coverage across all 12 cells of the EM Grid based on their calendar and Slack.

    114 GitHub stars~5.8k tokensUpdated 5 mo ago
    Auto-check passed
  • Em Context

    manager-dot-dev/manager-skills

    Foundation skill for engineering managers. An agent skill from manager-dot-dev/manager-skills.

    114 GitHub stars~1.6k tokensUpdated 5 mo ago
    Auto-check passed
  • 1on1s

    manager-dot-dev/manager-skills

    Prepares agendas, diagnoses struggling 1:1 relationships, and gives frameworks for running effective 1:1 meetings with direct reports.

    114 GitHub stars~3k tokensUpdated 5 mo ago
    Auto-check passed
  • Business Literacy

    manager-dot-dev/manager-skills

    Explains business financial terms and frameworks for engineering managers — produces term definitions (ARR, COGS, CAC, LTV, gross margin, burn rate, EBITDA, AARRR), translation formulas for making…

    114 GitHub stars~2.4k tokensUpdated 5 mo ago
    Auto-check passed
  • Career Development

    manager-dot-dev/manager-skills

    Helps engineering managers support direct report growth — produces a stage-by-stage model of engineering impact (Circles of Influence), a framework for non-linear career planning (Tarzan Method)…

    114 GitHub stars~2.3k tokensUpdated 5 mo ago
    Auto-check passed
  • Delegation

    manager-dot-dev/manager-skills

    Guides managers out of the bottleneck role — provides the Team Rep pattern, Epic Ownership model, Task-Relevant Maturity framework, kingdom ownership, and three-layer assignment strategy.

    114 GitHub stars~3.3k tokensUpdated 5 mo ago
    Auto-check passed

Questions about Difficult Situations

What does Difficult Situations do?

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…. Difficult Situations is an agent skill from 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 layoffs (for both those leaving and those staying).

When should I use Difficult Situations?

Difficult Situations fits situations like: the user says dont know how to handle this; someone said something inappropriate; engineer said something offensive; developer talks badly about my manager.

How do I install Difficult Situations in Claude Code?

Run `npx skills add manager-dot-dev/manager-skills --skill difficult-situations -a claude-code`. Or copy the skill folder (skills/difficult-situations in manager-dot-dev/manager-skills) into .claude/skills/difficult-situations in your project. Claude Code loads it when a task matches its description.

How do I install Difficult Situations in Codex?

Run `npx skills add manager-dot-dev/manager-skills --skill difficult-situations -a codex`. Or copy the skill folder (skills/difficult-situations in manager-dot-dev/manager-skills) into .agents/skills/difficult-situations in your project. Codex loads it when a task matches its description.

Can I use Difficult Situations in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add manager-dot-dev/manager-skills --skill difficult-situations -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/difficult-situations, .gemini/skills/difficult-situations, .github/skills/difficult-situations and .opencode/skills/difficult-situations in your project.

What does Difficult Situations need to run?

SKILL.md names no scripts, command-line tools or credentials: Difficult Situations is instructions for the agent only.

Does Difficult Situations access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Difficult Situations safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Difficult Situations use?

Difficult Situations is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Difficult Situations use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 121 tokens, read only when the agent opens those files.

What are the alternatives to Difficult Situations?

Skills that share tags, products or a category with Difficult Situations: Wp Performance Review (elvismdev/claude-wordpress-skills, 234 stars), Align Human (agentscope-ai/OpenJudge, 867 stars), Performance Report (Affitor/affiliate-skills, 698 stars) and Run Mv Hoi Reconstruction (nvidia-isaac/video_to_data, 847 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Difficult Situations?

manager-dot-dev (a GitHub organization) maintains it in manager-dot-dev/manager-skills, which has 114 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on May 9, 2026.

Source: manager-dot-dev/manager-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.