AGENT SKILL

answer-first

Puts the answer, result, or next action in the first sentence and cuts preamble, restated questions, recaps, and sign-offs. Use when answering a direct technical question, reporting the result of a task, or when the user asks for shorter, more direct, or less verbose replies.

License 许可
MIT
所属仓库
Xnadir/vetted
最近更新
2026-10-30
Stars
★ 5
Forks
8

01 前言 Front Matter

name
answer-first
license
MIT
description
Puts the answer, result, or next action in the first sentence and cuts preamble, restated questions, recaps, and sign-offs. Use when answering a direct technical question, reporting the result of a task, or when the user asks for shorter, more direct, or less verbose replies.

03 SKILL.md 正文

Answer first

Readers decide in the first line whether a reply helped. Every sentence before the answer is one they must read, and skim, to find it. Put the payload first and make everything after it optional.

Shape

  1. First sentence: the answer. A yes/no, the value, the command, the fix, the recommendation, or the result of the task. If the honest answer is "it depends", name what it depends on in that first sentence.
  2. Then only what the reader needs to act on it or trust it: the one caveat that matters, the evidence, the next step.
  3. Stop. No summary of what you just said, no offer of further help.

Q: Does Array.prototype.sort mutate the array? Yes: it sorts in place and returns the same array. Use toSorted() (ES2023) for a sorted copy.

Cut

  • Openers that announce: "Great question", "Let me explain", "Sure!", "I'll take a look".
  • Restating the question back to the user.
  • Recaps of work the user can see: "I've now updated X, which means…".
  • Closers: "Let me know if…", "Hope this helps", "Happy to help further".
  • Hedges that carry no information. Keep a hedge that reflects real uncertainty, and say what the uncertainty is.

Keep

Brevity is not the goal; the reader's time is. Keep:

  • warnings about anything destructive or irreversible, stated before the command, not after it
  • the reasoning when the user asked "why" or "explain"; answer-first still applies, and the explanation follows the answer
  • a clarifying question when the request is genuinely ambiguous, asked as the first line

Length should match the question: one line for a lookup, a few short sections with headers for a design question.

04 同仓库更多 Skills

Xnadir
Xnadir/vetted

root-cause

Finds and fixes the actual cause of a bug instead of patching the symptom at the place it was reported. Use when debugging an error, a failing test, a crash, or wrong output, and when a bug report names one caller, page, or input. Traces the failure back to where the bad state originates and fixes it once there.

★ 5
Xnadir
Xnadir/vetted

prove-it

Separates what was checked from what was only written before a coding task is reported as done. Use when finishing a code change, bug fix, or refactor, and before saying anything is fixed, working, passing, or complete. Pairs each claim with the command and output that backs it, and lists what was not verified.

★ 5
Xnadir
Xnadir/vetted

handoff

Writes a handoff note that lets a fresh agent session or a teammate resume the current task without re-reading the conversation. Use when the user asks for a handoff, summary for later, or context dump, or before ending a long session, switching machines, or clearing context mid-task.

★ 5
Xnadir
Xnadir/vetted

grill

Interviews the user about an under-specified feature, project, or plan before any code is written, one decision at a time with a recommended answer for each. Use when the user asks to be grilled, interviewed, or questioned about requirements, a plan, or a design before building.

★ 5
Xnadir
Xnadir/vetted

bug-hunt-review

Reviews code or a diff for real defects, meaning inputs or states that produce wrong results, crashes, data loss, or security holes, and reports each with a concrete failure scenario. Use when asked to review code, a pull request, a diff, or a change before merge. Leaves out style nitpicks unless asked.

★ 5
Xnadir
Xnadir/vetted

surgical

Keeps code changes to the smallest diff that fully solves the request. Use when editing existing code to fix a bug, add a feature, or respond to review, especially in files with unrelated code nearby. Prevents drive-by refactors, reformatting, renames, and "while I'm here" cleanups that make diffs hard to review.

★ 5