Skip to content
Back to skills

Problem First Explanation

ASecurity

Structures explanations of tools, methods, concepts, rules, and proposals by leading with the concrete problem. Use when explaining a solution; not for whole-document structure (use documentation).

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 11, 2026
ai-agentsgoapidocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add fabiandistler/agents --skill problem-first-explanation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Problem First Explanation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Problem First Explanation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fabiandistler-problem-first-explanation/badge)](https://www.skillsdirectory.com/skills/fabiandistler-problem-first-explanation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: problem-first-explanation
category: communication
environments: coding, chat
description: Structures explanations of tools, methods, concepts, rules, and proposals by leading with the concrete problem. Use when explaining a solution; not for whole-document structure (use documentation).
metadata:
  version: "1.0"
---

# Problem-First Explanation

Never explain a solution before the reader knows what problem it solves: Problem → Solution → Application.

## When to use

Apply when the subject exists to solve a problem.

- Writing or editing a README, package description, design rationale, or ADR motivation.
- Explaining a concept, method, tool, or rule from any field — "explain X", "what is X", "why do we use X", "what is X for".
- Preparing a lesson, tutorial, talk, workshop, or onboarding material.
- Writing a proposal, request, or justification — the change being proposed is the solution; the reader needs the problem it removes.
- Reviewing an explanation that feels abstract or hard to follow — the diagnosis is usually a missing problem statement.

Do **not** invoke for:

- Pure reference material (parameter tables, spec sheets, glossaries, API docstrings and roxygen blocks) and how-to guides whose title already names the problem. Keep API docstrings and roxygen blocks reference-first. Add at most one clause on why in `@details` or the long description when the reader cannot infer it.
- Content that does not answer a problem — a narrative, a news summary, a description of what happened.
- Answers where the reader is living the problem right now ("my build fails with…", "the wheel nut won't come loose"). Name the problem in one sentence and go straight to the solution; re-staging a pain the reader already feels is padding.

## The three-step structure

### 1. Problem (concrete, not abstract)
Describe the **specific situation** that creates a need. Use a scenario, a symptom, or a pain point — not a category.

- ✗ "When you need to add behaviour to a class..." (too vague to anchor the explanation)
- ✓ "You have an Order class with a `format()` method. Marketing wants to optionally add a gift-wrap note, a discount banner, and a tracking link to a confirmation — in any combination. Subclassing produces an explosion of OrderWithGiftNote, OrderWithBanner, OrderWithGiftNoteAndBanner..." (concrete, the reader feels the pain)

### 2. Solution (conceptual, named)
Introduce the concept as a **direct response** to the pain just described. Name it. State what it does in one sentence. Do not yet show the details.

- ✗ "There is a pattern called Decorator that wraps objects..." (definition before the problem).
- Give readers the scenario and concept before a code listing, spec table or list of use cases.
- ✓ "The Decorator pattern solves this: instead of subclassing, you wrap the original `Order` in decorators (`GiftNoteDecorator`, `BannerDecorator`) that each add one embellishment around the original `format()`. Any combination is a stack of wrappers, not a new subclass." (links solution to pain)

### 3. Application (concrete how)
Now show how it is used — whatever form the "how" takes in the domain: code or a signature, a sequence of steps, a worked calculation, a diagram, the exact wording of a request, the decision the reader now has to make. The reader has the mental model already, so this part reads as "of course, that follows".

## Before / after

Question: "What is a torque wrench?"

Before (definitional): "A torque wrench measures applied torque in newton-metres. It has a scale, a ratchet head, and an audible click mechanism. Calibration matters."

After (problem-first): "You are putting the winter wheels on. Too loose and a nut works itself off at speed; too tight and you stretch the stud. You cannot feel newton-metres. A torque wrench removes the guesswork: set the manual's value and it clicks the moment you reach it. Look up the value, set the scale, tighten crosswise until the click, stop at the first click."

## Minimum viable check

After the first paragraph the reader can answer: what concrete situation does this solve, and what the solution is called plus what it does in one sentence. If either is no, restart from step 1.

Files in this skill

  • SKILL.md5.3 KB
  • evals.json389 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.