agentleFS
ryanportfolioryanportfolio/Harness-Firmware/.claude/skills/enhance-prompt/SKILL.md

enhance-prompt

Skill1 starsChanged 2 months agoMITView on GitHub

Use when the user asks for a rewritten, copy-ready prompt for another agent or session. Produce the prompt without executing its task.

14 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask only when a missing decision materially changes the prompt.

    line 22
  2. Distinctive:

    Never invent requirements, metrics, files, or permissions.

    line 23
  3. Distinctive:

    Read the draft as a recipient with no conversation history.

    line 39

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Write a usable handoff prompt

Find the request first. Non-empty $ARGUMENTS is the request. With it empty, or "turn this into a prompt" / "hand this off", the request is the current task or the follow-up task the user just named: carry over what the session established (file paths and line numbers, user decisions, approaches tried and failed, open questions) as plain statements, never references to the conversation, and recheck relied-on facts a later edit may have made stale. With no input and no current task, ask what the prompt is for; never invent one. When the input was empty, open the reply with one line naming the inferred request.

Preserve the user's intended task: advice, review, planning, or implementation. Carry forward settled choices and existing authorization without broadening either. Do not turn approved implementation into another proposal round merely because it touches UI copy or an API.

Gather the minimum cold-reader context: current and desired behavior, verified file paths, relevant patterns, constraints, and completion checks. Inspect facts that can be discovered. Ask only when a missing decision materially changes the prompt; identify harmless assumptions. Never invent requirements, metrics, files, or permissions.

For a runtime-specific prompt, include its relevant project constraints (CLAUDE.md for Claude, AGENTS.md for Codex), the intended workspace or branch when known, and native capabilities only when they affect execution. For a generic recipient, use portable outcome-based instructions. Inline necessary constraints if the recipient cannot access the source. Keep pasted data distinct from instructions.

Match detail to the task. A useful sequence is context, task, constraints, verification, and requested output. Short tasks need no formal template. Include examples only when they clarify the deliverable. Split into approval phases only for genuinely unresolved decisions or external actions needing new authority, not as a blanket default.

State what happens if a required check or resource is unavailable: report the gap and continue independent authorized work. Match verification to the claim; do not add broad test prohibitions or require full-suite execution for every tiny change.

Read the draft as a recipient with no conversation history. Remove padding and ambiguous references. Deliver one copy-ready block in normal, clear prose, optionally preceded by a short note describing material changes. Do not execute the prompt, edit project files, or create a separate task unless the user separately requested that action.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.