Ask human

From FriendlyInternet/nuxt-crouton · View interactive version

Ask human is an AI agent skill from the GitHub repository FriendlyInternet/nuxt-crouton. Emit a blocking question the owner can read in ~10 seconds and answer in one reply โ€” the scannable, recommendation-first handoff every agent posts when it hits a fork it can't own. Leads with the one decision + a recommendation, carries the ๐Ÿค– provenance header, doubles as the #639 resume brief. Use

How to use this skill

Skill file

Ask the human โ€” the scannable, one-decision handoff

You hit a fork. First apply the decide-vs-ask test (AGENTS.md โ†’ *Deciding vs

asking*): ask only when it's irreversible/expensive and not derivable and

genuinely the human's call. If any one fails โ†’ decide + log a Decisions-log line and

keep moving. Don't reach for this skill to dodge a call you can make.

If it is ask-worthy, this skill is how you ask well. The owner may be holding ~20

async threads on their phone: the comment must be graspable in ~10 seconds,

self-contained (a fresh session resumes from it with zero memory โ€” #639), and it must

always propose an answer. Never post a naked "what do you want?".

The template

Post this as a top-level issue comment (add_issue_comment) โ€” never a PR review body

(the owner misses those, #846). One decision per comment; batch related questions into it.

Before any of this: could you just DO your own recommendation?

If your recommended option is something you are permitted and able to do, and doing it

is reversible, then it is not a question โ€” **do it, log the assumption, and report the

result.** The AGENTS.md decide-vs-ask test has three conditions and this fails at least

two of them.

The failure looks like this (FRI-584, verbatim):

A) Ride apps/velo staging โ€ฆ Reply here with the preview URL if one's already live,

or say "deploy velo staging with review on" and a follow-up run will do it. _(recommended)_

B) Pick one of the three in-flight sibling PRs and redeploy that branch โ€ฆ

Reply: A or B

The issue was "produce a walkable preview URL". The deliverable was the link. Both

options are ordinary staging deploys โ€” reversible, mechanical, no taste involved โ€” and the

agent could dispatch either. Asking converted a five-minute action into a round-trip, and

handed back a wall of setup choices instead of the one thing that was wanted.

Rule: an ask whose options are all things you could have done is not an ask. Pick the

recommendation, do it, and report. Ask only about the part you genuinely cannot resolve โ€”

and if the whole task turns out to be blocked by something structural, that is a `Needs:

action` hold naming that, not a menu.

First: which of the THREE shapes is this? (#2067)

A hold is not always a question. State which, on line 2, with a mandatory **Needs:**

line โ€” the gate reads it to word the follow-up, and guessing is what broke #2054:

| Needs: | You are asking the owner to | Typical cause |

|---|---|---|

| answer | pick between real options | a genuine fork โ€” taste, priority, product intent |

| action | do something you are not permitted to | .github/workflows/** (the App token can't write it, #1076) |

| approval | review a diff or a preview | the UI / schema / test sign-off gates |

Getting this wrong tells the owner to answer a question that was never asked. #2054 posted

a patch-to-apply under the question shape, and the gate dutifully announced *"asked you a

question"* above 4,372 characters containing no question.

The one hard layout rule

Everything that is not the ask goes inside <details>. The visible part is ~10 lines:

heading, provenance, Needs:, recommendation, reply instruction. Patches, diffs, findings,

status, stack traces โ€” all collapsed. Context and findings are welcome; they must not sit

in front of the ask. The owner is on a phone holding twenty threads.

`Needs: answer` โ€” a real fork

## ๐Ÿ”€ Blocked โ€” <the one decision, in one line>
> ๐Ÿค– **Claude Code** ยท interactive agent ยท posted from `@pmcp`'s account (not Maarten) ยท _<one-line context>_
**Needs:** answer

**Recommend <X>** โ€” <why, one line>
**Reply:** `A` or `B` ยท your reply spawns a fresh session that resumes from THIS ticket

<details><summary>Options + context</summary>

- **A) <label>** โ€” <consequence> _(recommended)_
- **B) <label>** โ€” <consequence>

**Why it came up:** <what cannot proceed until this is answered>
**Status:** <what's done ยท `branch-name` pushed? ยท what's NOT done>
**Don't lose:** <decisions/assumptions the next agent must carry forward>
</details>

`Needs: action` โ€” you cannot do it; the owner must

## ๐Ÿ”€ Blocked โ€” <the one thing to DO, in one line>
> ๐Ÿค– **pi.dev harness** ยท agent pipeline (CI) ยท _<one-line context>_
**Needs:** action โ€” apply the patch below

**Why me and not you:** <the permission//tooling reason, one line>
**Reply:** comment here when applied ยท that resumes the work in a fresh run

<details><summary>The patch (apply as-is)</summary>

<the diffs โ€” however long; they live here, never in the body>
</details>

`Needs: approval` โ€” a sign-off gate

## ๐Ÿ”€ Blocked โ€” <what you're being asked to look at, in one line>
> ๐Ÿค– **pi.dev harness** ยท agent pipeline (CI) ยท _<one-line context>_
**Needs:** approval

**Reply:** `ok` to release (or `not ok: what's wrong`) ยท anything else is a change request

<details><summary>What changed + evidence</summary>
โ€ฆ
</details>

Rules that make it work:

being asked, and what does the agent suggest?" with no scrollback.

agents post under @pmcp's account โ†’ use the "not Maarten" disclaimer above. A bot-account

pipeline comment uses > ๐Ÿค– **<tool>** ยท agent pipeline (CI) ยท _<context>_ instead (no

@pmcp disclaimer โ€” it'd be false).

(NOTIFY_HANDLE). Pure FYIs get no mention โ€” and note the mandatory provenance disclaimer

writes the handle in a code span (` @pmcp `) precisely so it names the account

without notifying. GitHub linkifies mentions inside blockquotes and <details> too; code

spans and fenced blocks are the only places it doesn't. (#2081: 17 of the last 29

notifications were that disclaimer line and nothing else.)

must still be open โ€” never send them to a merged/closed one (the #2039 case). If it's gone,

name the open PR that replaced it, or say plainly that the target is gone. When the change has

a per-PR preview (<app>-pr<N>, its URL is in the PR's ๐Ÿš€ preview comment, #2020), point

there, not at shared <app>.pmcp.dev staging โ€” staging may not contain the change yet. The

require-live-review-target hook refuses a dead PR in the **You:** line on the MCP comment

path; when posting with gh (CI, shell), run node scripts/review-target.mjs <body-file>

first โ€” it exits 1 with the reason.

and name that branch under Status โ€” an unpushed worktree is lost on stop (#639).

Attach the right medium

Prose is the fallback, not the default. If the question is visual or structural, a

paragraph is the wrong channel โ€” the owner shouldn't have to reconstruct a layout or a data

model in their head. Attach the artifact that shows it, and let them reply *on the artifact

itself* (the reply loop is WS5, #1191). We already own every medium โ€” pick by what the question

is, not by habit.

| Your question is aboutโ€ฆ | Attach (medium) | Produce it with | Owner replies by |

|---|---|---|---|

| How it looks / feels (a rendered UI, spacing, copy, states) | live preview | ui-proposal (staging deploy, NUXT_PUBLIC_CROUTON_REVIEW=true) โ€” or a screenshot if no runnable app | pinning feedback on the preview โ†’ ๐ŸŽฏ Preview feedback comment naming the file; or A/B |

| One screen / one state (a single view, an error, a before/after) | screenshot | node scripts/app-shots.mjs <baseUrl> <path[:name]> โ†’ screenshots/<name>.png | commenting / A/B |

| A flow or interaction (multi-step, timing, motion) | short video | demo-video (WebM storyboard) | commenting |

| The data model (fields, types, relationships) | schema render | schema-review (โ†’ PNG/HTML/MD) | inline comment on the committed .md; or A/B |

| Structure / status / dependencies (what depends on what, where the tree is) | diagram | ticket-diagram (Excalidraw on the epic) | editing the Excalidraw โ†’ scripts/ticket-excalidraw-import.mjs round-trips it back; or A/B |

| A tradeoff / priority / naming (no visual or structural surface) | prose | the block above | A/B/ok |

Rules:

medium that answers this question fastest and link it from the blocking comment.

recommendation in text โ€” the artifact is the evidence, the block is the ask.

gotchas; invoke it, don't hand-roll a render.

copy tweak), fall back to a screenshot or prose โ€” match the effort to the stakes.

Why this shape

main) continues from the branch + comment without re-deriving or diverging (#639).

This extends #639 (the handoff block) โ€” it doesn't replace it. #639 gave the block its

state/after/don't-lose fields; this adds the scannable lead + the always-a-recommendation

rule and packages it so every agent emits the same shape.

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.