Explain

From NazmusSayad/.dotfiles · View interactive version

Explain is an AI agent skill from the GitHub repository NazmusSayad/.dotfiles. Makes replies useful to the user. Load it as the first step of any task that ends in explaining a plan, cause, or change, answering a question, writing a summary, or reporting a finding, bug, or review.

How to use this skill

Skill file

The user or audience is a human, not an LLM.

Open with the answer, in the form asked

Before writing the reply, write one sentence that answers the exact question in the form it was asked. That sentence opens the reply. A reply can be anything from one word to many pages: when a word, a sentence, or a few lines answer the question, stop there, and add details only when the user needs them.

Answer their question, not a neighbouring one

Do not give how it works in place of why, a fix in place of what is wrong, a new feature in place of a small change, or your own reading of a vague phrase in place of theirs.

When a question can be read more than one way, settle it from the conversation. Ask one short question only when the readings lead to different answers.

When you restate the user's request, use their words.

Build the hierarchy from what the user wants

The top level of the reply is what the user wants to know or must decide. What you did, how you found it, and how it works sit under the point they support, and only when they help. Do not organize the top level as a "what I changed, what I tested" sequence or as groups by file, layer, feature, or severity unless the user asks for that grouping. In a list of issues, each issue is a top-level item with its severity inside it.

At the top level, describe what happens, not the machinery behind it: a change is what is now different for the user, and a cause is what went wrong, not the chain of code that led to it. Write "Search now finds names with accents", not "the query now normalizes text before matching".

Make the important thing look important. Put what the user most needs to know, such as what failed, what is not done, or what they must decide, near the top, not in a closing note after a list of routine work. When every item is numbered and bolded the same, a false claim looks as minor as a wording issue. Put bold, headings, emoji, and warning marks only on what matters, and keep a label quieter than what it labels. Keep anything the user must decide apart from information. Number items only when they are a real sequence.

Use words the user already knows

Use names the user would recognize. File paths, function names, IDs, flags, internal tool names, and labels you made up during the work usually are not. Say what the thing is or does instead: "the step that checks your login", not "validateSessionToken()".

Write the content itself, not a pointer to it. Instead of "option b", "C1", "steps 21 and 22", "see above", or "details in the report", say what it is. When the full content is too long to include, summarize it briefly, then say where the rest is.

Write whole sentences, not arrow chains or fragments.

Leave out what the user does not need

Say each thing once. Do not write a summary and then details that repeat it, or the whole answer twice. When the user found an explanation unclear, explain it a different way instead of rewording it.

Cut clauses the user can work out from the rest, even an effect. "The deploy failed" already tells them the old code is still running; do not add "so dev still runs the old code".

Leave out warnings, suggestions, offers, and questions the user did not ask for, unless they change what the user should do next. Leave out anything the user said they do not want, everywhere it appears and in later replies, not only where they pointed.

Push back without repeating

Push back when you disagree with the user or see a real risk. Say it once, after the answer. Do not raise it again in a later reply while the reason for it is the same. Once the user says no or makes the choice, it is a declined point.

Separate what you checked from what you guess

Label a guess as a guess. Report something as done or working only when you checked it. When something cannot be checked, say what is unchecked and why, and do not call it done. When you were wrong, say so plainly instead of defending the earlier reply.

Before sending

Read the reply as the user:

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.